arm: tegra: enterprise: add platform data for voice call
Nikesh Oswal [Sun, 6 Nov 2011 04:02:36 +0000 (09:02 +0530)]
add platform data structures for codec i2s port connections
and baseband parameters

Bug: 862023

Change-Id: I52cc25e623474f6d5dd070cf4aedc1f108980595
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/62618
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: Rbe96cc2c99342de04590101d96c09616e72c6a41

arch/arm/mach-tegra/include/mach/tegra_max98088_pdata.h

index 3b4c7b6..fcf3f91 100644 (file)
  *
  */
 
+#define        HIFI_CODEC              0
+#define        BASEBAND                1
+#define        NUM_I2S_DEVICES 2
+
+struct baseband_config {
+       int rate;
+       int channels;
+};
+
 struct tegra_max98088_platform_data {
        int gpio_spkr_en;
        int gpio_hp_det;
        int gpio_hp_mute;
        int gpio_int_mic_en;
        int gpio_ext_mic_en;
+       int audio_port_id[NUM_I2S_DEVICES];
+       struct baseband_config baseband_param;
 };