* [PATCH v5 0/9] rockchip: kevin: Enable edp display
@ 2017-10-18 12:09 Jeffy Chen
[not found] ` <20171018120944.7819-1-jeffy.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Jeffy Chen @ 2017-10-18 12:09 UTC (permalink / raw)
To: linux-kernel
Cc: Mark Rutland, Neil Armstrong, Catalin Marinas, Will Deacon,
dri-devel, Klaus Goger, Laurent Pinchart, Romain Perier,
Marek Szyprowski, linux-samsung-soc, Jonathan Corbet,
Kevin Hilman, briannorris, Krzysztof Kozlowski, linux-rockchip,
Matthias Kaehlcke, Daniel Vetter, Caesar Wang, Jose Abreu,
devicetree, Arnd Bergmann, Jeffy Chen, Russell King
Make edp display works on chromebook kevin(at least for boot animation).
Also solve some issues i meet during the bringup.
Changes in v5:
Call the destroy hook in the error handling path like in unbind().
Call the destroy hook in the error handling path like in unbind().
Update cleanup order in unbind().
Add disable to unbind(), and inline clk_prepare_enable() with bind().
Jeffy Chen (9):
arm64: dts: rockchip: Enable edp disaplay on kevin
drm/rockchip: analogix_dp: Remove unnecessary init code
drm/bridge: analogix: Do not use device's drvdata
drm/bridge: analogix_dp: Fix connector & encoder cleanup
drm/rockchip: dw-mipi-dsi: Fix error handling path
drm/rockchip: inno_hdmi: Fix error handling path
drm/bridge/synopsys: dw-hdmi: Add missing bridge detach
drm/bridge/synopsys: dw-hdmi: Do not use device's drvdata
drm/rockchip: dw_hdmi: Fix error handling path
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 | 52 +++++--------
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 53 ++++++-------
drivers/gpu/drm/exynos/exynos_dp.c | 29 +++++---
drivers/gpu/drm/imx/dw_hdmi-imx.c | 22 +++---
drivers/gpu/drm/meson/meson_dw_hdmi.c | 20 +++--
drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c | 14 +++-
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 87 ++++++++++------------
drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 21 ++++--
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 39 +++++-----
drivers/gpu/drm/rockchip/inno_hdmi.c | 22 ++++--
include/drm/bridge/analogix_dp.h | 19 +++--
include/drm/bridge/dw_hdmi.h | 17 +++--
14 files changed, 257 insertions(+), 183 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
* [PATCH v5 1/9] arm64: dts: rockchip: Enable edp disaplay on kevin
[not found] ` <20171018120944.7819-1-jeffy.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
@ 2017-10-18 12:09 ` Jeffy Chen
0 siblings, 0 replies; 2+ messages in thread
From: Jeffy Chen @ 2017-10-18 12:09 UTC (permalink / raw)
To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
Cc: briannorris-F7+t8E8rja9g9hUCZPvPmw,
seanpaul-F7+t8E8rja9g9hUCZPvPmw, dianders-F7+t8E8rja9g9hUCZPvPmw,
heiko-4mtYJXux2i+zQB+pC5nmwQ, tfiga-F7+t8E8rja9g9hUCZPvPmw,
Jeffy Chen, Matthias Kaehlcke, Arnd Bergmann,
devicetree-u79uwXL29TY76Z2rM5mHXA, Klaus Goger,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Rob Herring,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Will Deacon,
Mark Rutland, Caesar Wang, Catalin Marinas
Add edp panel and enable related nodes on kevin.
Signed-off-by: Jeffy Chen <jeffy.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
Reviewed-by: Mark Yao <mark.yao-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
---
Changes in v5: 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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-18 12:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-18 12:09 [PATCH v5 0/9] rockchip: kevin: Enable edp display Jeffy Chen
[not found] ` <20171018120944.7819-1-jeffy.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2017-10-18 12:09 ` [PATCH v5 1/9] 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).