diff mbox

[U-Boot,1/3] i2c: Add entry for Designware I2C driver in Kconfig

Message ID 1461829639-32118-1-git-send-email-sr@denx.de
State Accepted
Commit e32d0db7985eece55ad099c6c86d00d441fdf48c
Delegated to: Heiko Schocher
Headers show

Commit Message

Stefan Roese April 28, 2016, 7:47 a.m. UTC
This patch adds an entry for the Designware I2C driver in Kconfig.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Heiko Schocher <hs@denx.de>
---
 drivers/i2c/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Bin Meng April 28, 2016, 8:29 a.m. UTC | #1
On Thu, Apr 28, 2016 at 3:47 PM, Stefan Roese <sr@denx.de> wrote:
> This patch adds an entry for the Designware I2C driver in Kconfig.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Heiko Schocher <hs@denx.de>
> ---
>  drivers/i2c/Kconfig | 8 ++++++++
>  1 file changed, 8 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff mbox

Patch

diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 9324c6c..48ab486 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -65,6 +65,14 @@  config SYS_I2C_CADENCE
 	  Say yes here to select Cadence I2C Host Controller. This controller is
 	  e.g. used by Xilinx Zynq.
 
+config SYS_I2C_DW
+	bool "Designware I2C Controller"
+	default n
+	help
+	  Say yes here to select the Designware I2C Host Controller. This
+	  controller is used in various SoCs, e.g. the ST SPEAr, Altera
+	  SoCFPGA, Synopsys ARC700 and some Intel x86 SoCs.
+
 config SYS_I2C_INTEL
 	bool "Intel I2C/SMBUS driver"
 	depends on DM_I2C