[U-Boot] [PATCH v2 3/8] lpc32xx: i2c: add LPC32xx I2C interface support

Simon Glass sjg at chromium.org
Sun Feb 15 22:48:49 CET 2015


Hi Albert,

On 13 February 2015 at 04:20, Heiko Schocher <hs at denx.de> wrote:
> Hello Albert,
>
> Am 13.02.2015 12:09, schrieb Albert ARIBAUD:
>>
>> Hi Heiko,
>>
>> Le Fri, 13 Feb 2015 11:48:26 +0100, Heiko Schocher <hs at denx.de> a
>> écrit :
>>
>>> Hello Albert,
>>>
>>> Am 12.02.2015 18:37, schrieb Albert ARIBAUD (3ADEV):
>>>>
>>>> Signed-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud at 3adev.fr>
>>>> ---
>>>>
>>>> Changes in v2: None
>>>>
>>>>    arch/arm/cpu/arm926ejs/lpc32xx/devices.c      |  11 ++
>>>>    arch/arm/include/asm/arch-lpc32xx/clk.h       |   4 +
>>>>    arch/arm/include/asm/arch-lpc32xx/cpu.h       |   2 +
>>>>    arch/arm/include/asm/arch-lpc32xx/sys_proto.h |   1 +
>>>>    drivers/i2c/Makefile                          |   1 +
>>>>    drivers/i2c/lpc32xx_i2c.c                     | 249
>>>> ++++++++++++++++++++++++++
>>>>    6 files changed, 268 insertions(+)
>>>>    create mode 100644 drivers/i2c/lpc32xx_i2c.c
>>>
>>>
>>> Acked-by: Heiko Schocher <hs at denx.de>
>>>
>>> Do you have a chance to use DM on this HW?
>>
>>
>> I am using it for GPIOs already. I guess you would like I2C to use it
>> too?
>
>
> Yes, if it is possible for you to convert the driver to it, that would
> be great!
>
> DM is the future ;-)

It is fairly straightforward for I2C now. There is no detailed
documentation but i2c.h explains the methods and you can see examples
with tegra, sandbox and samsung (s3c24x0.c).

Regards,
Simon


More information about the U-Boot mailing list