diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-02-27 15:27:24 +0100 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2024-03-17 21:28:43 -0500 |
| commit | 76cbe23e4399bc0130572981ab330e59d823696d (patch) | |
| tree | 492b5c98dfdfadc4838970c74e831916a94fc541 /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | arm64: dts: qcom: x1e80100: correct SWR1 pack mode (diff) | |
| download | linux-76cbe23e4399bc0130572981ab330e59d823696d.tar.gz linux-76cbe23e4399bc0130572981ab330e59d823696d.zip | |
arm64: dts: qcom: x1e80100-crd: switch WSA8845 speakers to shared reset-gpio
Each pair of WSA8845 speakers share the powerdown SD_N GPIO, thus this
GPIO is specified twice in each WSA8845 device node. Such DTS was added
hoping non-exclusive GPIO usage would be accepted, but it turned out
otherwise: it is not supported by the Linux kernel.
Linux kernel however supports sharing reset GPIOs, when used bia the
reset controller framework as implemented in commit 26c8a435fce6 ("ASoC:
dt-bindings: qcom,wsa8840: Add reset-gpios for shared line") and
commit c721f189e89c ("reset: Instantiate reset GPIO controller for
shared reset-gpios").
Convert the property with shutdown GPIO to "reset-gpios" to use
mentioned Linux kernel feature. This allows to bring all four speakers
out of reset.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240227142725.625561-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
