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 507396c..ff7f39d 100644 (file)
 &pmi8994_wled {
        status = "okay";
        default-brightness = <512>;
+       qcom,num-strings = <3>;
 };
 
 &rpm_requests {
index 89ba414..6e7c252 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";