[PATCH v2 3/3] arm: dt: Add device tree support for i2c instance 0 and 1 on exynos4 dt machine

Thomas Abraham thomas.abraham at linaro.org
Mon Aug 1 07:02:09 EST 2011


Hi Grant,

On 31 July 2011 04:55, Grant Likely <grant.likely at secretlab.ca> wrote:
> On Fri, Jul 22, 2011 at 03:48:38PM +0530, Thomas Abraham wrote:
>> Add device node for i2c instance 0 and 1 and list all its connected slave
>> devices.
>>
>> Signed-off-by: Thomas Abraham <thomas.abraham at linaro.org>
>> ---
>>  arch/arm/boot/dts/exynos4-smdkv310.dts  |   45 +++++++++++++++++++++++++++++++
>>  arch/arm/mach-exynos4/Kconfig           |    2 +
>>  arch/arm/mach-exynos4/mach-exynos4-dt.c |   23 ++++++++++++++++
>>  3 files changed, 70 insertions(+), 0 deletions(-)
>>

[...]

>> diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/mach-exynos4/Kconfig
>> index bb97b7e..06b43ca 100644
>> --- a/arch/arm/mach-exynos4/Kconfig
>> +++ b/arch/arm/mach-exynos4/Kconfig
>> @@ -193,6 +193,8 @@ config MACH_EXYNOS4_DT
>>       select S3C_DEV_HSMMC
>>       select S3C_DEV_HSMMC2
>>       select EXYNOS4_SETUP_SDHCI
>> +     select EXYNOS4_SETUP_I2C0
>> +     select EXYNOS4_SETUP_I2C1
>
> Hmmm, there should be a better way do do this; but I don't have any
> objections.

These config options could go away when the pinmux subsystem patches
are accepted and the i2c driver is modified to use it. Till then, we
need to include these config options.

>
> Acked-by: Grant Likely <grant.likely at secretlab.ca>
>

Thanks Grant.

Regards,
Thomas.

[...]


More information about the devicetree-discuss mailing list