Skip to content

Commit 0175b1d

Browse files
Heikki KrogerusAndi Shyti
authored andcommitted
RISC-V: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
The dependency handling of the Synopsys DesignWare I2C adapter drivers is going to be changed so that the glue drivers for the PCI and platform buses depend on I2C_DESIGNWARE_CORE. Cc: Paul Walmsley <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Albert Ou <[email protected]> Cc: [email protected] Signed-off-by: Heikki Krogerus <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
1 parent 9bee8b3 commit 0175b1d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

arch/riscv/configs/defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ CONFIG_HW_RANDOM_VIRTIO=y
157157
CONFIG_HW_RANDOM_JH7110=m
158158
CONFIG_I2C=y
159159
CONFIG_I2C_CHARDEV=m
160+
CONFIG_I2C_DESIGNWARE_CORE=y
160161
CONFIG_I2C_DESIGNWARE_PLATFORM=y
161162
CONFIG_I2C_MV64XXX=m
162163
CONFIG_I2C_RIIC=y

arch/riscv/configs/nommu_k210_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ CONFIG_I2C=y
5858
# CONFIG_I2C_COMPAT is not set
5959
CONFIG_I2C_CHARDEV=y
6060
# CONFIG_I2C_HELPER_AUTO is not set
61+
CONFIG_I2C_DESIGNWARE_CORE=y
6162
CONFIG_I2C_DESIGNWARE_PLATFORM=y
6263
CONFIG_SPI=y
6364
# CONFIG_SPI_MEM is not set

arch/riscv/configs/nommu_k210_sdcard_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ CONFIG_DEVTMPFS_MOUNT=y
5050
CONFIG_I2C=y
5151
CONFIG_I2C_CHARDEV=y
5252
# CONFIG_I2C_HELPER_AUTO is not set
53+
CONFIG_I2C_DESIGNWARE_CORE=y
5354
CONFIG_I2C_DESIGNWARE_PLATFORM=y
5455
CONFIG_SPI=y
5556
# CONFIG_SPI_MEM is not set

0 commit comments

Comments
 (0)