Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2225a283 authored by Shantanu Jain's avatar Shantanu Jain
Browse files

ARM: dts: msm: Add WLED module for PMI thorium



Add WLED module for PMI thorium.
WLED module drives a series / parallel combination of string(s)
of white LEDs that are used to backlight LCD panels.

Change-Id: I26afafdce43e185d759718f70b3c191698edac52
Signed-off-by: default avatarShantanu Jain <shjain@codeaurora.org>
parent 9a39016f
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -354,5 +354,34 @@
			qcom,supported-sizes = <6>, <9>;
			#pwm-cells = <2>;
		};

		qcom,leds@d800 {
			compatible = "qcom,qpnp-wled";
			reg = <0xd800 0x100>,
				<0xd900 0x100>;
			reg-names = "qpnp-wled-ctrl-base",
					"qpnp-wled-sink-base";
			interrupts = <0x3 0xd8 0x2>;
			interrupt-names = "sc-irq";
			status = "okay";
			linux,name = "wled";
			linux,default-trigger = "bkl-trigger";
			qcom,fdbk-output = "auto";
			qcom,vref-mv = <350>;
			qcom,switch-freq-khz = <800>;
			qcom,ovp-mv = <29500>;
			qcom,ilim-ma = <980>;
			qcom,boost-duty-ns = <26>;
			qcom,mod-freq-khz = <9600>;
			qcom,dim-mode = "hybrid";
			qcom,dim-method = "linear";
			qcom,hyb-thres = <625>;
			qcom,sync-dly-us = <800>;
			qcom,fs-curr-ua = <20000>;
			qcom,en-phase-stag;
			qcom,led-strings-list = [00 01];
			qcom,en-ext-pfet-sc-pro;
		};

	};
};