Re: [PATCH 2.6.27-rc8 1/2] drivers/mfd/twl4030-core.c

From: Randy Dunlap
Date: Wed Oct 01 2008 - 15:44:44 EST


On Wed, 1 Oct 2008 11:44:19 -0700 David Brownell wrote:

> drivers/mfd/Kconfig | 14
> drivers/mfd/Makefile | 2
> drivers/mfd/twl4030-core.c | 1255 +++++++++++++++++++++++++++++++++++
> include/linux/i2c/twl4030-gpio.h | 76 ++
> include/linux/i2c/twl4030-madc.h | 134 +++
> include/linux/i2c/twl4030-pwrirq.h | 37 +
> include/linux/i2c/twl4030.h | 191 +++++
> 7 files changed, 1709 insertions(+)
>
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -50,6 +50,20 @@ config HTC_PASIC3
> HTC Magician devices, respectively. Actual functionality is
> handled by the leds-pasic3 and ds1wm drivers.
>
> +config TWL4030_CORE
> + bool "Texas Instruments TWL4030/TPS659x0 Support"
> + depends on I2C=y && (ARCH_OMAP2 || ARCH_OMAP3)
> + help
> + Say yes here if you have TWL4030 family chip on your board.
> + This core driver provides register access and IRQ handling
> + facilities, and registers devices for the various functions
> + so that function-specific drivers can bind to them.
> +
> + These multi-function chps are found on many OMAP2 and OMAP3

chips

> + boards, providing power management, RTC, GPIO, keypad, a
> + high speed USB OTG transceiver, an audio codec (on most
> + versions) and many other features.
> +
> config MFD_TMIO
> bool
> default n

> --- /dev/null
> +++ b/include/linux/i2c/twl4030-madc.h
> @@ -0,0 +1,134 @@
> +/*
> + * include/linux/i2c/twl4030-madc.h
> + *
> + * TWL4030 MADC module driver header
> + *
> + * Copyright (C) 2008 Nokia Corporation
> + * Mikko Ylinen <mikko.k.ylinen@xxxxxxxxx>


> +#define TWL4030_MADC_IOC_MAGIC '`'

Add that to Documentation/ioctl-number.txt (?)

---
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/