[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87wq4e7jqy.fsf@dell.be.48ers.dk>
Date: Thu, 22 Jan 2015 19:28:21 +0100
From: Peter Korsgaard <peter@...sgaard.com>
To: Wolfram Sang <wsa@...-dreams.de>
Cc: Max Filippov <jcmvbkbc@...il.com>,
Peter Korsgaard <jacmet@...site.dk>, linux-i2c@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] i2c-ocores: add common clock support
>>>>> "Wolfram" == Wolfram Sang <wsa@...-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists