[PATCH v4 1/3] arm64: dts: qcom: Update soundwire slave node names
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Mon Nov 7 16:02:24 CET 2022
On 07/11/2022 15:20, Srinivasa Rao Mandadapu wrote:
> Update soundwire slave nodes of WSA speaker to match with
> dt-bindings pattern properties regular expression.
>
> This modifiction is required to avoid dtbs-check errors
> occurred with qcom,soundwire.yaml.
>
> Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam at quicinc.com>
> Co-developed-by: Ratna Deepthi Kudaravalli <quic_rkudarav at quicinc.com>
> Signed-off-by: Ratna Deepthi Kudaravalli <quic_rkudarav at quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 4 ++--
> arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ++--
> arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 4 ++--
> arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts | 4 ++--
> arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 4 ++--
> 5 files changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
> index 2c08500..983e8a9 100644
> --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
> +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
> @@ -1007,7 +1007,7 @@
> };
>
> &swr0 {
> - left_spkr: wsa8810-left {
> + left_spkr: wsa8810 at 0,3 {
While changing it, make the node names generic, so:
speaker at 0,3
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
> compatible = "sdw10217211000";
> reg = <0 3>;
> powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_HIGH>;
> @@ -1016,7 +1016,7 @@
> #sound-dai-cells = <0>;
> };
>
> - right_spkr: wsa8810-right {
> + right_spkr: wsa8810 at 0,4 {
speaker at 0,4
and so on...
Best regards,
Krzysztof
More information about the Alsa-devel
mailing list