Skip to contentSkip to conversation

i2c: Enable i2c-s3c2410 for S5P cpus

PATCH New Joonyoung Shim 2 participants 3 messages Jun 3, 2010 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: Enable i2c-s3c2410 for S5P cpus

This i2c controller driver can be used on the S5P series processors too, so enable the driver in Konfig for those platforms.

---
 drivers/i2c/busses/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/busses/Kconfig +1 -1
index 87ab056..4765d62 100644
@@ -503,7 +503,7 @@ config I2C_PXA_SLAVE
 
 config I2C_S3C2410
 	tristate "S3C2410 I2C Driver"
-	depends on ARCH_S3C2410 || ARCH_S3C64XX
+	depends on ARCH_S3C2410 || ARCH_S3C64XX || PLAT_S5P
 	help
 	  Say Y here to include support for I2C controller in the
 	  Samsung S3C2410 based System-on-Chip devices.
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 i2c: Enable i2c-s3c2410 for S5P cpus

Quoted 14 lines · Joonyoung Shim

This i2c controller driver can be used on the S5P series processors too, so enable the driver in Konfig for those platforms.

---
 drivers/i2c/busses/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/busses/Kconfig +0 -0
index 87ab056..4765d62 100644

drivers/i2c/busses/Kconfig config I2C_PXA_SLAVE · line 506

Quoted 5 lines
drivers/i2c/busses/Kconfig +1 -1
@@ -503,7 +503,7 @@ config I2C_PXA_SLAVE
 
 config I2C_S3C2410
 	tristate "S3C2410 I2C Driver"
-	depends on ARCH_S3C2410 || ARCH_S3C64XX
+	depends on ARCH_S3C2410 || ARCH_S3C64XX || PLAT_S5P

It may be worth changing this to PLAT_S3C24XX || ARCH_S3C64XX || PLAT_S5P or maybe we should just enable it if PLAT_SAMSUNG

It would be good to get an policy sorted out on these core drivers which exists across many parts of S3C/S5P supported systems.

Signature · 4 lines
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.
#2 lore raw

PATCH 1/1 i2c: Enable i2c-s3c2410 for S5P cpus

Quoted 16 lines · Ben Dooks
Quoted 15 lines · Joonyoung Shim

This i2c controller driver can be used on the S5P series processors too, so enable the driver in Konfig for those platforms.

---
 drivers/i2c/busses/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/busses/Kconfig +0 -0
index 87ab056..4765d62 100644
@@ -503,7 +503,7 @@ config I2C_PXA_SLAVE
 
Quoted 8 lines

drivers/i2c/busses/Kconfig config I2C_PXA_SLAVE · line 506

Quoted 4 lines
drivers/i2c/busses/Kconfig +1 -1
 config I2C_S3C2410
 	tristate "S3C2410 I2C Driver"
-	depends on ARCH_S3C2410 || ARCH_S3C64XX
+	depends on ARCH_S3C2410 || ARCH_S3C64XX || PLAT_S5P

It may be worth changing this to PLAT_S3C24XX || ARCH_S3C64XX || PLAT_S5P or maybe we should just enable it if PLAT_SAMSUNG

I think PLAT_SAMSUNG is more appropriate thing if it is no problem.

Quoted 3 lines

It would be good to get an policy sorted out on these core drivers which exists across many parts of S3C/S5P supported systems.