summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-lock.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2014-05-20 22:17:54 +0400
committerLee Jones <lee.jones@linaro.org>2014-05-28 11:05:32 +0400
commite7cd1d1eb16fcdf53001b926187a82f1f3e1a7e6 (patch)
tree2dac768a3fe773e824f5dd9a744defdc0af57a55 /tools/perf/builtin-lock.c
parent320572813ded2cc17581b22cdc5dc775aaf83f53 (diff)
downloadlinux-e7cd1d1eb16fcdf53001b926187a82f1f3e1a7e6.tar.xz
mfd: twl4030-power: Add generic reset configuration
The twl4030 PMIC needs to be configured properly for things like warm reset and deeper idle states so the PMIC manages the regulators properly based on the hardware triggers from the SoC. Earlier we have configured twl4030 using platform data, but we want to do it for device tree based booting also. In some cases configuring twl4030 is needed for things to work. For example, when rebooting an OMAP3530 at 125 MHz, it hangs. With this patch, TWL4030 will be reset when a warm reset occures, and OMAP3530 does not hang on reboot. Let's add device tree support and configure things for warm reset as the default when compatible = "ti,twl4030-power". More complicated configurations can be added to the driver based on other compatible flags. Note we now also make the pdata const like it should be. This allows use it for match->data with the device tree related functions. Based on earlier patch by Matthias Brugger <matthias.bgg@gmail.com> and Lesly A M <leslyam@ti.com>. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'tools/perf/builtin-lock.c')
0 files changed, 0 insertions, 0 deletions