Commit 89561886 authored by Joel Selvaraj's avatar Joel Selvaraj Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sdm845-xiaomi-beryllium: enable qcom wled backlight and link to panel



Xiaomi Poco F1 uses the QCOM WLED driver for backlight control.
Enable and link it to the panel to use it.

Signed-off-by: default avatarJoel Selvaraj <jo@jsfamily.in>
Reviewed-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/BY5PR02MB70092607CD7CDD8CF8BCD464D9E09@BY5PR02MB7009.namprd02.prod.outlook.com
parent 3213b374
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -231,6 +231,7 @@ panel@0 {
		#address-cells = <1>;
		#size-cells = <0>;

		backlight = <&pmi8998_wled>;
		reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;

		port {
@@ -314,6 +315,17 @@ vol_up_pin_a: vol-up-active {
	};
};

&pmi8998_wled {
	status = "okay";
	qcom,current-boost-limit = <970>;
	qcom,ovp-millivolt = <29600>;
	qcom,current-limit-microamp = <20000>;
	qcom,num-strings = <2>;
	qcom,switching-freq = <600>;
	qcom,external-pfet;
	qcom,cabc;
};

&pm8998_pon {
	resin {
		compatible = "qcom,pm8941-resin";