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

From
Thomas Abraham <hidden>
Date
2011-07-31 21:02:09
Also in
linux-i2c, linux-samsung-soc
Hi Grant,

On 31 July 2011 04:55, Grant Likely [off-list ref] wrote:
On Fri, Jul 22, 2011 at 03:48:38PM +0530, Thomas Abraham wrote:
quoted
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(-)
[...]
quoted
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 <redacted>
Thanks Grant.

Regards,
Thomas.

[...]
Thread (1 message) 1 message, 1 author, last reply 2011-07-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help