diff options
author | Vipul Kumar <vipul.kumar@xilinx.com> | 2018-02-16 19:07:20 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-03-01 08:03:01 +0100 |
commit | ce3c9a59afd0591a105a316335d7015d8d902367 (patch) | |
tree | 0e5e5b9c45e77964f22d6e06d66d569427f4fcf6 /drivers/i2c/Kconfig | |
parent | e7affad190fcebcb2c93eed97ae4a74d947cb14d (diff) |
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>
Diffstat (limited to 'drivers/i2c/Kconfig')
-rw-r--r-- | drivers/i2c/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 6200f1c1e1..6843131970 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -281,6 +281,13 @@ config SYS_I2C_ZYNQ_SLAVE help Set CONFIG_SYS_I2C_ZYNQ_SLAVE for slave addr. +config SYS_I2C_ZYNQ_SPEED + int "Set I2C speed" + depends on SYS_I2C_ZYNQ + default 100000 + help + Set CONFIG_SYS_I2C_ZYNQ_SPEED for speed setting. + config SYS_I2C_IHS bool "gdsys IHS I2C driver" depends on DM_I2C |