summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/powerdetect.c
AgeCommit message (Collapse)Author
2011-12-21tegra: 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>
2011-11-30ARM: 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
2011-11-30ARM: 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
2011-11-30ARM: 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