mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
ARM64: dts: rk3399: gru: add backlight and eDP panel device nodes
Panel brightness is controller by EC, the AP just enable/disable the backlight power through GPIO1_C1. Change-Id: I46e1f3b5098159cb07f86ba203ef8cfa102dd385 Signed-off-by: Yakir Yang <ykk@rock-chips.com> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
This commit is contained in:
@@ -486,6 +486,25 @@
|
||||
rockchip,i2s-controller = <&i2s0>;
|
||||
rockchip,audio-codec = <&codec>;
|
||||
};
|
||||
|
||||
backlight: backlight {
|
||||
compatible = "gpio-backlight";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bl_en>;
|
||||
gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
edp_panel: edp-panel {
|
||||
compatible = "samsung,lsn122dl01-c01", "panel-simple";
|
||||
backlight = <&backlight>;
|
||||
power-supply = <&pp3300_disp>;
|
||||
|
||||
ports {
|
||||
panel_in_edp: endpoint {
|
||||
remote-endpoint = <&edp_out_panel>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cpu_l0 {
|
||||
@@ -832,6 +851,19 @@ ap_i2c_audio: &i2c8 {
|
||||
|
||||
&edp {
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
edp_out: port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
edp_out_panel: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&panel_in_edp>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&vopb {
|
||||
@@ -1030,6 +1062,12 @@ ap_i2c_audio: &i2c8 {
|
||||
rockchip,pins = <3 12 RK_FUNC_GPIO &pcfg_output_high>;
|
||||
};
|
||||
};
|
||||
|
||||
backlight-enable {
|
||||
bl_en: bl-en {
|
||||
rockchip,pins = <1 17 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* DON'T PUT ANYTHING BELOW HERE. PUT IT ABOVE PINCTRL */
|
||||
|
||||
Reference in New Issue
Block a user