linux-stable/include/linux/mfd
Andres Salomon a9bbba9963 mfd: add platform_device sharing support for mfd
This adds functions to enable platform_device sharing for mfd clients.

Each platform driver (mfd client) that wants to share an mfd_cell's
platform_device uses the mfd_shared_platform_driver_{un,}register()
functions instead of platform_driver_{un,}register().  Along with
registering the platform driver, these also register a new platform
device with the same characteristics as the original cell, but a different
name.  Given an mfd_cell with the name "foo", drivers that want to
share access to its resources can call mfd_shared_platform_driver_register
with platform drivers named (for example) "bar" and "baz".  This
will register two platform devices and drivers named "bar" and "baz"
that share the same cell as the platform device "foo".  The drivers
can then call "foo" cell's enable hooks (or mfd_shared_cell_enable)
to enable resources, and obtain platform resources as they normally
would.

This deals with platform handling only; mfd driver-specific details,
hardware handling, refcounting, etc are all dealt with separately.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2011-03-23 10:41:58 +01:00
..
ab8500 mfd: AB8500 system control driver 2011-03-23 10:41:47 +01:00
pcf50633
wm831x mfd: Support configuration of WM831x /IRQ output in CMOS mode 2011-03-23 10:41:44 +01:00
wm8350 ASoC: Remove broken WM8350 direction constants 2010-11-10 15:40:06 +00:00
wm8994 Merge branch 'topic/asoc' into for-linus 2011-03-16 17:38:41 +01:00
88pm860x.h mfd: Update chip id of 88pm8607 2010-10-29 00:29:23 +02:00
ab8500-gpadc.h mfd: Add new ab8500 GPADC driver 2011-03-23 10:41:48 +01:00
ab8500.h mfd: ab8500-core chip version cut 2.0 support 2011-01-14 12:38:18 +01:00
abx500.h mfd: mfd_cell is now implicitly available to ab3550 driver 2011-03-23 10:41:51 +01:00
adp5520.h
asic3.h
core.h mfd: add platform_device sharing support for mfd 2011-03-23 10:41:58 +01:00
da903x.h
davinci_voicecodec.h
ds1wm.h
ezx-pcap.h
htc-egpio.h
htc-pasic3.h
janz.h
max8925.h
max8998-private.h mfd: MAX8998/LP3974 hibernation support 2011-01-14 12:38:14 +01:00
max8998.h regulator: Support MAX8998/LP3974 DVS-GPIO 2011-01-14 12:38:16 +01:00
mc13xxx.h mfd: mfd_cell is now implicitly available to mc13xxx drivers 2011-03-23 10:41:54 +01:00
mc13783.h Change the register name definitions for mc13783 2011-01-12 14:33:03 +00:00
mc13892.h regulator: support PMIC mc13892 2011-01-12 14:33:03 +00:00
mcp.h
rdc321x.h
sh_mobile_sdhi.h mfd: Allow the platform to specify the sh_mobile_sdhi get_cd handler 2010-10-29 00:29:11 +02:00
stmpe.h gpio: Add bitmask to block requests to unavailable stmpe GPIOs 2010-10-29 00:28:43 +02:00
t7l66xb.h
tc3589x.h input/tc3589x: add tc3589x keypad support 2010-12-29 22:02:24 +01:00
tc6387xb.h
tc6393xb.h
ti_ssp.h spi: add ti-ssp spi master driver 2011-03-15 08:17:22 -07:00
tmio.h mmc: tmio_mmc: implement SDIO IRQ support 2011-01-08 23:52:30 -05:00
tps6507x.h
tps6586x.h mfd: Add basic tps6586x interrupt support 2010-10-29 00:29:28 +02:00
twl4030-codec.h
ucb1x00.h
wl1273-core.h [media] MFD: WL1273 FM Radio: MFD driver for the FM radio 2010-12-29 08:17:02 -02:00
wm8400-audio.h
wm8400-private.h
wm8400.h