linux/drivers/mfd
Karl Komierowski bd4a40b57b mfd: Refactor ab8500 GPADC API, add raw access
Refactor the GPADC interface to avoid bugs in calling code:

- ab8500_gpadc_[convert|read_raw|ad_to_voltage] clarifies
  each functions use case, *convert wraps *read_raw, and we
  can access raw ADC values properly.
- Renamed gpadc function arguments from "input" to "channel" to
  clarify use, so we don't get confused again.

Signed-off-by: Kalle Komierowski <kalle.komierowski@stericsson.com>
Reviewed-by: Mattias Wallin <mattias.wallin@stericsson.com>
Reviewed-by: John Beckett <john.beckett@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2011-10-24 14:09:10 +02:00
..
88pm860x-core.c mfd: Avoid to use constraint name in 88pm860x regulator driver 2011-05-26 19:45:38 +02:00
88pm860x-i2c.c mfd: Append additional read write on 88pm860x 2011-03-23 10:42:07 +01:00
aat2870-core.c mfd: Add AAT2870 mfd driver 2011-07-31 23:28:26 +02:00
ab3100-core.c mfd: Use mfd cell platform_data for ab3100 cells platform bits 2011-05-26 19:44:58 +02:00
ab3100-otp.c mfd: Fix memory leak in ab3100_otp_probe 2010-08-12 11:27:17 +02:00
ab3550-core.c mfd: Fix section mismatch warning in ab3550-core 2011-10-24 14:09:08 +02:00
ab8500-core.c mfd: Update ab8500 subdevice list 2011-07-31 23:28:23 +02:00
ab8500-debugfs.c mfd: Use kstrtoul_from_user in ab8500 2011-07-31 23:28:21 +02:00
ab8500-gpadc.c mfd: Refactor ab8500 GPADC API, add raw access 2011-10-24 14:09:10 +02:00
ab8500-i2c.c mach-ux500: move the DB8500 PRCMU driver to MFD 2011-05-24 22:14:31 +02:00
ab8500-sysctrl.c mfd: AB8500 system control driver 2011-03-23 10:41:47 +01:00
abx500-core.c mfd: kzalloc doesn't return ERR_PTR 2010-08-12 11:27:19 +02:00
adp5520.c mfd: Convert adp5520 to dev_pm_ops 2011-03-23 10:41:43 +01:00
asic3.c mfd: Define asic3 gpio_chip label 2011-10-24 14:09:09 +02:00
cs5535-mfd.c mfd: OLPC: Clean up names to match what OLPC actually uses 2011-03-27 00:09:31 +01:00
da903x.c mfd: Fix da903x_add_subdevs error path 2010-10-29 00:28:56 +02:00
davinci_voicecodec.c mfd: Use mfd cell platform_data for davinci cells platform bits 2011-05-26 19:45:13 +02:00
db5500-prcmu-regs.h mfd: add DB5500 PRCMU driver 2011-05-24 22:19:37 +02:00
db5500-prcmu.c mfd: add DB5500 PRCMU driver 2011-05-24 22:19:37 +02:00
db8500-prcmu-regs.h mfd: update DB8500 PRCMU driver 2011-05-24 22:18:57 +02:00
db8500-prcmu.c mfd: Use mfd cell platform_data for db8500-prcmu cells platform bits 2011-05-28 08:35:36 +02:00
dm355evm_msp.c mfd: Correct ro and cd implemantion on DM355 2009-09-17 09:46:54 +02:00
ezx-pcap.c Fix common misspellings 2011-03-31 11:26:23 -03:00
htc-egpio.c mfd: Fold irq_set_chip/irq_set_handler 2011-03-27 00:09:52 +01:00
htc-i2cpld.c mfd: Fold irq_set_chip/irq_set_handler 2011-03-27 00:09:52 +01:00
htc-pasic3.c w1: ds1wm: add a reset recovery parameter 2011-07-08 21:14:44 -07:00
janz-cmodio.c mfd: Use mfd cell platform_data for janz cells platform bits 2011-05-26 19:45:08 +02:00
jz4740-adc.c mfd: Fix generic irq chip ack function name for jz4740-adc 2011-09-21 13:06:34 +02:00
Kconfig mfd: Convert pcf50633 to use new register map API 2011-10-24 14:09:08 +02:00
lpc_sch.c mfd: Add tunnelcreek watchdog to lpc_sch devices 2011-07-31 23:28:23 +02:00
Makefile mfd: Add AAT2870 mfd driver 2011-07-31 23:28:26 +02:00
max8925-core.c mfd: Remove checking on max8925 regulator[0] 2011-05-26 19:45:37 +02:00
max8925-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
max8997-irq.c mfd: Remove dead code from max8997-irq 2011-07-31 23:28:25 +02:00
max8997.c mfd: Set MAX8997 irq pointer 2011-09-06 16:37:59 +02:00
max8998-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
max8998.c power_supply: Add charger driver for MAX8998/LP3974 2011-07-08 16:59:34 +04:00
mc13xxx-core.c mfd: Use mfd cell platform_data for mc13xxx cells platform bits 2011-05-26 19:45:07 +02:00
mcp-core.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
mcp-sa11x0.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
menelaus.c mfd: update workqueue usages 2010-12-24 16:00:17 +01:00
mfd-core.c mfd: Add platform data pointer back 2011-05-26 19:44:56 +02:00
omap-usb-host.c mfd: Fix omap-usb-host build failure 2011-09-06 16:37:59 +02:00
pcf50633-adc.c mfd: pcf50633-adc: Fix potential race in pcf50633_adc_sync_read 2010-05-28 01:37:49 +02:00
pcf50633-core.c mfd: Convert pcf50633 to use new register map API 2011-10-24 14:09:08 +02:00
pcf50633-gpio.c mfd/pcf50633-gpio.c: add MODULE_LICENSE 2009-06-17 19:41:30 +02:00
pcf50633-irq.c mfd: Move pcf50633 irq related functions to its own file. 2010-05-28 01:37:50 +02:00
pm8xxx-irq.c mfd: Add pm8xxx irq support 2011-05-26 19:45:28 +02:00
pm8921-core.c mfd: Add pm8xxx irq support 2011-05-26 19:45:28 +02:00
rdc321x-southbridge.c mfd: Use mfd cell platform_data for rdc321x cells platform bits 2011-05-26 19:45:06 +02:00
sm501.c video, sm501: add OF binding to support SM501 2011-03-22 17:17:14 +09:00
stmpe.c mfd: Fix missing stmpe kerneldoc 2011-07-31 23:28:25 +02:00
stmpe.h mfd: Fix missing stmpe kerneldoc 2011-07-31 23:28:25 +02:00
t7l66xb.c mtd: Use platform_data to retrieve tmio_nand platform bits 2011-05-26 19:45:04 +02:00
tc3589x.c mfd: Add missing #ifdef around tc3589x PM block 2011-10-24 14:09:09 +02:00
tc6387xb.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
tc6393xb.c mtd: Use platform_data to retrieve tmio_nand platform bits 2011-05-26 19:45:04 +02:00
ti-ssp.c mfd: add driver for sequencer serial port 2011-03-15 08:17:22 -07:00
timberdale.c mfd: Clean timberdale error handling code up 2011-10-24 14:09:10 +02:00
timberdale.h [media] mfd: Add timberdale video-in driver to timberdale 2010-12-29 08:16:46 -02:00
tmio_core.c mfd: tmio_mmc hardware abstraction for CNF area 2010-01-18 12:30:27 +01:00
tps6105x.c mfd: Use mfd cell platform_data for tps6105x cells platform bits 2011-05-26 19:45:11 +02:00
tps6507x.c mfd: Fix off-by-one value range checking for tps6507x 2010-10-29 00:30:29 +02:00
tps6586x.c mfd: Fix tps6586x GPIO value setting 2011-05-26 19:45:31 +02:00
tps65010.c mfd: Include <linux/gpio.h> instead of <asm/gpio.h> 2011-01-14 12:37:36 +01:00
tps65910-irq.c mfd: Fix initialisation of tps65910 interrupts 2011-09-06 16:37:59 +02:00
tps65910.c mfd: Avoid two assignments if failures happen in tps65910_i2c_probe 2011-07-31 23:28:26 +02:00
tps65911-comparator.c mfd: Remove comp{1,2}_threshold sysfs entries in tps65911_comparator_remove 2011-07-31 23:28:24 +02:00
tps65912-core.c tps65912: irq: add interrupt controller 2011-07-31 23:28:22 +02:00
tps65912-i2c.c mfd: Fix off-by-one value range checking for tps65912_i2c_write 2011-07-31 23:28:25 +02:00
tps65912-irq.c tps65912: irq: add interrupt controller 2011-07-31 23:28:22 +02:00
tps65912-spi.c mfd: tps65912: Add new mfd device 2011-07-31 23:28:22 +02:00
twl4030-audio.c MFD: twl4030-audio: Rename platform data 2011-07-04 18:44:02 +03:00
twl4030-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
twl4030-madc.c mfd: Check for twl4030-madc NULL pointer 2011-09-06 16:37:59 +02:00
twl4030-power.c mfd: Check twl4030-power remove script error condition after i2cwrite 2011-05-26 19:45:41 +02:00
twl6030-irq.c mfd: Fix twl6030 irq definitions 2011-05-26 19:45:40 +02:00
twl6030-pwm.c mfd: twl6030-pwm.c needs MODULE_LICENSE 2011-07-31 23:28:27 +02:00
twl6040-core.c MFD: twl6040: Remove enum for PLL tracking 2011-07-07 14:23:46 +03:00
twl6040-irq.c MFD: twl6040: Demand valid interrupt configuration 2011-07-07 14:23:25 +03:00
twl-core.c mfd: Add tps65921 support from twl-core 2011-07-31 23:28:24 +02:00
twl-core.h mfd: Fix twl-irq function declaration warnings 2010-10-29 00:30:16 +02:00
ucb1x00-assabet.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
ucb1x00-core.c mfd: Fix ucb1x00 build failure for collie_defconfig 2010-03-07 22:17:39 +01:00
ucb1x00-ts.c mfd: Add BTN_TOUCH event to ucb1x00-ts 2011-03-23 10:41:45 +01:00
ucb1400_core.c Fix common misspellings 2011-03-31 11:26:23 -03:00
vx855.c mfd: Add MODULE_DEVICE_TABLE to vx855 2011-03-23 10:41:59 +01:00
wl1273-core.c mfd: Fix wl1273 warning 2011-05-26 19:45:20 +02:00
wm831x-auxadc.c mfd: Support multiple active WM831x AUXADC conversions 2011-07-31 23:28:20 +02:00
wm831x-core.c mfd: Add devices for WM831x clocking module 2011-07-31 23:28:24 +02:00
wm831x-i2c.c mfd: Remove copy from WM831x I2C write function 2011-03-23 10:42:09 +01:00
wm831x-irq.c mfd: Remove spurious newlines from wm831x-irq.c 2011-10-24 14:09:08 +02:00
wm831x-otp.c mfd: Add basic WM831x OTP support 2009-09-17 09:46:59 +02:00
wm831x-spi.c mfd: Convert WM831x SPI to use dev_pm_ops 2011-03-23 10:41:45 +01:00
wm8350-core.c mfd: Fix wrong wm8350-core kfree in error path 2010-08-12 11:28:08 +02:00
wm8350-gpio.c mfd: Rename wm8350 static gpio_set_debounce() 2011-09-06 16:37:58 +02:00
wm8350-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
wm8350-irq.c mfd: Allocate wm835x irq descs dynamically 2011-07-31 23:28:20 +02:00
wm8350-regmap.c mfd: Remove build time warning for WM835x register default tables 2009-12-13 19:21:53 +01:00
wm8400-core.c mfd: Use mfd cell platform_data for wm8400 cells platform bits 2011-05-26 19:45:14 +02:00
wm8994-core.c mfd: Fix error handling if BUG() isn't enabled in WM8994 2011-07-31 23:28:21 +02:00
wm8994-irq.c mfd: Acknowledge WM8994 IRQs before reporting 2011-07-31 23:28:27 +02:00