Skip to contentSkip to conversation

i2c: Move I2C_EG20T option to the right place.

PATCH In review Jayachandran C. 2 participants 3 messages Jan 23, 2012 – Jan 25, 2012 2 messages not in the archive I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: Move I2C_EG20T option to the right place.

From: Jayachandran C <jayachandranc-oSioyQM9ZPnuBjGU1YDckgC/[email protected]>

Move Kconfig option for I2C_EG20T to the correct position and keep the options sorted.

Also, use tabs in Makefile and move the I2C_EG20T entry to its position.

---
 drivers/i2c/busses/Kconfig  |   30 +++++++++++++++---------------
 drivers/i2c/busses/Makefile |    2 +-
 2 files changed, 16 insertions(+), 16 deletions(-)
drivers/i2c/busses/Kconfig +15 -15
index 7726c79..e99bfa8 100644
@@ -369,6 +369,21 @@ config I2C_DESIGNWARE_PCI
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-designware-pci.
 
+config I2C_EG20T
+	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) I2C"
+	depends on PCI
+	help
+	  This driver is for PCH(Platform controller Hub) I2C of EG20T which
+	  is an IOH(Input/Output Hub) for x86 embedded processor.
+	  This driver can access PCH I2C bus device.
+
+	  This driver also can be used for LAPIS Semiconductor IOH(Input/
+	  Output Hub), ML7213, ML7223 and ML7831.
+	  ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
+	  for MP(Media Phone) use and ML7831 IOH is for general purpose use.
+	  ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
+	  ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
+
 config I2C_GPIO
 	tristate "GPIO-based bitbanging I2C"
 	depends on GENERIC_GPIO
@@ -691,21 +706,6 @@ config I2C_XLR
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-xlr.
 
-config I2C_EG20T
-	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) I2C"
-	depends on PCI
-	help
-	  This driver is for PCH(Platform controller Hub) I2C of EG20T which
-	  is an IOH(Input/Output Hub) for x86 embedded processor.
-	  This driver can access PCH I2C bus device.
-
-	  This driver also can be used for LAPIS Semiconductor IOH(Input/
-	  Output Hub), ML7213, ML7223 and ML7831.
-	  ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
-	  for MP(Media Phone) use and ML7831 IOH is for general purpose use.
-	  ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
-	  ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
-
 comment "External I2C/SMBus adapter drivers"
 
 config I2C_DIOLAN_U2C
drivers/i2c/busses/Makefile +1 -1
index a0c644d..8f9e7b6 100644
@@ -37,6 +37,7 @@ obj-$(CONFIG_I2C_DESIGNWARE_PLATFORM)	+= i2c-designware-platform.o
 i2c-designware-platform-objs := i2c-designware-platdrv.o i2c-designware-core.o
 obj-$(CONFIG_I2C_DESIGNWARE_PCI)	+= i2c-designware-pci.o
 i2c-designware-pci-objs := i2c-designware-pcidrv.o i2c-designware-core.o
+obj-$(CONFIG_I2C_EG20T)		+= i2c-eg20t.o
 obj-$(CONFIG_I2C_GPIO)		+= i2c-gpio.o
 obj-$(CONFIG_I2C_HIGHLANDER)	+= i2c-highlander.o
 obj-$(CONFIG_I2C_IBM_IIC)	+= i2c-ibm_iic.o
@@ -69,7 +70,6 @@ obj-$(CONFIG_I2C_VERSATILE)	+= i2c-versatile.o
 obj-$(CONFIG_I2C_OCTEON)	+= i2c-octeon.o
 obj-$(CONFIG_I2C_XILINX)	+= i2c-xiic.o
 obj-$(CONFIG_I2C_XLR)		+= i2c-xlr.o
-obj-$(CONFIG_I2C_EG20T)         += i2c-eg20t.o
 
 # External I2C/SMBus adapter drivers
 obj-$(CONFIG_I2C_DIOLAN_U2C)	+= i2c-diolan-u2c.o
Signature · 1 line
1.7.5.4
#2 lore raw
In reply to a message not in the archive
Quoted 9 lines · Jayachandran C.

From: Jayachandran C <jayachandranc-oSioyQM9ZPnuBjGU1YDckgC/[email protected]>

Move Kconfig option for I2C_EG20T to the correct position and keep the options sorted.

Also, use tabs in Makefile and move the I2C_EG20T entry to its position.

What is this based on?

Signature · 2 lines
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
#4 lore raw
In reply to a message not in the archive
Quoted 6 lines · Wolfram Sang [[email protected]] wrote:
Quoted 5 lines · Jayachandran C.

From: Jayachandran C <jayachandranc-oSioyQM9ZPnuBjGU1YDckgC/[email protected]>

Move Kconfig option for I2C_EG20T to the correct position and keep the options sorted.

Quoted 6 lines
Quoted 4 lines

Also, use tabs in Makefile and move the I2C_EG20T entry to its position.

What is this based on?

It is based on the i2c XLR patch I had sent before. I will send an updated version of that based on your comments later today.

This patch is dependent on XLR because they modify the same area in Kconfig.

JC.--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html