sound: Add codec enable to the sound bindings
authorSimon Glass <sjg@chromium.org>
Wed, 24 Apr 2019 03:56:25 +0000 (21:56 -0600)
committerTom Warren <twarren@nvidia.com>
Fri, 9 Aug 2019 17:01:34 +0000 (10:01 -0700)
For U-Boot we allow a GPIO to be specified to enable the codec. Add this
to the relevant binding files.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
doc/device-tree-bindings/sound/intel-hda.txt
doc/device-tree-bindings/sound/nvidia,tegra-audio-max98090.txt
doc/device-tree-bindings/sound/snow.txt

index fb2ce550063c67e85e2167414f93eb05e7265330..aa96be06e9b776404fb8a0e2d98262d871daa923 100644 (file)
@@ -12,6 +12,7 @@ Required properties:
 
 Optional properties
 - intel,beep-nid: Node ID to use for beep (will be detected if not provided)
+- codec-enable-gpio : The GPIO used to enable the audio codec
 
 Required subnodes:
 - codecs: Contains a list of codec nodes
index c3495beba35841773cd1ec0c7d3efe1d952d22c4..25c63eac628629fbc379e36492955466bf5cfbe5 100644 (file)
@@ -27,6 +27,7 @@ Required properties:
 Optional properties:
 - nvidia,hp-det-gpios : The GPIO that detect headphones are plugged in
 - nvidia,mic-det-gpios : The GPIO that detect microphones are plugged in
+- codec-enable-gpio : The GPIO used to enable the audio codec
 
 Example:
 
index 80fd9a87bb3fba53e03ef608b678686517f6172a..fa06956e772b59cf5d2f38a505baf58f0d9c8163 100644 (file)
@@ -19,6 +19,7 @@ Required sub-nodes:
 
 Optional:
 - samsung,model: The name of the sound-card
+- codec-enable-gpio : The GPIO used to enable the audio codec
 
 Example: