* [RFC PATCH v3 0/5] rockchip: kevin: Enable edp display
@ 2017-10-17 8:09 Jeffy Chen
2017-10-17 8:09 ` [RFC PATCH v3 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-17 8:09 UTC (permalink / raw)
To: linux-kernel
Cc: Mark Rutland, devicetree, rjw, Will Deacon, dri-devel,
Thierry Reding, Laurent Pinchart, Marek Szyprowski,
linux-samsung-soc, briannorris, Krzysztof Kozlowski,
linux-rockchip, Matthias Kaehlcke, Catalin Marinas, Caesar Wang,
linux-pwm, Arnd Bergmann, Jeffy Chen, broonie, linux-arm-kernel,
zain wang, Tomeu Vizoso, Jingoo Han, Daniel Vetter,
dmitry.torokhov, Seung
Make edp display works on chromebook kevin(at least for boot animation).
Also solve some issues i meet during the bringup.
Changes in v3:
Assign orphan pwms to dummy pwmchip instead of adding device link in the
customer driver.
Changes in v2:
Use device link to correct the suspend/resume and shutdown ordering,
instead of converting rockchip spi's suspend/resume PM callbacks to
late suspend/resume PM callbacks.
Jeffy Chen (4):
arm64: dts: rockchip: Enable edp disaplay on kevin
drm/rockchip: Fix error handling path in rockchip_dp_bind()
pwm: Add dummy pwmchip for orphan pwms
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/pwm/core.c | 84 ++++++++++++++++++++--
include/drm/bridge/analogix_dp.h | 19 ++---
8 files changed, 226 insertions(+), 79 deletions(-)
--
2.11.0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [RFC PATCH v3 1/5] arm64: dts: rockchip: Enable edp disaplay on kevin
2017-10-17 8:09 [RFC PATCH v3 0/5] rockchip: kevin: Enable edp display Jeffy Chen
@ 2017-10-17 8:09 ` Jeffy Chen
0 siblings, 0 replies; 2+ messages in thread
From: Jeffy Chen @ 2017-10-17 8:09 UTC (permalink / raw)
To: linux-kernel
Cc: dmitry.torokhov, heiko, briannorris, rjw, dianders, tfiga,
broonie, seanpaul, Jeffy Chen, Matthias Kaehlcke, Arnd Bergmann,
devicetree, 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>
Reviewed-by: Mark Yao <mark.yao@rock-chips.com>
---
Changes in v3: None
Changes in v2: None
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 related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-17 8:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-17 8:09 [RFC PATCH v3 0/5] rockchip: kevin: Enable edp display Jeffy Chen
2017-10-17 8:09 ` [RFC PATCH v3 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;
as well as URLs for NNTP newsgroup(s).