ARM: tegra: tn8: add sysedp data for bruce modem
Neil Patel [Fri, 8 Nov 2013 18:02:40 +0000 (13:02 -0500)]
Add system edp consumer data for bruce modem.

Bug 1379950

Change-Id: I8849480c49e0ec7b987845f9a868835bce216fa3
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/328378
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Lin <stlin@nvidia.com>

arch/arm/mach-tegra/board-ardbeg.c
arch/arm/mach-tegra/board-tn8-sysedp.c

index e709376..95cdf15 100644 (file)
@@ -757,6 +757,7 @@ static struct tegra_usb_modem_power_platform_data baseband_pdata = {
        .short_autosuspend_delay = 50,
        .tegra_ehci_device = &tegra_ehci2_device,
        .tegra_ehci_pdata = &tegra_ehci2_hsic_baseband_pdata,
+       .sysedpc_name = "modem",
 };
 
 static struct platform_device icera_bruce_device = {
index 8e2a720..830a11f 100644 (file)
@@ -29,6 +29,7 @@ static unsigned int mt9m114_states[] = { 0, 150 };
 static unsigned int sdhci_states[] = { 0, 966 };
 static unsigned int speaker_states[] = { 0, 1080 };
 static unsigned int wifi_states[] = { 0, 1020 };
+static unsigned int modem_states[] = { 0, 4100 };
 static unsigned int pwm_backlight_states[] = {
        0, 125, 250, 375, 500, 625, 750, 875, 1000, 1125, 1250
 };
@@ -50,6 +51,7 @@ static struct sysedp_consumer_data tn8_sysedp_consumer_data[] = {
        SYSEDP_CONSUMER_DATA("sdhci-tegra.2", sdhci_states),
        SYSEDP_CONSUMER_DATA("sdhci-tegra.3", sdhci_states),
        SYSEDP_CONSUMER_DATA("as364x", as364x_states),
+       SYSEDP_CONSUMER_DATA("modem", modem_states),
 };
 
 static struct sysedp_platform_data tn8_sysedp_platform_data = {