All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/21] arm64: allwinner: Add A64 DE2 HDMI support
@ 2018-04-30 11:40 ` Jagan Teki
  0 siblings, 0 replies; 127+ messages in thread
From: Jagan Teki @ 2018-04-30 11:40 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: Chen-Yu Tsai, Icenowy Zheng, Jernej Skrabec, Rob Herring,
	Mark Rutland, Catalin Marinas, Will Deacon, David Airlie,
	dri-devel, Michael Turquette, Stephen Boyd, linux-clk,
	Michael Trimarchi, linux-arm-kernel, devicetree, linux-kernel,
	linux-sunxi, Jagan Teki

Allwinner A64 has display engine pipeline like other Allwinner SOC's A83T/H3/H5.

A64 DE2 behaviour similar to Allwinner A83T where mixer0, connected to tcon0
with RGB, LVDS MIPI-DSI and mixer1, connected to tcon1 with HDMI as per
Display System Block DiagramAllwinner_A64_User_Manual_V1.1.pdf

This is the first series on Allwinner A64 DE2 HDMI support which followed
with previous RFC series [1] (thanks to Maxime, Jernej for comments on RFC series)
and rest will add in future patches.

patch 1: dt-bindings for a64 de2 ccu

patch 2: add node support for a64 de2 ccu

patch 3: enable DE2_CCU for Allwinner 64-bit SoCs

patch 4: dt-bindings for a64 de2 pipeline

patch 5: add support for a64 de2

patch 6: defconfig: enable CONFIG_DRM_SUN4I

patch 7 -8: dt-bindings for a64 HDMI and HDMI PHY

patch 9: add support for a64 HDMI

patch 10: enable DesignWare HDMI for Allwinner 64-bit SoCs

patch 11 - 12: dt-bindings for a64 mixer1 and tcon1

patch 13: enable de2 mixer for Allwinner 64-bit SoCs

patch 14: add support for a64 HDMI pipeline

patch 15: add support for HVCC regulator

patch 16: enable HDMI out for bananapi-m64

patch 17: enable HDMI out for nanopi-a64

patch 18: enable HDMI out for orangepi-win

patch 19: enable HDMI out for a64-olinuxino

patch 20: enable HDMI out for pine64

patch 21: enable HDMI out for sopine

Since this series added HDMI through mixer1 through tcon1,
I have used CLK_PLL_VIDEO1 as pll-0 we need to update the driver
to support both CLK_PLL_VIDEO0 and 1 once we have add hdmi through mixer0.

Note:
with pine64 and sopine, I'm unable to see any display on screen but
loadded fine, request to verify anyone.

Log:
---
# modprobe -a sun4i-drm sun8i-mixer sun4i_tv sun4i-drm-hdmi sun8i-drm-hdmi          
[   13.390465] sun4i-drm display-engine: bound 1200000.mixer (ops sun8i_mixer_ops [sun8i_mixer])
[   13.399247] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[   13.407113] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops sun4i_tcon_ops [sun4i_tcon])
[   13.417386] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_ph
y)                                                                                  
[   13.427436] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[   13.435987] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops [sun8i_drm_hdmi])
[   13.444868] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).          
[   13.451498] [drm] No driver support for vblank timestamp query.                  
[   13.922226] Console: switching to colour frame buffer device 320x90              
[   14.008789] sun4i-drm display-engine: fb0:  frame buffer device                  
[   14.028297] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0

[1] https://lkml.org/lkml/2018/4/24/547

Icenowy Zheng (1):
  drm: sun4i: add support for HVCC regulator for DWC HDMI glue

Jagan Teki (20):
  dt-bindings: clock: Add compatible for A64 DE2 CCU
  arm64: dts: allwinner: a64: Add DE2 CCU
  clk: sunxi-ng: Enable DE2_CCU for Allwinner 64-bit SoCs
  bindings: display: Add compatible for A64 DE2 pipeline
  drm/sun4i: Add support for A64 display engine
  arm64: defconfig: Enable CONFIG_DRM_SUN4I
  bindings: display: Add compatible for A64 HDMI
  bindings: display: Add compatible for A64 HDMI PHY
  arm64: dts: allwinner: a64: Add HDMI support
  drm/sun4i: Enable DesignWare HDMI for Allwinner 64-bit SoCs
  bindings: display: Add compatible for A64 Mixer1
  bindings: display: Add compatible for A64 tcon-tv
  drm/sun4i: Enable DE2 Mixer for Allwinner 64-bit SoCs
  arm64: dts: allwinner: a64: Add HDMI pipeline
  arm64: dts: allwinner: a64: bananapi-m64: Enable HDMI output
  arm64: dts: allwinner: a64: nanopi-a64: Enable HDMI output
  arm64: dts: allwinner: a64: orangepi-win: Enable HDMI output
  arm64: dts: allwinner: a64: a64-olinuxino: Enable HDMI output
  arm64: dts: allwinner: a64: pine64: Enable HDMI output
  arm64: dts: allwinner: a64: sopine: Enable HDMI output

 .../devicetree/bindings/clock/sun8i-de2.txt        |   1 +
 .../bindings/display/sunxi/sun4i-drm.txt           |   5 +
 .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts |  26 +++++
 .../boot/dts/allwinner/sun50i-a64-nanopi-a64.dts   |  26 +++++
 .../boot/dts/allwinner/sun50i-a64-olinuxino.dts    |  26 +++++
 .../boot/dts/allwinner/sun50i-a64-orangepi-win.dts |  26 +++++
 .../arm64/boot/dts/allwinner/sun50i-a64-pine64.dts |  26 +++++
 .../dts/allwinner/sun50i-a64-sopine-baseboard.dts  |  26 +++++
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi      | 126 +++++++++++++++++++++
 arch/arm64/configs/defconfig                       |   1 +
 drivers/clk/sunxi-ng/Kconfig                       |   2 +
 drivers/gpu/drm/sun4i/Kconfig                      |   3 +-
 drivers/gpu/drm/sun4i/sun4i_drv.c                  |   1 +
 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c              |  14 +++
 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h              |   2 +
 include/dt-bindings/clock/sun50i-a64-ccu.h         |   2 +
 16 files changed, 312 insertions(+), 1 deletion(-)

-- 
2.14.3

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

end of thread, other threads:[~2018-05-15 11:19 UTC | newest]

Thread overview: 127+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-30 11:40 [PATCH 00/21] arm64: allwinner: Add A64 DE2 HDMI support Jagan Teki
2018-04-30 11:40 ` Jagan Teki
2018-04-30 11:40 ` [PATCH 01/21] dt-bindings: clock: Add compatible for A64 DE2 CCU Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-05-01 16:16   ` Rob Herring
2018-05-01 16:16     ` Rob Herring
2018-05-01 16:16     ` Rob Herring
2018-05-01 16:19     ` Chen-Yu Tsai
2018-05-01 16:19       ` Chen-Yu Tsai
2018-05-01 16:19       ` Chen-Yu Tsai
2018-05-01 16:34       ` Rob Herring
2018-05-01 16:34         ` Rob Herring
2018-05-01 16:34         ` Rob Herring
2018-04-30 11:40 ` [PATCH 02/21] arm64: dts: allwinner: a64: Add " Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-05-02 11:32   ` Maxime Ripard
2018-05-02 11:32     ` Maxime Ripard
2018-05-02 11:32     ` Maxime Ripard
2018-05-02 11:34     ` [linux-sunxi] " Icenowy Zheng
2018-05-02 11:34       ` Icenowy Zheng
2018-05-02 11:34       ` Icenowy Zheng
2018-05-02 11:49       ` [linux-sunxi] " Maxime Ripard
2018-05-02 11:49         ` Maxime Ripard
2018-05-02 11:49         ` Maxime Ripard
2018-05-02 11:50       ` [linux-sunxi] " Jagan Teki
2018-05-02 11:50         ` Jagan Teki
2018-05-02 11:50         ` Jagan Teki
2018-05-02 11:50         ` Jagan Teki
2018-05-02 11:55         ` [linux-sunxi] " Icenowy Zheng
2018-05-02 11:55           ` Icenowy Zheng
2018-04-30 11:40 ` [PATCH 03/21] clk: sunxi-ng: Enable DE2_CCU for Allwinner 64-bit SoCs Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-05-01 16:23   ` Chen-Yu Tsai
2018-05-01 16:23     ` Chen-Yu Tsai
2018-05-01 16:23     ` Chen-Yu Tsai
2018-05-14  8:20     ` Jagan Teki
2018-05-14  8:20       ` Jagan Teki
2018-05-14  8:20       ` Jagan Teki
2018-05-14 16:43       ` Chen-Yu Tsai
2018-05-14 16:43         ` Chen-Yu Tsai
2018-05-14 16:43         ` Chen-Yu Tsai
2018-04-30 11:40 ` [PATCH 04/21] bindings: display: Add compatible for A64 DE2 pipeline Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-05-01 16:17   ` Rob Herring
2018-05-01 16:17     ` Rob Herring
2018-05-01 16:17     ` Rob Herring
2018-05-01 16:31     ` Chen-Yu Tsai
2018-05-01 16:31       ` Chen-Yu Tsai
2018-05-01 16:31       ` Chen-Yu Tsai
2018-05-01 16:34       ` Rob Herring
2018-05-01 16:34         ` Rob Herring
2018-05-01 16:34         ` Rob Herring
2018-04-30 11:40 ` [PATCH 05/21] drm/sun4i: Add support for A64 display engine Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-04-30 11:40 ` [PATCH 06/21] arm64: defconfig: Enable CONFIG_DRM_SUN4I Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-04-30 11:40 ` [PATCH 07/21] bindings: display: Add compatible for A64 HDMI Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-04-30 11:40 ` [PATCH 08/21] bindings: display: Add compatible for A64 HDMI PHY Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-05-01 16:19   ` Rob Herring
2018-05-01 16:19     ` Rob Herring
2018-05-01 16:19     ` Rob Herring
2018-05-02  6:27     ` Jagan Teki
2018-05-02  6:27       ` Jagan Teki
2018-05-02 12:37       ` Rob Herring
2018-05-02 12:37         ` Rob Herring
2018-05-02 12:37         ` Rob Herring
2018-04-30 11:40 ` [PATCH 09/21] arm64: dts: allwinner: a64: Add HDMI support Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-05-01 16:20   ` Rob Herring
2018-05-01 16:20     ` Rob Herring
2018-05-01 16:20     ` Rob Herring
2018-05-02 11:34   ` Maxime Ripard
2018-05-02 11:34     ` Maxime Ripard
2018-05-02 11:34     ` Maxime Ripard
2018-05-14  8:33     ` Jagan Teki
2018-05-14  8:33       ` Jagan Teki
2018-05-14  8:33       ` Jagan Teki
2018-05-14  8:40       ` Maxime Ripard
2018-05-14  8:40         ` Maxime Ripard
2018-05-14  8:40         ` Maxime Ripard
2018-05-14 10:31         ` Jagan Teki
2018-05-14 10:31           ` Jagan Teki
2018-05-14 10:31           ` Jagan Teki
2018-05-15 11:19           ` Maxime Ripard
2018-05-15 11:19             ` Maxime Ripard
2018-05-15 11:19             ` Maxime Ripard
2018-04-30 11:40 ` [PATCH 10/21] drm/sun4i: Enable DesignWare HDMI for Allwinner 64-bit SoCs Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-05-01 16:20   ` Chen-Yu Tsai
2018-05-01 16:20     ` Chen-Yu Tsai
2018-05-01 16:20     ` Chen-Yu Tsai
2018-04-30 11:40 ` [PATCH 11/21] bindings: display: Add compatible for A64 Mixer1 Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-05-01 16:21   ` Rob Herring
2018-05-01 16:21     ` Rob Herring
2018-05-01 16:21     ` Rob Herring
2018-04-30 11:40 ` [PATCH 12/21] bindings: display: Add compatible for A64 tcon-tv Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-05-01 16:22   ` Rob Herring
2018-05-01 16:22     ` Rob Herring
2018-05-01 16:22     ` Rob Herring
2018-04-30 11:40 ` [PATCH 13/21] drm/sun4i: Enable DE2 Mixer for Allwinner 64-bit SoCs Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-04-30 11:40 ` [PATCH 14/21] arm64: dts: allwinner: a64: Add HDMI pipeline Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-04-30 11:40 ` [PATCH 15/21] drm: sun4i: add support for HVCC regulator for DWC HDMI glue Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-05-02 11:48   ` Maxime Ripard
2018-05-02 11:48     ` Maxime Ripard
2018-05-02 11:48     ` Maxime Ripard
2018-05-02 11:51     ` Icenowy Zheng
2018-05-02 11:51       ` Icenowy Zheng
2018-05-02 11:51       ` Icenowy Zheng
2018-04-30 11:40 ` [PATCH 16/21] arm64: dts: allwinner: a64: bananapi-m64: Enable HDMI output Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-04-30 11:40 ` [PATCH 17/21] arm64: dts: allwinner: a64: nanopi-a64: " Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-04-30 11:40 ` [PATCH 18/21] arm64: dts: allwinner: a64: orangepi-win: " Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-04-30 11:40 ` [PATCH 19/21] arm64: dts: allwinner: a64: a64-olinuxino: " Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-04-30 11:40 ` [PATCH 20/21] arm64: dts: allwinner: a64: pine64: " Jagan Teki
2018-04-30 11:40   ` Jagan Teki
2018-04-30 11:40 ` [PATCH 21/21] arm64: dts: allwinner: a64: sopine: " Jagan Teki
2018-04-30 11:40   ` Jagan Teki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.