summaryrefslogtreecommitdiff
path: root/drivers/i2c/Kconfig
diff options
context:
space:
mode:
authormario.six@gdsys.cc <mario.six@gdsys.cc>2016-07-21 11:57:10 +0200
committerHeiko Schocher <hs@denx.de>2016-07-26 10:20:13 +0200
commit14a6ff2c4f22010e5d67f25508f09e3b53a1f1c4 (patch)
treea7c787ce86307304796e715c2db8d07275bcfa8d /drivers/i2c/Kconfig
parentf8a10ed1fd9986362a39f2b18d89429dfdb078cb (diff)
downloadu-boot-imx-14a6ff2c4f22010e5d67f25508f09e3b53a1f1c4.zip
u-boot-imx-14a6ff2c4f22010e5d67f25508f09e3b53a1f1c4.tar.gz
u-boot-imx-14a6ff2c4f22010e5d67f25508f09e3b53a1f1c4.tar.bz2
i2c: mvtwsi: Add compatibility to DM
This patch adds the necessary functions and Kconfig entry to make the MVTWSI I2C driver compatible with the driver model. A possible device tree entry might look like this: i2c@11100 { compatible = "marvell,mv64xxx-i2c"; reg = <0x11000 0x20>; clock-frequency = <100000>; u-boot,i2c-slave-addr = <0x0>; }; Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/i2c/Kconfig')
-rw-r--r--drivers/i2c/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 6e22bba..b3e8405 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -154,6 +154,13 @@ config SYS_I2C_UNIPHIER_F
Support for UniPhier FIFO-builtin I2C controller driver.
This I2C controller is used on PH1-Pro4 or newer UniPhier SoCs.
+config SYS_I2C_MVTWSI
+ bool "Marvell I2C driver"
+ depends on DM_I2C
+ help
+ Support for Marvell I2C controllers as used on the orion5x and
+ kirkwood SoC families.
+
source "drivers/i2c/muxes/Kconfig"
endmenu