Commit e885b4255f88d83461cf5a15b5a5782050687242
Committed by
Michal Simek
1 parent
5c32de202b
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
i2c: Added kconfig support for CONFIG_ZYNQ_I2C0 and CONFIG_ZYNQ_I2C1
This patch added Kconfig support for CONFIG_ZYNQ_I2C0 and CONFIG_ZYNQ_I2C1 and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Showing 16 changed files with 29 additions and 8 deletions Side-by-side Diff
- configs/syzygy_hub_defconfig
- configs/topic_miami_defconfig
- configs/topic_miamilite_defconfig
- configs/topic_miamiplus_defconfig
- configs/xilinx_zynqmp_zcu102_rev1_0_defconfig
- configs/xilinx_zynqmp_zcu102_revA_defconfig
- configs/xilinx_zynqmp_zcu102_revB_defconfig
- configs/zynq_zc702_defconfig
- configs/zynq_zc706_defconfig
- configs/zynq_zybo_defconfig
- drivers/i2c/Kconfig
- include/configs/syzygy_hub.h
- include/configs/topic_miami.h
- include/configs/xilinx_zynqmp_zcu102.h
- include/configs/zynq_zc70x.h
- include/configs/zynq_zybo.h
configs/syzygy_hub_defconfig
configs/topic_miami_defconfig
configs/topic_miamilite_defconfig
configs/topic_miamiplus_defconfig
configs/xilinx_zynqmp_zcu102_rev1_0_defconfig
configs/xilinx_zynqmp_zcu102_revA_defconfig
configs/xilinx_zynqmp_zcu102_revB_defconfig
configs/zynq_zc702_defconfig
configs/zynq_zc706_defconfig
configs/zynq_zybo_defconfig
drivers/i2c/Kconfig
... | ... | @@ -288,6 +288,18 @@ |
288 | 288 | help |
289 | 289 | Set CONFIG_SYS_I2C_ZYNQ_SPEED for speed setting. |
290 | 290 | |
291 | +config ZYNQ_I2C0 | |
292 | + bool "Xilinx I2C0 controller" | |
293 | + depends on SYS_I2C_ZYNQ | |
294 | + help | |
295 | + Enable Xilinx I2C0 controller. | |
296 | + | |
297 | +config ZYNQ_I2C1 | |
298 | + bool "Xilinx I2C1 controller" | |
299 | + depends on SYS_I2C_ZYNQ | |
300 | + help | |
301 | + Enable Xilinx I2C1 controller. | |
302 | + | |
291 | 303 | config SYS_I2C_IHS |
292 | 304 | bool "gdsys IHS I2C driver" |
293 | 305 | depends on DM_I2C |
include/configs/syzygy_hub.h
include/configs/topic_miami.h
include/configs/xilinx_zynqmp_zcu102.h
include/configs/zynq_zc70x.h
include/configs/zynq_zybo.h