Commit 26c8a435 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mark Brown

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 <brgl@bgdev.pl>
Cc: Sean Anderson <sean.anderson@seco.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://msgid.link/r/20240129115216.96479-6-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent b96ccdcf
...@@ -28,6 +28,10 @@ properties: ...@@ -28,6 +28,10 @@ properties:
description: Powerdown/Shutdown line to use (pin SD_N) description: Powerdown/Shutdown line to use (pin SD_N)
maxItems: 1 maxItems: 1
reset-gpios:
description: Powerdown/Shutdown line to use (pin SD_N)
maxItems: 1
'#sound-dai-cells': '#sound-dai-cells':
const: 0 const: 0
...@@ -37,11 +41,16 @@ properties: ...@@ -37,11 +41,16 @@ properties:
required: required:
- compatible - compatible
- reg - reg
- powerdown-gpios
- '#sound-dai-cells' - '#sound-dai-cells'
- vdd-1p8-supply - vdd-1p8-supply
- vdd-io-supply - vdd-io-supply
oneOf:
- required:
- powerdown-gpios
- required:
- reset-gpios
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment