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

Commit ff0ab49f authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

ARM: dts: msm: Specify HR_LED configuration for PM855B



Homerow LEDs (HR_LED) are present on PM855B which can be used
on sdm855 platforms. Add the required configuration for it.

Change-Id: I46140d3ed8ebdde4d1377449e3deed9e849f3dac
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent e54c87fe
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -266,6 +266,30 @@
		reg = <0x3 SPMI_USID>;
		#address-cells = <2>;
		#size-cells = <0>;

		pm855b_pwm: qcom,pwms@b100 {
			compatible = "qcom,pwm-lpg";
			reg = <0xb100 0x200>;
			reg-names = "lpg-base";
			#pwm-cells = <2>;
		};

		pm855b_hr_led: qcom,leds@d000 {
			compatible = "qcom,tri-led";
			reg = <0xd000 0x100>;
			nvmem-names = "pbs_sdam";
			nvmem = <&pm855_sdam_2>;
			hr_led1 {
				label = "hr_led1";
				pwms = <&pm855b_pwm 0 1000000>;
				led-sources = <0>;
			};
			hr_led2 {
				label = "hr_led2";
				pwms = <&pm855b_pwm 1 1000000>;
				led-sources = <1>;
			};
		};
	};
};