lkml.org 
[lkml]   [2015]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] i2c-ocores: add common clock support
Date
>>>>> "Wolfram" == Wolfram Sang <wsa@the-dreams.de> writes:

>> The clock here is not the i2c bus clock, but the clock input of the

> Yes, what I would expect from a clk-property :)

>> controller. The function ocores_init initializes the prescaler register of
>> the controller so that the bus clock equals 100kHz (internal clock
>> runs at 500kHz):

> 'clock-frequency' usually describes the I2C bus speed. So, for ocores,
> it describes speed of the clock for the controller? That would be
> ouch...

Indeed :/

Looking back in the history, the device tree patch originally used a
custom "clock_khz" property until some guy told him to use
clock-frequency ;)

https://lists.ozlabs.org/pipermail/devicetree-discuss/2010-November/003650.html

As far as I can see I wasn't CC'ed on that patch.

--
Bye, Peter Korsgaard


\
 
 \ /
  Last update: 2015-01-22 19:41    [W:0.902 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site