diff options
author | Simon Glass <sjg@chromium.org> | 2019-04-23 21:56:25 -0600 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2019-08-09 10:01:34 -0700 |
commit | b4bf71456da6d4f39af188ad1d70192890504417 (patch) | |
tree | 63321a7489ed4a247c91eb9c59d2b781a0158c29 | |
parent | 9944d753cbc616d7b1004a40a56146b8fb51544b (diff) |
sound: Add codec enable to the sound bindings
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>
-rw-r--r-- | doc/device-tree-bindings/sound/intel-hda.txt | 1 | ||||
-rw-r--r-- | doc/device-tree-bindings/sound/nvidia,tegra-audio-max98090.txt | 1 | ||||
-rw-r--r-- | doc/device-tree-bindings/sound/snow.txt | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/sound/intel-hda.txt b/doc/device-tree-bindings/sound/intel-hda.txt index fb2ce55006..aa96be06e9 100644 --- a/doc/device-tree-bindings/sound/intel-hda.txt +++ b/doc/device-tree-bindings/sound/intel-hda.txt @@ -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 diff --git a/doc/device-tree-bindings/sound/nvidia,tegra-audio-max98090.txt b/doc/device-tree-bindings/sound/nvidia,tegra-audio-max98090.txt index c3495beba3..25c63eac62 100644 --- a/doc/device-tree-bindings/sound/nvidia,tegra-audio-max98090.txt +++ b/doc/device-tree-bindings/sound/nvidia,tegra-audio-max98090.txt @@ -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: diff --git a/doc/device-tree-bindings/sound/snow.txt b/doc/device-tree-bindings/sound/snow.txt index 80fd9a87bb..fa06956e77 100644 --- a/doc/device-tree-bindings/sound/snow.txt +++ b/doc/device-tree-bindings/sound/snow.txt @@ -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: |