linux_old1/arch/arm/plat-samsung
MyungJoo Ham f462904ef1 ARM: SAMSUNG: use regulator VDD for ADC
This patch allows the Samsung ADC driver to enable VDD regulator
at probe and resume and to disable at exit and suspend.
In a platform where ADC's VDD regulator is not "always-on", this
control is required although this patch does not provide fine-grained
power control (turning on the regulator only when being accessed).

However, if VDD regulator ("vdd" for the adc device) is not provided,
the regulator control will not be activated because there are platforms
that do not provide regulator for ADC device.

arch_initcall has been modified to module_init in order to allow
regulators to be available at probe.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
2011-07-20 23:38:50 +09:00
..
include/plat Merge branch 'for-spi' into s5p-fixes-for-linus 2011-07-06 15:46:41 +09:00
Kconfig ARM: 6915/1: SAMSUNG: Depend on IRQ_GENERIC_CHIP 2011-05-20 22:50:49 +01:00
Makefile gpio: Move to Samsung common GPIO library to drivers/gpio 2011-05-26 17:31:22 -06:00
adc.c ARM: SAMSUNG: use regulator VDD for ADC 2011-07-20 23:38:50 +09:00
clock-clksrc.c ARM: SAMSUNG: Fix bug in clksrc-clk round_rate call. 2010-01-18 16:00:56 +09:00
clock.c ARM: SAMSUNG: Add support for clock debugging through debug-fs interface 2011-01-12 13:40:04 +09:00
dev-adc.c ARM: SAMSUNG: Moving ADC device definition to plat-samsung. 2010-05-18 13:38:44 +09:00
dev-asocdma.c ARM: Samsung: Make sure ASoC DMA device is prototyped 2010-11-25 11:19:53 +00:00
dev-fb.c ARM: SAMSUNG: Set S3C_FB_MAX_WIN in <plat/fb.h> 2010-05-18 18:46:27 +09:00
dev-hsmmc.c ARM: SAMSUNG: Add clock types into platform data 2010-10-25 16:02:47 +09:00
dev-hsmmc1.c ARM: SAMSUNG: Add clock types into platform data 2010-10-25 16:02:47 +09:00
dev-hsmmc2.c ARM: SAMSUNG: Add clock types into platform data 2010-10-25 16:02:47 +09:00
dev-hsmmc3.c ARM: SAMSUNG: Add clock types into platform data 2010-10-25 16:02:47 +09:00
dev-hwmon.c ARM: SAMSUNG: Move HWMON from plat-s3c24xx to plat-samsung 2010-05-12 17:43:03 +09:00
dev-i2c0.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
dev-i2c1.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
dev-i2c2.c ARM: S5PV210: Fix wrong interrupt I2C2 and I2C3 number 2010-10-25 16:03:27 +09:00
dev-i2c3.c ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support 2010-10-25 16:03:43 +09:00
dev-i2c4.c ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support 2010-10-25 16:03:43 +09:00
dev-i2c5.c ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support 2010-10-25 16:03:43 +09:00
dev-i2c6.c ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support 2010-10-25 16:03:43 +09:00
dev-i2c7.c ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support 2010-10-25 16:03:43 +09:00
dev-ide.c ARM: SAMSUNG: Add Compact Flash device support for Samsung SoCs 2010-08-05 18:32:50 +09:00
dev-keypad.c ARM: SAMSUNG: Add keypad device support 2010-08-06 21:27:50 +09:00
dev-nand.c ARM: SAMSUNG: Don't export __init functions to modules 2011-01-06 14:09:19 +09:00
dev-onenand.c ARM: SAMSUNG: Remove unused onenand plat functions 2011-06-03 16:45:02 -07:00
dev-pwm.c ARM: SAMSUNG: Move PWM device definition from plat-s3c24xx to plat-samsung 2011-03-03 10:09:58 +09:00
dev-rtc.c ARM: SAMSUNG: Move RTC device definitions in plat-samsung 2010-05-18 16:44:58 +09:00
dev-ts.c ARM: SAMSUNG: Drop exporting s3c24xx_ts_set_platdata 2011-02-18 17:36:32 +09:00
dev-uart.c ARM: SAMSUNG: Include devs.h in dev-uart.c to prototype devices 2011-03-04 15:46:26 +09:00
dev-usb-hsotg.c ARM: SAMSUNG: Add DMA masks to hsotg device 2010-02-03 01:54:54 +00:00
dev-usb.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
dev-wdt.c ARM: SAMSUNG: Reduce virtual memory size for WDT device 2010-08-05 18:32:49 +09:00
dma.c ARM: SAMSUNG: Move the last build from plat-s3c to plat-samsung 2010-02-23 00:03:43 +00:00
gpio-config.c ARM: S3C2443: Implement GPIO pull-up/down configuration methods 2011-01-06 14:09:19 +09:00
gpio.c ARM: SAMSUNG: Add common samsung_gpiolib_to_irq function 2010-10-21 07:54:57 +09:00
init.c ARM: SAMSUNG: Fix CPU idmask 2011-03-28 16:17:54 +09:00
irq-uart.c ARM: EXYNOS4: Add chained enrty/exit function to uart interrupt handler 2011-07-20 23:34:02 +09:00
irq-vic-timer.c ARM: SAMSUNG: Convert irq-vic-timer to generic irq chip 2011-05-09 10:12:39 +02:00
pd.c ARM: SAMSUNG: Add support for Power Domain control 2010-12-30 09:36:52 +09:00
platformdata.c ARM: SAMSUNG: Add helper to clone and set platform data 2010-08-05 18:32:49 +09:00
pm-check.c ARM: SAMSUNG: Fix build failure in PM CRC check code 2011-04-14 13:19:49 +09:00
pm-gpio.c ARM: S5PV210: Add Power Management Support 2010-10-21 07:54:57 +09:00
pm.c ARM: SAMSUNG: Add support for pre-sleep/post-restore gpio control 2011-07-20 23:13:20 +09:00
pwm-clock.c ARM: SAMSUNG: Move pwm-clock code into plat-samsung 2010-01-15 17:10:12 +09:00
pwm.c ARM: SAMSUNG: Move PWM device definition from plat-s3c24xx to plat-samsung 2011-03-03 10:09:58 +09:00
s3c-pl330.c Fix common misspellings 2011-03-31 11:26:23 -03:00
time.c ARM: SAMSUNG: Move the last build from plat-s3c to plat-samsung 2010-02-23 00:03:43 +00:00
wakeup-mask.c arm: plat-samsung: Use proper irq accessor functions 2011-03-29 14:47:53 +02:00