diff options
author | Wyon Bi <bivvy.bi@rock-chips.com> | 2017-08-18 15:44:23 +0800 |
---|---|---|
committer | Huang, Tao <huangtao@rock-chips.com> | 2017-08-22 12:07:14 +0800 |
commit | 9c0ea1f779f5ee455c15c98356dad8ef473eba90 (patch) | |
tree | a1ae7b819f0e3db8bc25e59ba5085956b18836e7 /arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts | |
parent | dd25e35e0850e011f94748cb061c63b84f7ada2b (diff) |
arm64: dts: rockchip: rk3399-sapphire-excavator: correct eDP panel node
Change-Id: If252cfa786c8018ba07807387b69493de46c7173
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts | 58 |
1 files changed, 45 insertions, 13 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts b/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts index 426777c89940..4418aae86a1c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts @@ -50,15 +50,49 @@ model = "Rockchip RK3399 Excavator Board edp (Android)"; compatible = "rockchip,android", "rockchip,rk3399-excavator-edp", "rockchip,rk3399"; - edp_panel: edp-panel { - compatible = "lg,lp079qx1-sp0v", "panel-simple"; + vcc_lcd: vcc-lcd { + compatible = "regulator-fixed"; + regulator-name = "vcc_lcd"; + gpio = <&gpio4 30 GPIO_ACTIVE_HIGH>; + startup-delay-us = <20000>; + enable-active-high; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + vin-supply = <&vcc5v0_sys>; + }; + + panel: panel { + compatible = "simple-panel"; backlight = <&backlight>; - power-supply = <&vcc3v3_s0>; - enable-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; + power-supply = <&vcc_lcd>; + enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; + prepare-delay-ms = <20>; + enable-delay-ms = <20>; + + display-timings { + native-mode = <&timing0>; + + timing0: timing0 { + clock-frequency = <200000000>; + hactive = <1536>; + vactive = <2048>; + hfront-porch = <12>; + hsync-len = <16>; + hback-porch = <48>; + vfront-porch = <8>; + vsync-len = <4>; + vback-porch = <8>; + hsync-active = <0>; + vsync-active = <0>; + de-active = <0>; + pixelclk-active = <0>; + }; + }; ports { - panel_in_edp: endpoint { - remote-endpoint = <&edp_out_panel>; + panel_in: endpoint { + remote-endpoint = <&edp_out>; }; }; }; @@ -81,21 +115,19 @@ &backlight { status = "okay"; - enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; + enable-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; }; &edp { status = "okay"; + force-hpd; ports { - edp_out: port@1 { + port@1 { reg = <1>; - #address-cells = <1>; - #size-cells = <0>; - edp_out_panel: endpoint@0 { - reg = <0>; - remote-endpoint = <&panel_in_edp>; + edp_out: endpoint { + remote-endpoint = <&panel_in>; }; }; }; |