Commit 31222abb authored by Biju Das's avatar Biju Das Committed by Geert Uytterhoeven

arm64: dts: renesas: hihope-rzg2-ex: Enable backlight

This patch enables backlight support.
Signed-off-by: default avatarBiju Das <biju.das@bp.renesas.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/1570029619-43238-8-git-send-email-biju.das@bp.renesas.comSigned-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 68f62751
...@@ -13,6 +13,14 @@ aliases { ...@@ -13,6 +13,14 @@ aliases {
chosen { chosen {
bootargs = "ignore_loglevel rw root=/dev/nfs ip=on"; bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
}; };
backlight {
compatible = "pwm-backlight";
pwms = <&pwm0 0 50000>;
brightness-levels = <0 2 8 16 32 64 128 255>;
default-brightness-level = <6>;
};
}; };
&avb { &avb {
...@@ -82,4 +90,16 @@ can1_pins: can1 { ...@@ -82,4 +90,16 @@ can1_pins: can1 {
groups = "can1_data"; groups = "can1_data";
function = "can1"; function = "can1";
}; };
pwm0_pins: pwm0 {
groups = "pwm0";
function = "pwm0";
};
};
&pwm0 {
pinctrl-0 = <&pwm0_pins>;
pinctrl-names = "default";
status = "okay";
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment