summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/simple-card.txt
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2014-10-02 01:25:20 +0400
committerMark Brown <broonie@kernel.org>2014-10-02 19:53:40 +0400
commit3fe240326cc395c66eda0518b1945ea505afd1fc (patch)
tree96acd1e5ba508d7fb1ea99bbe762d0af4c4442fc /Documentation/devicetree/bindings/sound/simple-card.txt
parent04a0b8ef6b27c2b6280dcbfcdd418b7d851f8491 (diff)
downloadlinux-3fe240326cc395c66eda0518b1945ea505afd1fc.tar.xz
ASoC: simple-card: Add mic and hp detect gpios.
Allow Headphone and Microphone jack detect gpios to be specified in device tree. This will allow a few systems including rk3288_max98090 to use simple-card instead of having their own board file. Signed-off-by: Dylan Reid <dgreid@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/simple-card.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/simple-card.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/simple-card.txt b/Documentation/devicetree/bindings/sound/simple-card.txt
index c2e9841dfce4..72d94b7aa5f5 100644
--- a/Documentation/devicetree/bindings/sound/simple-card.txt
+++ b/Documentation/devicetree/bindings/sound/simple-card.txt
@@ -17,6 +17,10 @@ Optional properties:
source.
- simple-audio-card,mclk-fs : Multiplication factor between stream rate and codec
mclk.
+- simple-audio-card,hp_det_gpio : Reference to GPIO that signals when
+ headphones are attached.
+- simple-audio-card,mic_det_gpio : Reference to GPIO that signals when
+ a microphone is attached.
Optional subnodes: