Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1432469 > unrolled thread
| Started by | Yakir Yang <ykk@rock-chips.com> |
|---|---|
| First post | 2016-06-28 07:00 +0200 |
| Last post | 2016-07-08 00:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v1 3/5] ARM: dts: rockchip: add eDP/panel display device nodes for rk3288-evb Yakir Yang <ykk@rock-chips.com> - 2016-06-28 07:00 +0200
Re: [PATCH v1 3/5] ARM: dts: rockchip: add eDP/panel display device nodes for rk3288-evb Heiko Stuebner <heiko@sntech.de> - 2016-07-08 00:40 +0200
| From | Yakir Yang <ykk@rock-chips.com> |
|---|---|
| Date | 2016-06-28 07:00 +0200 |
| Subject | [PATCH v1 3/5] ARM: dts: rockchip: add eDP/panel display device nodes for rk3288-evb |
| Message-ID | <rOThT-25m-17@gated-at.bofh.it> |
The default eDP panel on RK3288 EVB board is LG LP079QX1-SP0V TFT LCD,
we haven't declared the panel regulator in the 'panel-simple' device
node here, so the specific board like ACT8846 / RK8080 need to support
the panel power supply.
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
---
arch/arm/boot/dts/rk3288-evb.dtsi | 43 ++++++++++++++++++++++++++++++++++++++-
1 file changed, 42 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi
index 963365d..f293c44 100644
--- a/arch/arm/boot/dts/rk3288-evb.dtsi
+++ b/arch/arm/boot/dts/rk3288-evb.dtsi
@@ -48,7 +48,7 @@
reg = <0x0 0x80000000>;
};
- backlight {
+ backlight: backlight {
compatible = "pwm-backlight";
brightness-levels = <
0 1 2 3 4 5 6 7
@@ -97,6 +97,20 @@
#clock-cells = <0>;
};
+ panel: panel {
+ compatible ="lg,lp079qx1-sp0v", "simple-panel";
+ backlight = <&backlight>;
+ enable-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>;
+ pinctrl-0 = <&lcd_cs>;
+ ports {
+ panel_in: port {
+ panel_in_edp: endpoint {
+ remote-endpoint = <&edp_out_panel>;
+ };
+ };
+ };
+ };
+
gpio-keys {
compatible = "gpio-keys";
autorepeat;
@@ -216,6 +230,27 @@
status = "okay";
};
+&edp_phy {
+ status = "okay";
+};
+
+&edp {
+ force-hpd;
+ status = "okay";
+
+ ports {
+ edp_out: port@1 {
+ reg = <1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ edp_out_panel: endpoint {
+ reg = <0>;
+ remote-endpoint = <&panel_in_edp>;
+ };
+ };
+ };
+};
+
&i2c0 {
status = "okay";
};
@@ -322,6 +357,12 @@
rockchip,pins = <0 6 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
+
+ lcd {
+ lcd_cs: lcd-cs {
+ rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
};
&usbphy {
--
1.9.1
[toc] | [next] | [standalone]
| From | Heiko Stuebner <heiko@sntech.de> |
|---|---|
| Date | 2016-07-08 00:40 +0200 |
| Message-ID | <rSq7E-4C3-19@gated-at.bofh.it> |
| In reply to | #1432469 |
Am Dienstag, 28. Juni 2016, 12:51:18 schrieb Yakir Yang: > The default eDP panel on RK3288 EVB board is LG LP079QX1-SP0V TFT LCD, > we haven't declared the panel regulator in the 'panel-simple' device > node here, so the specific board like ACT8846 / RK8080 need to support > the panel power supply. > > Signed-off-by: Yakir Yang <ykk@rock-chips.com> applied, after reordering the entries to keep our alphabetical sorting. Heiko
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web