Skip to content

Commit 26c8a43

Browse files
krzkbroonie
authored andcommitted
ASoC: dt-bindings: qcom,wsa8840: Add reset-gpios for shared line
On newer Qualcomm platforms, like X1E80100-CRD, the WSA884x speakers share SD_N GPIOs between two speakers, thus a coordinated assertion is needed. Linux supports handling shared GPIO lines through "reset-gpios" property, thus allow specifying either powerdown or reset GPIOs (these are the same). Cc: Bartosz Golaszewski <[email protected]> Cc: Sean Anderson <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent b96ccdc commit 26c8a43

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ properties:
2828
description: Powerdown/Shutdown line to use (pin SD_N)
2929
maxItems: 1
3030

31+
reset-gpios:
32+
description: Powerdown/Shutdown line to use (pin SD_N)
33+
maxItems: 1
34+
3135
'#sound-dai-cells':
3236
const: 0
3337

@@ -37,11 +41,16 @@ properties:
3741
required:
3842
- compatible
3943
- reg
40-
- powerdown-gpios
4144
- '#sound-dai-cells'
4245
- vdd-1p8-supply
4346
- vdd-io-supply
4447

48+
oneOf:
49+
- required:
50+
- powerdown-gpios
51+
- required:
52+
- reset-gpios
53+
4554
unevaluatedProperties: false
4655

4756
examples:

0 commit comments

Comments
 (0)