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

Commit db3b9baa authored by Marek Vasut's avatar Marek Vasut Committed by Shawn Guo
Browse files

ARM: mxs: Add backlight support for M28EVK



This patch adds backlight support for M28EVK.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent a74d2ec7
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -235,6 +235,12 @@
				pinctrl-0 = <&auart2_2pins_b>;
				status = "okay";
			};

			pwm: pwm@80064000 {
				pinctrl-names = "default";
				pinctrl-0 = <&pwm4_pins_a>;
				status = "okay";
			};
		};
	};

@@ -270,6 +276,13 @@
		};
	};

	backlight {
		compatible = "pwm-backlight";
		pwms = <&pwm 4 5000000>;
		brightness-levels = <0 4 8 16 32 64 128 255>;
		default-brightness-level = <6>;
	};

	regulators {
		compatible = "simple-bus";