From d10e4a660d11212a41ac5d2c116a655e25e2d38a Mon Sep 17 00:00:00 2001 From: GuanXuetao Date: Sat, 26 Feb 2011 21:29:29 +0800 Subject: unicore32 machine related files: add i2c bus drivers for pkunity-v3 soc change from original version -- by advice of Jean Delvare 1. remove global variable i2c_reg, replaced by local variables 2. replace ENXIO with ENODEV when no platform resources 3. add adapter->nr assignment before i2c_add_numbered_adapter() call 4. add judgement for i2c_del_adapter() return value 5. release adapter when driver removed 6. add __devexit for puv3_i2c_remove() function 7. modify several names to more appropriated ones Signed-off-by: Guan Xuetao Acked-by: Arnd Bergmann --- arch/unicore32/configs/debug_defconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/unicore32') diff --git a/arch/unicore32/configs/debug_defconfig b/arch/unicore32/configs/debug_defconfig index 3647f68147da..bf42abdd9683 100644 --- a/arch/unicore32/configs/debug_defconfig +++ b/arch/unicore32/configs/debug_defconfig @@ -114,6 +114,10 @@ CONFIG_INPUT_EVDEV=m # Keyboards CONFIG_KEYBOARD_GPIO=m +# I2C support +CONFIG_I2C=y +CONFIG_I2C_PUV3=y + # Hardware Monitoring support #CONFIG_SENSORS_LM75=m # Generic Thermal sysfs driver -- cgit v1.2.3