diff mbox

[U-Boot,v4,2/3] i2c: MVTWSI driver Kconfig bindings

Message ID 1428438001-22061-3-git-send-email-contact@paulk.fr
State Superseded
Delegated to: Hans de Goede
Headers show

Commit Message

Paul Kocialkowski April 7, 2015, 8:20 p.m. UTC
This adds the MVTWSI I2C driver to Kconfig bindings, to allow flexible selection
e.g. based on other Kconfig properties.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
---
 drivers/i2c/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Paul Kocialkowski April 7, 2015, 8:42 p.m. UTC | #1
Le mardi 07 avril 2015 à 22:20 +0200, Paul Kocialkowski a écrit :
> This adds the MVTWSI I2C driver to Kconfig bindings, to allow flexible selection
> e.g. based on other Kconfig properties.

Oh and if you can, please make MVTWSI lowercase in the commit title, I'm
just realizing now how bad it hurts my eyes.

> Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
> ---
>  drivers/i2c/Kconfig | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
> index 692810d..71c9587 100644
> --- a/drivers/i2c/Kconfig
> +++ b/drivers/i2c/Kconfig
> @@ -22,6 +22,13 @@ config DM_I2C_COMPAT
>  	  to convert all code for a board in a single commit. It should not
>  	  be enabled for any board in an official release.
>  
> +config SYS_I2C_MVTWSI
> +	bool "MVTWSI I2C driver"
> +	default n
> +	help
> +	  Support for the MVTWSI I2C controller driver. This I2C controller is
> +	  used on Orion5x, Kirkwood, Armada XP and Sunxi SoCs.
> +
>  config SYS_I2C_UNIPHIER
>  	bool "UniPhier I2C driver"
>  	depends on ARCH_UNIPHIER && DM_I2C
diff mbox

Patch

diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 692810d..71c9587 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -22,6 +22,13 @@  config DM_I2C_COMPAT
 	  to convert all code for a board in a single commit. It should not
 	  be enabled for any board in an official release.
 
+config SYS_I2C_MVTWSI
+	bool "MVTWSI I2C driver"
+	default n
+	help
+	  Support for the MVTWSI I2C controller driver. This I2C controller is
+	  used on Orion5x, Kirkwood, Armada XP and Sunxi SoCs.
+
 config SYS_I2C_UNIPHIER
 	bool "UniPhier I2C driver"
 	depends on ARCH_UNIPHIER && DM_I2C