[ARM] tegra: stingray: Set CPCAP switchers to AMS mode
authorGreg Meiste <w30289@motorola.com>
Wed, 25 Aug 2010 16:10:25 +0000 (11:10 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:46 +0000 (16:33 -0700)
Change-Id: I6048a8f75d86c943d98759cf541b263bac151f68
Signed-off-by: Greg Meiste <w30289@motorola.com>
arch/arm/mach-tegra/board-stingray-power.c

index a290a0a230a4047507e64239389bc6e15f872ed7..0d2574259729488ad00be33449893f04af89ce21 100644 (file)
@@ -296,10 +296,10 @@ static struct platform_device *cpcap_devices[] = {
 struct cpcap_spi_init_data stingray_cpcap_spi_init[] = {
        {CPCAP_REG_S1C1,      0x0000},
        {CPCAP_REG_S1C2,      0x0000},
-       {CPCAP_REG_S2C1,      0x2730},
+       {CPCAP_REG_S2C1,      0x2830},
        {CPCAP_REG_S2C2,      0x301C},
-       {CPCAP_REG_S3C,       0x0139},
-       {CPCAP_REG_S4C1,      0x2730},
+       {CPCAP_REG_S3C,       0x0141},
+       {CPCAP_REG_S4C1,      0x2830},
        {CPCAP_REG_S4C2,      0x301C},
        {CPCAP_REG_S6C,       0x0000},
        {CPCAP_REG_VRF1C,     0x0000},
@@ -314,8 +314,8 @@ struct cpcap_spi_init_data stingray_cpcap_spi_init[] = {
 };
 
 unsigned short cpcap_regulator_mode_values[CPCAP_NUM_REGULATORS] = {
-       [CPCAP_SW2]      = 0x0700,
-       [CPCAP_SW4]      = 0x0700,
+       [CPCAP_SW2]      = 0x0800,
+       [CPCAP_SW4]      = 0x0800,
        [CPCAP_SW5]      = 0x0022,
        [CPCAP_VCAM]     = 0x0003,
        [CPCAP_VCSI]     = 0x0003,