summaryrefslogtreecommitdiffstats
path: root/include/sound/tpa6130a2-plat.h
diff options
context:
space:
mode:
authorIlkka Koskinen <ilkka.koskinen@nokia.com>2010-01-08 17:48:31 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-01-11 17:13:11 +0000
commit2138301e1687bd4f22aa2b4df4829b6ffdae19bc (patch)
tree8b2354424ac4cfc06fce275ec8ccb6c5946b1593 /include/sound/tpa6130a2-plat.h
parent53242c68333570631a15a69842851b458eca3d99 (diff)
downloadblackbird-obmc-linux-2138301e1687bd4f22aa2b4df4829b6ffdae19bc.tar.gz
blackbird-obmc-linux-2138301e1687bd4f22aa2b4df4829b6ffdae19bc.zip
ASoC: tpa6130a2: Support for tpa6140's regulators
tpa6140a2 uses different names for the regulators. Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/tpa6130a2-plat.h')
-rw-r--r--include/sound/tpa6130a2-plat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sound/tpa6130a2-plat.h b/include/sound/tpa6130a2-plat.h
index e8c901e749d8..e29fde6b5cbe 100644
--- a/include/sound/tpa6130a2-plat.h
+++ b/include/sound/tpa6130a2-plat.h
@@ -23,7 +23,13 @@
#ifndef TPA6130A2_PLAT_H
#define TPA6130A2_PLAT_H
+enum tpa_model {
+ TPA6130A2,
+ TPA6140A2,
+};
+
struct tpa6130a2_platform_data {
+ enum tpa_model id;
int power_gpio;
};
OpenPOWER on IntegriCloud