lkml.org 
[lkml]   [2008]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.6.27-rc8 1/2] drivers/mfd/twl4030-core.c
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@nokia.com>


> +#define TWL4030_MADC_IOC_MAGIC '`'

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

---
~Randy

\
 
 \ /
  Last update: 2008-10-01 21:47    [from the cache]
©2003-2011 Jasper Spaans