]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 3188/1: Add missing i2c dependency for Akita
authorRichard Purdie <rpurdie@rpsys.net>
Thu, 1 Dec 2005 15:52:47 +0000 (15:52 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 1 Dec 2005 15:52:47 +0000 (15:52 +0000)
Patch from Richard Purdie

Akita requires inbuilt kernel i2c support for its GPIOs. Add this
requirement to Kconfig and update the defconfig to match.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/configs/spitz_defconfig
arch/arm/mach-pxa/Kconfig

index 18e9beaec4652aa4e2f8517a4b24e627cc355cc0..9895539533d6676bcbe84e772fa175f15fdb41ba 100644 (file)
@@ -897,7 +897,24 @@ CONFIG_UNIX98_PTYS=y
 #
 # I2C support
 #
-# CONFIG_I2C is not set
+CONFIG_I2C=y
+# CONFIG_I2C_CHARDEV is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+CONFIG_I2C_PXA=y
+# CONFIG_I2C_PXA_SLAVE is not set
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_STUB is not set
+# CONFIG_I2C_PCA_ISA is not set
 
 #
 # Hardware Monitoring support
index 526acbc32067e98115e857ddb66e1aa8ecd5e3ac..2a58499c0968793001e7b4827cea8238091fdf0e 100644 (file)
@@ -77,6 +77,8 @@ config MACH_AKITA
        depends PXA_SHARPSL_27x
        select PXA_SHARP_Cxx00
        select MACH_SPITZ
+       select I2C
+       select I2C_PXA
 
 config MACH_SPITZ
        bool "Enable Sharp Zaurus SL-3000 (Spitz) Support"