]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: r7s72100: update defconfig for I2C usage
authorWolfram Sang <wsa@sang-engineering.com>
Mon, 17 Feb 2014 21:19:19 +0000 (22:19 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 18 Feb 2014 02:36:33 +0000 (11:36 +0900)
Select the correct I2C driver and activate EEPROM support to have a
slave device for testing. Also activate i2c-dev, so i2c-tools will work.

Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/configs/genmai_defconfig

index 5ee6ac0931f7e97e925e4ee54a96e0ad6914a6f4..d238fafb67622a2ee72bfe57fd3de5394430ce91 100644 (file)
@@ -52,6 +52,7 @@ CONFIG_IP_PNP_DHCP=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_EEPROM_AT24=y
 CONFIG_NETDEVICES=y
 # CONFIG_NET_CORE is not set
 # CONFIG_NET_VENDOR_ARC is not set
@@ -80,7 +81,8 @@ CONFIG_SERIAL_SH_SCI=y
 CONFIG_SERIAL_SH_SCI_NR_UARTS=10
 CONFIG_SERIAL_SH_SCI_CONSOLE=y
 # CONFIG_HW_RANDOM is not set
-CONFIG_I2C_SH_MOBILE=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_RIIC=y
 CONFIG_SPI=y
 CONFIG_SPI_RSPI=y
 # CONFIG_HWMON is not set