mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
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>
This commit is contained in:
@@ -12,6 +12,7 @@ Required properties:
|
|||||||
|
|
||||||
Optional properties
|
Optional properties
|
||||||
- intel,beep-nid: Node ID to use for beep (will be detected if not provided)
|
- 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:
|
Required subnodes:
|
||||||
- codecs: Contains a list of codec nodes
|
- codecs: Contains a list of codec nodes
|
||||||
|
@@ -27,6 +27,7 @@ Required properties:
|
|||||||
Optional properties:
|
Optional properties:
|
||||||
- nvidia,hp-det-gpios : The GPIO that detect headphones are plugged in
|
- nvidia,hp-det-gpios : The GPIO that detect headphones are plugged in
|
||||||
- nvidia,mic-det-gpios : The GPIO that detect microphones 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:
|
Example:
|
||||||
|
|
||||||
|
@@ -19,6 +19,7 @@ Required sub-nodes:
|
|||||||
|
|
||||||
Optional:
|
Optional:
|
||||||
- samsung,model: The name of the sound-card
|
- samsung,model: The name of the sound-card
|
||||||
|
- codec-enable-gpio : The GPIO used to enable the audio codec
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user