[i2c] [PATCH 1/1] I2C pxa fast mode (400khz) support
Jonathan Cameron
jic23 at cam.ac.uk
Sun Jul 13 17:40:27 CEST 2008
eric miao wrote:
> On Thu, Jul 10, 2008 at 9:31 PM, Ben Dooks <ben-linux at fluff.org> wrote:
>> On Wed, Jul 02, 2008 at 04:26:40PM +0100, Jonathan Cameron wrote:
>>> Add fast_mode option to i2c_pxa_platform_data and use it to set the ICR_FM bit
>>> appropriately when i2c_pxa_reset is called. Parameter called fast_mode rather
>>> than frequency as this driver is also used for the i2c_pxa_pwr bus which has
>>> different normal and fast frequencies.
>>>
>>> Signed-off-by: Jonathan Cameron <jic23 at cam.ac.uk>
>> Unfortuantely due to the problem of all the registers in
>> one place, this really will need to be applied by RMK. However
>> due to the current amount of work in the PXA tree, and the
>> number of patches he is carrying for merging this is going
>> to be too late for this kernel merge.
>>
>
> Actually, this round of separation work of the pxa-regs.h has been
> done several weeks ago, so I don't see this patch is likely to
> cause any merge conflict.
>
> But Russell is going to freeze the pxa branch, I see little chance
> this be fixed quickly and get into :(
>
Dear all, thanks for the comments.
I'll switch the use_pio and fast_mode flags to bit fields and resend
when next kernel merge begins.
As I'm maintaining rather a lot of platform specific stuff anyway for
my use, one more won't do any harm for a few weeks!
Cheers,
--
Jonathan Cameron
More information about the i2c
mailing list