summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h b/arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h
index fff2fcc68269..7aada6940b39 100644
--- a/arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h
+++ b/arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h
@@ -1,7 +1,7 @@
/*
* arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h
*
- * Copyright 2012 NVIDIA, Inc.
+ * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
@@ -25,20 +25,23 @@
#define TEGRA_DAIFMT_RIGHT_J 3
#define TEGRA_DAIFMT_LEFT_J 4
-struct baseband_config {
+struct i2s_config {
+ int audio_port_id;
+ int is_i2s_master;
+ int i2s_mode;
+ int sample_size;
int rate;
int channels;
- int bit_format;
- int is_master;
};
struct tegra_asoc_platform_data {
+ const char *codec_name;
+ const char *codec_dai_name;
int gpio_spkr_en;
int gpio_hp_det;
int gpio_hp_mute;
int gpio_int_mic_en;
int gpio_ext_mic_en;
unsigned int debounce_time_hp;
- int audio_port_id[NUM_I2S_DEVICES];
- struct baseband_config baseband_param;
+ struct i2s_config i2s_param[NUM_I2S_DEVICES];
};