Commit 32a75cb5 authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Shawn Guo
Browse files

arm64: dts: imx8mq-librem5: use multicolor leds description for RGB led



As Documentation/leds/well-known-leds.txt says, "Phones usually have
multi-color status LED." Fix that for the Librem 5 mobile phone board.

Signed-off-by: default avatarMartin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent ac9e22f4
Loading
Loading
Loading
Loading
+16 −16
Original line number Diff line number Diff line
@@ -56,29 +56,29 @@
	};

	led-controller {
		compatible = "pwm-leds";
		compatible = "pwm-leds-multicolor";

		led-0 {
		multi-led {
			color = <LED_COLOR_ID_RGB>;
			function = LED_FUNCTION_STATUS;
			color = <LED_COLOR_ID_BLUE>;
			max-brightness = <248>;

			led-0 {
				color = <LED_COLOR_ID_BLUE>;
				pwms = <&pwm2 0 50000 0>;
			};

			led-1 {
			function = LED_FUNCTION_STATUS;
				color = <LED_COLOR_ID_GREEN>;
			max-brightness = <248>;
				pwms = <&pwm4 0 50000 0>;
			};

			led-2 {
			function = LED_FUNCTION_STATUS;
				color = <LED_COLOR_ID_RED>;
			max-brightness = <248>;
				pwms = <&pwm3 0 50000 0>;
			};
		};
	};

	reg_aud_1v8: regulator-audio-1v8 {
		compatible = "regulator-fixed";