mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] rockchip: kevin: Enable edp display
@ 2017-10-16  9:59 Jeffy Chen
  2017-10-16  9:59 ` [PATCH 1/5] arm64: dts: rockchip: Enable edp disaplay on kevin Jeffy Chen
  0 siblings, 1 reply; 2+ messages in thread
From: Jeffy Chen @ 2017-10-16  9:59 UTC (permalink / raw)
  To: linux-kernel
  Cc: dmitry.torokhov, heiko, briannorris, rjw, dianders, tfiga,
	broonie, seanpaul, Jeffy Chen, Andrzej Hajda, linux-fbdev,
	Arnd Bergmann, linux-pwm, dri-devel, Bartlomiej Zolnierkiewicz,
	Daniel Thompson, David Airlie, Catalin Marinas, Laurent Pinchart,
	Krzysztof Kozlowski, linux-samsung-soc, Seung-Woo Kim, Inki Dae,
	linux-rockchip, Kyungmin Park, Rob Herring, Caesar Wang,
	Matthias Kaehlcke, devicetree, Kukjin Kim, Thierry Reding,
	Tomeu Vizoso, zain wang, Will Deacon, Lee Jones, Archit Taneja,
	Joonyoung Shim, linux-arm-kernel, Marek Szyprowski,
	Daniel Vetter, Klaus Goger, Mark Yao, Neil Armstrong, Jingoo Han,
	Mark Rutland


Make edp display works on chromebook kevin(at least for boot animation).

Also solve some issues i meet during the bringup.


Jeffy Chen (4):
  arm64: dts: rockchip: Enable edp disaplay on kevin
  backlight: pwm_bl: Add device link for pwm_bl and pwm
  drm/rockchip: Fix error handling path in rockchip_dp_bind()
  drm/rockchip: Add device links for master and components

Tomasz Figa (1):
  drm/bridge/analogix: Do not use device's drvdata

 arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts  | 29 +++++++++++
 arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi       | 16 ++++++
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 50 ++++++++-----------
 drivers/gpu/drm/exynos/exynos_dp.c                 | 26 +++++-----
 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c    | 57 ++++++++++++++--------
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c        | 24 +++++++--
 drivers/video/backlight/pwm_bl.c                   |  2 +
 include/drm/bridge/analogix_dp.h                   | 19 +++++---
 8 files changed, 151 insertions(+), 72 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/5] arm64: dts: rockchip: Enable edp disaplay on kevin
  2017-10-16  9:59 [PATCH 0/5] rockchip: kevin: Enable edp display Jeffy Chen
@ 2017-10-16  9:59 ` Jeffy Chen
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffy Chen @ 2017-10-16  9:59 UTC (permalink / raw)
  To: linux-kernel
  Cc: dmitry.torokhov, heiko, briannorris, rjw, dianders, tfiga,
	broonie, seanpaul, Jeffy Chen, Matthias Kaehlcke, Arnd Bergmann,
	devicetree, Klaus Goger, linux-rockchip, Rob Herring,
	linux-arm-kernel, Will Deacon, Mark Rutland, Caesar Wang,
	Catalin Marinas

Add edp panel and enable related nodes on kevin.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---

 arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 29 +++++++++++++++++++++++
 arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi      | 16 +++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts
index a3d3cea7dc4f..bc67b19f0af5 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts
@@ -93,6 +93,18 @@
 		pwm-delay-us = <10000>;
 	};
 
+	edp_panel: edp-panel {
+		compatible = "sharp,lq123p1jx31", "simple-panel";
+		backlight = <&backlight>;
+		power-supply = <&pp3300_disp>;
+
+		ports {
+			panel_in_edp: endpoint {
+				remote-endpoint = <&edp_out_panel>;
+			};
+		};
+	};
+
 	thermistor_ppvar_bigcpu: thermistor-ppvar-bigcpu {
 		compatible = "murata,ncp15wb473";
 		pullup-uv = <1800000>;
@@ -264,6 +276,23 @@ ap_i2c_dig: &i2c2 {
 	};
 };
 
+&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>;
+			};
+		};
+	};
+};
+
 &ppvar_bigcpu_pwm {
 	regulator-min-microvolt = <798674>;
 	regulator-max-microvolt = <1302172>;
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi
index 5772c52fbfd3..470105d651c2 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi
@@ -927,6 +927,22 @@ ap_i2c_audio: &i2c8 {
 	dr_mode = "host";
 };
 
+&vopb {
+	status = "okay";
+};
+
+&vopb_mmu {
+	status = "okay";
+};
+
+&vopl {
+	status = "okay";
+};
+
+&vopl_mmu {
+	status = "okay";
+};
+
 #include <arm/cros-ec-keyboard.dtsi>
 #include <arm/cros-ec-sbs.dtsi>
 
-- 
2.11.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-16 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-16  9:59 [PATCH 0/5] rockchip: kevin: Enable edp display Jeffy Chen
2017-10-16  9:59 ` [PATCH 1/5] arm64: dts: rockchip: Enable edp disaplay on kevin Jeffy Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®