Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://msgid.link/r/20240129115216.96479-6-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
26c8a435 b96ccdcf

+10 -1
+10 -1
Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml
··· 28 28 description: Powerdown/Shutdown line to use (pin SD_N) 29 29 maxItems: 1 30 30 31 + reset-gpios: 32 + description: Powerdown/Shutdown line to use (pin SD_N) 33 + maxItems: 1 34 + 31 35 '#sound-dai-cells': 32 36 const: 0 33 37 ··· 41 37 required: 42 38 - compatible 43 39 - reg 44 - - powerdown-gpios 45 40 - '#sound-dai-cells' 46 41 - vdd-1p8-supply 47 42 - vdd-io-supply 43 + 44 + oneOf: 45 + - required: 46 + - powerdown-gpios 47 + - required: 48 + - reset-gpios 48 49 49 50 unevaluatedProperties: false 50 51