summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-harmony-power.c
AgeCommit message (Collapse)Author
2012-02-15ARM: tegra: harmony: Update pm_power_off registrationDan Willemsen
Opt into the tps6586x registering the pm_power_off handler instead of doing it ourselves. Change-Id: I7859530c0c88de860c617a1a185f9cf6e8f046c5 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/83602 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-01-31mach-tegra: add missing return statementColin Patrick McCabe
Reviewed-on: http://git-master/r/77405 Change-Id: Ia77147074cb90d0ed22f64135a16b374f258b008 Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/78013 Reviewed-by: Automatic_Commit_Validation_User
2012-01-02arm: tegra: harmony: tps6586x: add rtc dataPreetham Chandru
Add proper epoch and cap selection to rtc_data. Bug: 921782 Change-Id: Ie408eaaa5239494230a36c1588bff601e176fba1 Reviewed-on: http://git-master/r/69838 Signed-off-by: Jong Kim <jongk@nvidia.com> Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/72880 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2011-12-22arm: tegra: harmony: add suspend support for harmonyBill Huang
enable suspend for harmony and set suspend mode to lp0 bug 911107 Change-Id: I59d412ab991fa86fedac12f0981bf93e26f8810a Signed-off-by: Bill Huang <bilhuang@nvidia.com> Reviewed-on: http://git-master/r/70270 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2011-12-08tegra: harmony: wifi: add board support for WiFiPreetham Chandru
The SDIO WiFi module requires power from external PMU and 1.2V regulator. The module gets powered on if - (1) all power sources are enabled, and (2) power (down) and reset (down) pins are enabled as per spec. To enable mmc/SDIO driver to detect the WiFi hardware, the WiFi chip has to be powered-up before mmc driver does probing. So, steps should be as following: (1) required regulators are on, (2) power/reset of WiFi are enabled, (3) mmc does probing. Later time, when WiFi driver module is loaded and registers with SDIO, the SDIO driver knows which H/W the driver has to be associated with. Bug: 908534 Change-Id: I6510bced5fa9b8b3314c00180f2694903b23145c Reviewed-on: http://git-master/r/#change,47808,patchset=2 Signed-off-by: Preetham Chandru <pchandru@nvidia.com> Reviewed-on: http://git-master/r/67121 Reviewed-by: Mursalin Akon <makon@nvidia.com> Reviewed-by: Allen Martin <amartin@nvidia.com>
2011-11-30arm: tegra: harmony: Add Regulators & config PMC interruptPreetham Chandru
Added regulators and configured the PMC interrupt polarity to low. Bug: 879944 Change-Id: I94bc2cb78c311cc7fe9c713592b49ecfe4cf8176 Signed-off-by: Preetham Chandru <pchandru@nvidia.com> Reviewed-on: http://git-master/r/56226 Reviewed-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Allen Martin <amartin@nvidia.com> Rebase-Id: R730736f5290a25346afdc23fd8fb2fa94083add4
2011-11-30ARM: Tegra: Harmony: Add correct I2C platform dataStephen Warren
board-harmony.c's I2C platform data was structured for the upstream driver, but this branch contains the downstream driver. Fix the platform data to match; pull it in from the chromeos-2.6.38 branch. Also, modify any affected calls to i2c_register_board_info for the bus numbering changes. Signed-off-by: Stephen Warren <swarren@nvidia.com> Change-Id: Ie1586455a2f5d46e497dcf594f7a83c4b70eda60 Rebase-Id: R6ebe439ccf53a5a0a0f0a3d826bade8bfa75a2bb
2011-06-04ARM: Tegra: Harmony: Fix conflicting GPIO numberingStephen Warren
Currently, both the WM8903 and TPS6586x chips attempt to register with gpiolib using the same GPIO numbers. This causes the audio driver to fail to initialize. To solve this, add a define to board-harmony.h for the TPS6586x, and make board-harmony-power.c use this define, instead of directly referencing TEGRA_NR_GPIOS. This fixes a regression introduced by commit 6f168f2fa60f87e85e0df25e87e2372f22f5eb7c. ARM: tegra: harmony: initialize the TPS65862 PMIC Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Colin Cross <ccross@android.com>
2011-03-15ARM: tegra: harmony: initialize the TPS65862 PMICMike Rapoport
Initialize the PMIC voltage regulators and provide the supply map for PCI-e clock supply. The rest of the supplies should be added together with the drivers that use them. Signed-off-by: Mike Rapoport <mike@compulab.co.il> CC: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Olof Johansson <olof@lixom.net>