Skip to content

Commit ed92f40

Browse files
LaurentiuM1234broonie
authored andcommitted
ASoC: dt-bindings: audio-graph-card2: add widgets and hp-det-gpios support
Introduce the 'widgets' property, allowing the creation of widgets from 4 template widgets: Microphone, Line, Headphone, and Speaker. Also introduce the 'hp-det-gpios' property, which allows using headphone detection using the specified GPIO. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Link: https://patch.msgid.link/20250311163255.2664-3-laurentiumihalcea111@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 811944a commit ed92f40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/devicetree/bindings/sound/audio-graph-card2.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ properties:
3737
codec2codec:
3838
type: object
3939
description: Codec to Codec node
40+
hp-det-gpios:
41+
$ref: audio-graph.yaml#/properties/hp-det-gpios
42+
widgets:
43+
$ref: audio-graph.yaml#/properties/widgets
4044

4145
required:
4246
- compatible

0 commit comments

Comments
 (0)