From: kibak.yoon Date: Fri, 13 Oct 2017 04:26:59 +0000 (+0900) Subject: configs: artik530/artik710_raptor: add i2c-stub to module X-Git-Tag: submit/tizen/20190129.052023~81 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93b91dbef95031bd6f797950a2ff90bfdde1decd;p=profile%2Fcommon%2Fplatform%2Fkernel%2Flinux-artik7.git configs: artik530/artik710_raptor: add i2c-stub to module We need a test method for the i2c driver and framework on Artik. And using a fake device is more convenient than a physical hardware device. Therefore it would be good to enable i2c-stub for testing i2c feature on Artik. This will be used for testing purposes only. Change-Id: I893da44f54219dbd4c00fce0c8a2f0f97e93e967 Signed-off-by: kibak.yoon --- diff --git a/arch/arm/configs/artik530_raptor_defconfig b/arch/arm/configs/artik530_raptor_defconfig index 161e3b2ea633..2c89bba50862 100644 --- a/arch/arm/configs/artik530_raptor_defconfig +++ b/arch/arm/configs/artik530_raptor_defconfig @@ -2029,7 +2029,7 @@ CONFIG_I2C_NX=y # # Other I2C/SMBus bus drivers # -# CONFIG_I2C_STUB is not set +CONFIG_I2C_STUB=m CONFIG_I2C_SLAVE=y # CONFIG_I2C_SLAVE_EEPROM is not set # CONFIG_I2C_DEBUG_CORE is not set diff --git a/arch/arm64/configs/artik710_raptor_defconfig b/arch/arm64/configs/artik710_raptor_defconfig index 769f468e172a..5a1f7ec99d61 100644 --- a/arch/arm64/configs/artik710_raptor_defconfig +++ b/arch/arm64/configs/artik710_raptor_defconfig @@ -335,6 +335,7 @@ CONFIG_I2C_MUX_REG=m CONFIG_I2C_GPIO=y CONFIG_I2C_S3C2410=y CONFIG_I2C_SLAVE=y +CONFIG_I2C_STUB=m CONFIG_SPI=y CONFIG_SPI_GPIO=m CONFIG_SPI_S3C64XX=y