summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/powerdetect.c
AgeCommit message (Collapse)Author
2013-11-05fuse: cleanup unwanted fuse related dataShardar Shariff Md
cleanup of unwanted fuse related data as a part of migration of fuse driver Bug 1380004 Change-Id: I78ff9f6b1d3a27ae0ba0369ad9692c40e9e24bfd Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com> Reviewed-on: http://git-master/r/310037 Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-09-14ARM: tegra: Move platform detect from <mach/hardware.h> to <linux/tegra-soc.h>Dan Willemsen
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Change-Id: I13f3ff891510d2c868f609d507149b32183d34c5
2013-09-14ARM: tegra: Disable pre-si features at run timeJeff Smith
Disable the the remainder of the silicon only features at run time instead of the Kconfig file. This change covers THERMAL_THROTTLE, EDP_LIMITS and DYNAMIC_PWRDET. Change HZ to 100 for all pre-si configs, not just FPGA. We cannot change this field at run time. A faster tick doesn't help sim or Qt CPUs go faster. This change is a part of the effort to enable runtime platform detection and reduce compile-time conditionals. Bug 1333554 Change-Id: I24a865bf192347e487c743fdae3a3369e3ba89d1 Signed-off-by: Jeff Smith <jsmith@nvidia.com> Signed-off-by: Chetan Kumar N G <chetankumarn@nvidia.com> Reviewed-on: http://git-master/r/264034 Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
2013-09-14ARM: tegra: powerdetect cell list updateBitan Biswas
T12x powerdetect cell list populated bug 1317298 Change-Id: Ie104f6df035467536ca40bee60d290cdca743ef3 Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: http://git-master/r/246143 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Daniel Solomon <daniels@nvidia.com> Tested-by: Daniel Solomon <daniels@nvidia.com> Reviewed-by: Mitch Luban <mluban@nvidia.com>
2013-09-14ARM: tegra: chip-specific power detect cellsBitan Biswas
T14x specific power detect cells only must be used. The implementation needs all supported power detect cells specific to chip. If extra entries are declared for a chip the initialization fails. bug 1231612 bug 1236429 bug 1231668 Change-Id: Iffe8271c77f1b382972f29f20dc0a4094b270490 Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: http://git-master/r/242233 (cherry picked from commit 11d6341368449513f9ba56ab868cf05ff0002300) Reviewed-on: http://git-master/r/247140 Reviewed-by: Automatic_Commit_Validation_User
2013-09-14fixup powerdetect.c move iomap.hDan Willemsen
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
2013-09-14arm: tegra: power detect updateBitan Biswas
- Power detect hv regulator entry added for dalmore and pluto - mem_comp no iopower entry removed from T114 power detect table as software cannot turn these off Reviewed-on: http://git-master/r/133285 (cherry picked from commit bab3fda7e504e302db5cfbddc131b48c84a3c4f8) Change-Id: Ifea4329cf4035d67b1f77897659abfe48b948678 Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/143065 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com> Rebase-Id: R8d60adba573dda42c2e71c04e4d5b93996d49057
2013-09-14arm: tegra: powerdetect updateBitan Biswas
T11x powerdetect table updated Change-Id: I19ba11015ae80b6c715d35b78e8743b2a6ed8da1 Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: http://git-master/r/131474 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R1aec12a178c3f5e5b9d8755b18dd32e8e26d2d28
2013-09-14arm: tegra: power detect T11x supportBitan Biswas
Power detect and no io power chart updated for T11x bug 1039236 Change-Id: Id669d994cc6ec140c53f4c0a5adeb9473fea7126 Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: http://git-master/r/128207 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: Ref529ca2f7fe39c5706b5ef764e5ff265a06a7ae
2013-09-14unknown changes from android-tegra-nv-3.4Dan Willemsen
Rebase-Id: R940fad74c7e91ef3d1d3d589a48064ccb7335541
2013-09-14tegra: fix processing of regulator notifier eventAlexandre Courbot
Regulator notifier event chain may be called with several events OR'd together, e.g. in drivers/regulator/core.c: _notifier_call_chain(rdev, REGULATOR_EVENT_FORCE_DISABLE | REGULATOR_EVENT_DISABLE, Bug 913417 Change-Id: Ifba9860c1ee59c2fe2a4ee3c901e983912e07139 Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-on: http://git-master/r/69725 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rb83003f89e371b359616e000f3cef249554bb999
2013-09-14ARM: tegra: Use forward looking architecture conditionalsScott Williams
Change-Id: I31f2717327a627ad83e4cc2f083b71fd68fb1465 Signed-off-by: Scott Williams <scwilliams@nvidia.com> Reviewed-on: http://git-master/r/50221 Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: Rcaef7248cf06aa01c40b8e5eae13e3a20ed097d3
2013-09-14ARM: tegra: power: Add package mask to IO pad controlAlex Frid
Modified dynamic IO pad configuration control to support SoC package dependencies: set into "no-io-power state" IO pads that are not bonded out on the particular package. Updated IO power detect table to account for differences in Tegra2 and Tegra3 architecture. Bug 853132 Original-Change-Id: I5f0aedfa784173cc37251ccf4e1dfb4d919db96e Reviewed-on: http://git-master/r/42785 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Karan Jhavar <kjhavar@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Rebase-Id: R46208845c32e25340de6b1cebfb6b617c6c7ce4d
2013-09-14ARM: tegra: power: Control IO pad configuration dynamicallyAlex Frid
Tegra IO pads are automatically re-configured when IO power level is changed. Current code keeps auto-detection cells in default, active state all the time. This change will allow turning off cells when IO power is stable, and activate them only during power transitions. In addition IO pads will be set into "no-io-power" state after the respective regulator is disabled, and re-configured back for regular operations before regulator is re-enabled. Dynamic IO pad control introduced in this commit is still disabled by default on all tegra platforms. Bug 853132 Original-Change-Id: Ifc7bbe2ac34929c14f8f8e9feaa4290b78fe6cf6 Reviewed-on: http://git-master/r/42263 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R8b7c7863c1580816a2f3b28bdb3c228a97a18736