[PATCH 3/4] mc13892: driver added

Sascha Hauer s.hauer at pengutronix.de
Tue Nov 24 03:17:09 EST 2009


On Mon, Nov 23, 2009 at 01:20:09PM +0100, Marc Kleine-Budde wrote:
> Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
> ---
>  drivers/i2c/Kconfig   |    3 +
>  drivers/i2c/Makefile  |    2 +
>  drivers/i2c/mc13892.c |  111 +++++++++++++++++++++++++++++++++++++++++++++++++
>  include/i2c/mc13892.h |    7 +++
>  4 files changed, 123 insertions(+), 0 deletions(-)
>  create mode 100644 drivers/i2c/mc13892.c
>  create mode 100644 include/i2c/mc13892.h
> 
> diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
> index aeae450..e02824e 100644
> --- a/drivers/i2c/Kconfig
> +++ b/drivers/i2c/Kconfig
> @@ -7,4 +7,7 @@ config DRIVER_I2C_IMX
>  	bool "i.MX I2C Master driver"
>  	depends on ARCH_IMX
>  
> +config DRIVER_I2C_MC13892
> +	bool "MC13892 a.k.a. PMIC driver"
> +
>  endif
> diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile
> index bf16153..2fa50fa 100644
> --- a/drivers/i2c/Makefile
> +++ b/drivers/i2c/Makefile
> @@ -1,3 +1,5 @@
>  obj-$(CONFIG_I2C) += i2c.o
>  
>  obj-$(CONFIG_DRIVER_I2C_IMX) += i2c-imx.o
> +
> +obj-$(CONFIG_DRIVER_I2C_MC13892) += mc13892.o
> diff --git a/drivers/i2c/mc13892.c b/drivers/i2c/mc13892.c
> new file mode 100644
> index 0000000..54661d4
> --- /dev/null
> +++ b/drivers/i2c/mc13892.c
> @@ -0,0 +1,111 @@
> +/*
> + * Copyright (C) 2007 Sascha Hauer, Pengutronix

Cool, my copyright on a driver I've never seen before :)
I think you can remove this.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list