]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:37 +0000 (12:22 +0200)
[ Upstream commit 360f20c801f7ea2ddc9afcbc5ab74cebf8adea6b ]

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
Stable-dep-of: 8db944326903 ("arm64: dts: qcom: pmi8994: Add missing OVP interrupt")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi
arch/arm64/boot/dts/qcom/pmi8994.dtsi

index 7802abac39fa5e5c2a21c7ef7a3ea19487ead115..e85f7cf4a56ce62a67bd98fd1799feeac0ff2db6 100644 (file)
 &pmi8994_wled {
        status = "okay";
        default-brightness = <512>;
+       qcom,num-strings = <3>;
 };
 
 &rpm_requests {
index 166467b637527bf13125f3a2652862b219d23198..81899fe17f2b23e5f4b05c9966223c6af4367020 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";