arm64: dts: msm8916-samsung-a5u: Override iris compatible
authorStephan Gerhold <stephan@gerhold.net>
Thu, 22 Aug 2019 11:23:39 +0000 (13:23 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 2 Oct 2019 04:38:51 +0000 (21:38 -0700)
msm8916.dtsi sets the iris compatible to "qcom,wcn3620".
While WCN3620 seems to be used on most MSM8916 devices,
MSM8916 can also be paired with another chip (e.g. for WiFi dual-band).

A5U uses WCN3660B instead, so the compatible needs to be overridden
to apply the correct configuration.

However, simply using "qcom,wcn3660" would be incorrect,
since WCN3660B requires a slightly different regulator configuration
compared to WCN3660.

Instead, it requires the same configuration as "qcom,wcn3680".
Replace the compatible with "qcom,wcn3680" for A5U to make WCNSS
work correctly.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts

index 1aa59da9849553217406041558231e8a590fecb6..6629a621139c925d132ad9505c9d1f3db6ce08aa 100644 (file)
@@ -8,3 +8,9 @@
        model = "Samsung Galaxy A5U (EUR)";
        compatible = "samsung,a5u-eur", "qcom,msm8916";
 };
+
+&pronto {
+       iris {
+               compatible = "qcom,wcn3680";
+       };
+};