android_kernel_xiaomi_sm8350/arch/arm/mach-tegra
Stephen Warren 798bd59ce9 ARM: tegra: more regulator fixes for Harmony
Commit 3d55c29 "ARM: tegra: harmony: add regulator supply name and its
input supply" was supposed to fix all the problems with regulators on
Harmony. However, it appears that I only tested it when booting using
board files, not when booting using device tree. This change fixes two
problems with regulators when booting using device tree:

1) That patch only created the vdd_sys regulator when booting using a
   board file. Since this is the root of the whole regulator tree, this
   caused no regulators to successfully initialize when booting using
   device tree. The registration of vdd_sys is moved to fix this.

2) When booting use DT, the regulator core sets has_full_constraints,
   which in turn causes the core to turn off any regulators not marked
   as always on. Some of the affected regulators are required for basic
   system operation. To solve this, add always on constraints to all
   relevant regulators. This doesn't affect booting using a board file
   since nothing sets has_full_constraints in that case.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2012-08-09 15:16:40 +02:00
..
include/mach
apbio.c ARM: tegra: apbio: use dmaengine based dma driver 2012-07-06 11:49:13 -06:00
apbio.h ARM: tegra: apbio access using dma for tegra20 only 2012-07-06 11:48:56 -06:00
board-dt-tegra20.c Merge branch 'for-3.6' of git://gitorious.org/linux-pwm/linux-pwm 2012-07-30 09:22:37 -07:00
board-dt-tegra30.c Merge branch 'for-3.6' of git://gitorious.org/linux-pwm/linux-pwm 2012-07-30 09:22:37 -07:00
board-harmony-pcie.c
board-harmony-pinmux.c
board-harmony-power.c ARM: tegra: more regulator fixes for Harmony 2012-08-09 15:16:40 +02:00
board-harmony.c
board-harmony.h
board-paz00-pinmux.c
board-paz00.c
board-paz00.h
board-pinmux.c
board-pinmux.h
board-trimslice-pinmux.c
board-trimslice.c
board-trimslice.h
board.h
clock.c
clock.h
common.c ARM: tegra: apbio access using dma for tegra20 only 2012-07-06 11:48:56 -06:00
cpu-tegra.c
cpuidle.c
devices.c
devices.h
dma.c ARM: tegra: dma: rename driver name for clock to "tegra-apbdma" 2012-06-26 13:04:58 -06:00
flowctrl.c
flowctrl.h
fuse.c
fuse.h
gpio-names.h
headsmp.S
hotplug.c
io.c
irq.c
Kconfig
Makefile arm-soc: board specific updates 2012-07-23 17:34:48 -07:00
Makefile.boot arm-soc: board specific updates 2012-07-23 17:34:48 -07:00
pcie.c
platsmp.c
pmc.c
pmc.h
powergate.c
reset.c
reset.h
sleep.S
tegra2_clocks.c ARM: tegra: Provide clock for only one PWM controller 2012-07-02 15:01:34 -06:00
tegra2_emc.c
tegra2_emc.h
tegra30_clocks.c ARM: tegra: Provide clock for only one PWM controller 2012-07-02 15:01:34 -06:00
timer.c
usb_phy.c