summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWilliam Lai <b04597@freescale.com>2010-09-19 16:15:05 +0800
committerAlan Tull <r80115@freescale.com>2010-09-25 09:53:09 -0500
commitf7cac6a6000c0ee0b5f6531afc73bf5ab53b9943 (patch)
tree29a507e8a66e00af3e6ec4195532738618ce535e /include
parent32acc7b24d829f3d7d5b651668f6b8fa54a0c610 (diff)
ENGR00131711-2 MXC: Add mxc_audio_codec_platform_data structrue
The mxc_audio_codec_platform_data passes the board specific data to the codec, i.e., regulator, mclk and pwdn function. Signed-off-by: William Lai <b04597@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index ddfdc42da822..67398a699792 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -251,6 +251,13 @@ struct mxc_bt_platform_data {
void (*bt_reset) (void);
};
+struct mxc_audio_codec_platform_data {
+ char *core_regulator;
+ char *io_regulator;
+ char *analog_regulator;
+ void (*pwdn)(int pwdn);
+};
+
struct mxc_lightsensor_platform_data {
char *vdd_reg;
int rext;