arm: tegra: macallan: added speaker EDP data
Hayden Du [Fri, 31 May 2013 09:10:47 +0000 (17:10 +0800)]
added EDP states in audio platform data for EDP implementation.
the E-state table at:
https://p4viewer.nvidia.com/get///hw/ar/doc/t148/power/System_EDP/E_state_tables.xlsx

bug 1299027

Change-Id: If5629ced58444fb57743b521721d7d7de23ca1c3
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/234498
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

arch/arm/mach-tegra/board-macallan.c

index 575f5de..435ee5b 100644 (file)
@@ -334,6 +334,8 @@ static struct tegra_asoc_platform_data macallan_audio_pdata = {
        .gpio_int_mic_en        = TEGRA_GPIO_INT_MIC_EN,
        .gpio_ext_mic_en        = TEGRA_GPIO_EXT_MIC_EN,
        .gpio_ldo1_en           = TEGRA_GPIO_LDO1_EN,
+       .edp_support            = true,
+       .edp_states             = {1100, 858, 0},
        .gpio_codec1 = TEGRA_GPIO_CODEC1_EN,
        .gpio_codec2 = TEGRA_GPIO_CODEC2_EN,
        .gpio_codec3 = TEGRA_GPIO_CODEC3_EN,