mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 03:59:40 +02:00
arm64: dts: freescale: moduline-display-av101hdt-a10: add backlight
Add the missing backlight driver. Signed-off-by: Maud Spierings <maudspierings@gocontroll.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
This commit is contained in:
parent
54d6013299
commit
3c862bdf2e
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
panel {
|
||||
compatible = "boe,av101hdt-a10";
|
||||
backlight = <&backlight>;
|
||||
enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-0 = <&pinctrl_panel>;
|
||||
pinctrl-names = "default";
|
||||
|
|
@ -40,7 +41,30 @@ reg_vbus: regulator-vbus {
|
|||
};
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
backlight: backlight@6f {
|
||||
compatible = "maxim,max25014";
|
||||
reg = <0x6f>;
|
||||
default-brightness = <50>;
|
||||
enable-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_backlight>;
|
||||
maxim,iset = <7>;
|
||||
maxim,strings = <1 1 1 0>;
|
||||
};
|
||||
};
|
||||
|
||||
&iomuxc {
|
||||
pinctrl_backlight: backlightgrp {
|
||||
fsl,pins = <
|
||||
MX8MP_IOMUXC_GPIO1_IO04__GPIO1_IO04
|
||||
(MX8MP_PULL_UP | MX8MP_PULL_ENABLE)
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_panel: panelgrp {
|
||||
fsl,pins = <
|
||||
MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user