Commit ce3c9a59afd0591a105a316335d7015d8d902367
Committed by
Michal Simek
1 parent
e7affad190
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
i2c: Added Kconfig support for CONFIG_SYS_I2C_ZYNQ_SPEED
This patch added Kconfig support for CONFIG_SYS_I2C_ZYNQ_SPEED and set it to default value 100000. 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 3 changed files with 7 additions and 2 deletions Side-by-side Diff
drivers/i2c/Kconfig
... | ... | @@ -281,6 +281,13 @@ |
281 | 281 | help |
282 | 282 | Set CONFIG_SYS_I2C_ZYNQ_SLAVE for slave addr. |
283 | 283 | |
284 | +config SYS_I2C_ZYNQ_SPEED | |
285 | + int "Set I2C speed" | |
286 | + depends on SYS_I2C_ZYNQ | |
287 | + default 100000 | |
288 | + help | |
289 | + Set CONFIG_SYS_I2C_ZYNQ_SPEED for speed setting. | |
290 | + | |
284 | 291 | config SYS_I2C_IHS |
285 | 292 | bool "gdsys IHS I2C driver" |
286 | 293 | depends on DM_I2C |
include/configs/xilinx_zynqmp.h