summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/powergate-ops-txx.c
AgeCommit message (Collapse)Author
2013-09-14ARM: tegra: Move mach/powergate.h to linux/tegra-powergate.hDan Willemsen
This moved upstream, do the equivalent change here. Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Change-Id: I2de76e5c6487ed4513b6d070e0c515a27a881fff
2013-09-14arm: tegra: powergate: handle function return valueDeepak Nibade
Fix coverity issue Coverity id : 22217 Bug 1046331 Change-Id: I10af0b3e6050d62da737bdedf82631be3734b479 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/191943 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14arm: tegra: refactor powergate code per-SoCMayuresh Kulkarni
- split the current power-gate code into common and SoC specific code - every SoC now exports a set of ops to the common APIs - following is the new file structure: powergate.c - common powergate APIs powergate-ops-txx.c - t20/t30 specific common implementation powergate-ops-t1xx.c - t114 specific common implementation. this will also take care of t148 and t124 (in future) powergate-t20 - t20 specific structures and ids powergate-t30 - t30 specific strcutures and ids powergate-t11x - t11x specific structures and ids powergate-t14x - t14x specific structures and ids (stub in this commit. it will be populated in a separate commit as a part of bug 1190194) - powergate.c also provides a low level common APIs for all SoCs - each SoC now has 2 arrays: 1 for power partition info and other for mc client list info. amongst these 2 arrays, mc client list array is static Bug 1180197 Change-Id: I62b2d894c683fe9a18b82c7f9d87c08ce5b3864f Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/145591 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> GVS: Gerrit_Virtual_Submit