Commit ba23455e authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sm8250: Disable wsamacro and swr0 by default



They are not used on all boards, so disable them by default.
Enable them back on MTP/RB5, which were the only current users.

Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230124164616.228619-1-konrad.dybcio@linaro.org
parent fa3ba1c6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1007,6 +1007,8 @@ can@0 {
};

&swr0 {
	status = "okay";

	left_spkr: speaker@0,3 {
		compatible = "sdw10217211000";
		reg = <0 3>;
@@ -1322,6 +1324,10 @@ &venus {
	status = "okay";
};

&wsamacro {
	status = "okay";
};

/* PINCTRL - additions to nodes defined in sm8250.dtsi */
&qup_spi0_cs_gpio {
	drive-strength = <6>;
+6 −0
Original line number Diff line number Diff line
@@ -759,6 +759,8 @@ codec {
};

&swr0 {
	status = "okay";

	left_spkr: speaker@0,3 {
		compatible = "sdw10217211000";
		reg = <0 3>;
@@ -892,3 +894,7 @@ &usb_2_qmpphy {
&venus {
	status = "okay";
};

&wsamacro {
	status = "okay";
};
+4 −0
Original line number Diff line number Diff line
@@ -2239,6 +2239,8 @@ wsamacro: codec@3240000 {

			pinctrl-names = "default";
			pinctrl-0 = <&wsa_swr_active>;

			status = "disabled";
		};

		swr0: soundwire-controller@3250000 {
@@ -2259,6 +2261,8 @@ swr0: soundwire-controller@3250000 {
			#sound-dai-cells = <1>;
			#address-cells = <2>;
			#size-cells = <0>;

			status = "disabled";
		};

		audiocc: clock-controller@3300000 {