From e867ebe0e7a0da13eddda71d09370a8691dce8c2 Mon Sep 17 00:00:00 2001 From: Kevin Kim Date: Tue, 8 Jan 2019 12:10:37 +0900 Subject: [PATCH] ODROID-COMMON:I2C, RTC driver as a module Change-Id: Ifee1d369d05469989e2e7b875abe93c69b9ab648 --- arch/arm64/configs/odroidn2_defconfig | 7 ++++--- drivers/amlogic/i2c/Kconfig | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm64/configs/odroidn2_defconfig b/arch/arm64/configs/odroidn2_defconfig index 8cb35f8bd25d..692196763c70 100644 --- a/arch/arm64/configs/odroidn2_defconfig +++ b/arch/arm64/configs/odroidn2_defconfig @@ -1128,8 +1128,8 @@ CONFIG_AMLOGIC_USB3PHY=y # I2C Hardware Bus support # CONFIG_AMLOGIC_I2C=y -CONFIG_AMLOGIC_I2C_SLAVE=y -CONFIG_AMLOGIC_I2C_MASTER=y +CONFIG_AMLOGIC_I2C_SLAVE=m +CONFIG_AMLOGIC_I2C_MASTER=m # # AMLOGIC SPI Hardware bus support @@ -3428,6 +3428,7 @@ CONFIG_AMLOGIC_SND_CODEC_AMLT9015=y # CONFIG_AMLOGIC_SND_CODEC_AMLT9015S is not set # CONFIG_AMLOGIC_SND_CODEC_PMU3 is not set CONFIG_AMLOGIC_SND_CODEC_TXLX_ACODEC=y +# CONFIG_AMLOGIC_SND_CODEC_TL1_ACODEC is not set CONFIG_AMLOGIC_SND_SOC_TAS5707=y CONFIG_AMLOGIC_SND_SOC_TLV320ADC3101=y CONFIG_AMLOGIC_SND_SOC_PCM186X=y @@ -3905,7 +3906,7 @@ CONFIG_RTC_INTF_DEV=y # CONFIG_RTC_DRV_X1205 is not set # CONFIG_RTC_DRV_PCF8523 is not set # CONFIG_RTC_DRV_PCF85063 is not set -# CONFIG_RTC_DRV_PCF8563 is not set +CONFIG_RTC_DRV_PCF8563=m # CONFIG_RTC_DRV_PCF8583 is not set # CONFIG_RTC_DRV_M41T80 is not set # CONFIG_RTC_DRV_BQ32K is not set diff --git a/drivers/amlogic/i2c/Kconfig b/drivers/amlogic/i2c/Kconfig index 1baeb55e87e2..539c519d8679 100644 --- a/drivers/amlogic/i2c/Kconfig +++ b/drivers/amlogic/i2c/Kconfig @@ -16,7 +16,7 @@ config AMLOGIC_I2C normal master. config AMLOGIC_I2C_SLAVE - bool "Amlogic I2C Slave Driver" + tristate "Amlogic I2C Slave Driver" depends on AMLOGIC_I2C help Amlogic software @@ -25,7 +25,7 @@ config AMLOGIC_I2C_SLAVE Amlogic I2C Slave Driver. config AMLOGIC_I2C_MASTER - bool "Amlogic I2C Master Driver" + tristate "Amlogic I2C Master Driver" depends on AMLOGIC_I2C help Amlogic software