arm64: dts: qcom: Move WLED num-strings from pmi8994 to sony-xperia-tone
authorMarijn Suijten <marijn.suijten@somainline.org>
Thu, 7 Oct 2021 21:33:59 +0000 (23:33 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 24 Oct 2021 18:04:04 +0000 (13:04 -0500)
The number of WLED strings used by a certain platform depend on the
panel connected to that board and may not be the same for every user of
pmi8994.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-By: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211007213400.258371-13-marijn.suijten@somainline.org
arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi
arch/arm64/boot/dts/qcom/pmi8994.dtsi

index 507396c4d23b656bc35fccb761f2ab503e181417..ff7f39d29dd55139573caa21131695006ef48ca2 100644 (file)
 &pmi8994_wled {
        status = "okay";
        default-brightness = <512>;
+       qcom,num-strings = <3>;
 };
 
 &rpm_requests {
index 89ba4146e7474af1cdbbfd0528415febc2f4fe33..6e7c252568e65707a5a6c47e5a122088579c7d2a 100644 (file)
@@ -38,7 +38,6 @@
                        reg = <0xd800 0xd900>;
                        interrupts = <3 0xd8 0x02 IRQ_TYPE_EDGE_RISING>;
                        interrupt-names = "short";
-                       qcom,num-strings = <3>;
                        qcom,cabc;
                        qcom,external-pfet;
                        status = "disabled";