aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2014-10-01 14:25:20 -0700
committerMark Brown <broonie@kernel.org>2014-10-02 16:53:40 +0100
commit3fe240326cc395c66eda0518b1945ea505afd1fc (patch)
tree96acd1e5ba508d7fb1ea99bbe762d0af4c4442fc /Documentation/devicetree/bindings/sound
parentMerge tag 'v3.17-rc4' into asoc-simple (diff)
downloadlinux-dev-3fe240326cc395c66eda0518b1945ea505afd1fc.tar.xz
linux-dev-3fe240326cc395c66eda0518b1945ea505afd1fc.zip
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')
-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: