[PATCH] ARM: sun4i: cubieboard: Enable the i2c controllers
Emilio López
emilio at elopez.com.ar
Thu May 2 10:03:01 EDT 2013
Hi Arnd,
El 02/05/13 10:43, Arnd Bergmann escribió:
> On Thursday 02 May 2013 09:37:46 Emilio López wrote:
>> The Cubieboard makes use of the first two i2c controllers found on the
>> Allwinner A10; i2c-0 is used internally for the PMIC, while i2c-1
>> is exposed on the board headers. This patch enables them in the device
>> tree.
>>
>> Signed-off-by: Emilio López <emilio at elopez.com.ar>
>
> Shouldn't you list the attached devices in the same patch?
>
> What is the point of enabling the I2C bus if there are no devices
> to be found?
This is complementary to the series titled "Add I2C support for
Allwinner SoCs" sent by Maxime today. We have no driver for the AXP20
PMIC yet, and the external header is left for the user to connect, so I
haven't added any device. This is still useful though, as it lets you
use I2C from userspace (i2cdetect, i2cdump, etc).
Regards,
Emilio
More information about the linux-arm-kernel
mailing list