LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jagan Teki <jagan@amarulasolutions.com>
To: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Chen-Yu Tsai <wens@csie.org>, Icenowy Zheng <icenowy@aosc.io>,
	Jernej Skrabec <jernej.skrabec@siol.net>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will.deacon@arm.com>,
	Michael Trimarchi <michael@amarulasolutions.com>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com,
	Jagan Teki <jagan@amarulasolutions.com>
Subject: [RFC 00/13] arm64: allwinner: Add A64 DE2 pipeline support
Date: Tue, 24 Apr 2018 19:04:12 +0530	[thread overview]
Message-ID: <20180424133425.24291-1-jagan@amarulasolutions.com> (raw)

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.
This series merely concentrated on HDMI pipeline and rest will add eventually.

patch 1: dt-bindings for a64 DE2 CCU

patch 2: a64 DE2 CCU node addition

patch 3: dt-bindings for a64 DE2 pipeline

patch 4 - 5: dt-bindings for a64 mixer0 and tcon-lcd

patch 6: a64 DE2 pipeline node addition

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

patch 9: a64 HDMI nodes addition

patch 10 - 11: dt-bindings for a64 mixer1 and tcon-tv

patch 12: a64 HDMI pipeline

patch 13: enable HDMI out on bananpi-m64

Tested HDMI on bananapi-m64 (along with DE2 SRAM C changes from [1]
thread), able to detect the HDMI but, no penguins on screen.

Request for any suggestions.

Test log on Bananpi-m64:
[    0.247631] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops)
[    0.256717] sun4i-drm display-engine: bound 1200000.mixer (ops sun8i_mixer_ops)
[    0.256783] sun4i-tcon 1c0c000.lcd-controller: Missing LVDS properties, Please upgrade your DT
[    0.256792] sun4i-tcon 1c0c000.lcd-controller: LVDS output disabled
[    0.257081] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    0.257099] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_ops)
[    0.257273] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    0.257288] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops sun4i_tcon_ops)
[    0.258176] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_p)
[    0.258596] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    0.259188] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops)
[    0.259199] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.259205] [drm] No driver support for vblank timestamp query.
[    0.259308] [drm] Cannot find any crtc or sizes
[    0.259824] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0

[1] https://lkml.org/lkml/2018/3/16/1096

Jagan Teki (13):
  dt-bindings: clock: Add compatible for A64 DE2 CCU
  arm64: dts: allwinner: a64: Add DE2 CCU
  bindings: display: Add compatible for A64 DE2 pipeline
  bindings: display: Add compatible for A64 Mixer0
  bindings: display: Add compatible for A64 tcon-lcd
  arm64: dts: allwinner: a64: Add DE2 pipeline
  bindings: display: Add compatible for A64 HDMI
  bindings: display: Add compatible for A64 HDMI PHY
  arm64: dts: allwinner: a64: Add HDMI support
  bindings: display: Add compatible for A64 Mixer1
  bindings: display: Add compatible for A64 tcon-tv
  arm64: dts: allwinner: a64: Add HDMI pipeline
  arm64: dts: allwinner: a64: bananapi-m64: Enable HDMI output

 .../devicetree/bindings/clock/sun8i-de2.txt        |   1 +
 .../bindings/display/sunxi/sun4i-drm.txt           |   7 +
 .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts |  26 +++
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi      | 181 +++++++++++++++++++++
 drivers/gpu/drm/sun4i/sun4i_drv.c                  |   1 +
 include/dt-bindings/clock/sun50i-a64-ccu.h         |   2 +
 6 files changed, 218 insertions(+)

-- 
2.14.3

             reply	other threads:[~2018-04-24 13:34 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-24 13:34 Jagan Teki [this message]
2018-04-24 13:34 ` [RFC 01/13] dt-bindings: clock: Add compatible for A64 DE2 CCU Jagan Teki
2018-04-24 13:34 ` [RFC 02/13] arm64: dts: allwinner: a64: Add " Jagan Teki
2018-04-24 13:34 ` [RFC 03/13] bindings: display: Add compatible for A64 DE2 pipeline Jagan Teki
2018-04-24 13:37   ` Chen-Yu Tsai
2018-04-24 13:34 ` [RFC 04/13] bindings: display: Add compatible for A64 Mixer0 Jagan Teki
2018-04-24 13:34 ` [RFC 05/13] bindings: display: Add compatible for A64 tcon-lcd Jagan Teki
2018-04-24 13:34 ` [RFC 06/13] arm64: dts: allwinner: a64: Add DE2 pipeline Jagan Teki
2018-04-24 13:34 ` [RFC 07/13] bindings: display: Add compatible for A64 HDMI Jagan Teki
2018-04-24 13:34 ` [RFC 08/13] bindings: display: Add compatible for A64 HDMI PHY Jagan Teki
2018-04-24 13:34 ` [RFC 09/13] arm64: dts: allwinner: a64: Add HDMI support Jagan Teki
2018-04-24 15:27   ` Jernej Škrabec
2018-04-24 13:34 ` [RFC 10/13] bindings: display: Add compatible for A64 Mixer1 Jagan Teki
2018-04-24 13:34 ` [RFC 11/13] bindings: display: Add compatible for A64 tcon-tv Jagan Teki
2018-04-24 13:34 ` [RFC 12/13] arm64: dts: allwinner: a64: Add HDMI pipeline Jagan Teki
2018-04-24 13:34 ` [RFC 13/13] arm64: dts: allwinner: a64: bananapi-m64: Enable HDMI output Jagan Teki
2018-04-24 14:08 ` [RFC 00/13] arm64: allwinner: Add A64 DE2 pipeline support Maxime Ripard
2018-04-25 12:59   ` Jagan Teki
2018-04-25 13:55     ` Maxime Ripard
2018-04-25 18:06       ` Jernej Škrabec
2018-04-24 15:32 ` Jernej Škrabec
2018-04-25 10:34   ` Jagan Teki
2018-04-25 17:59     ` Jernej Škrabec
2018-04-26 13:26       ` Jagan Teki
2018-04-26 22:13         ` Jernej Škrabec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180424133425.24291-1-jagan@amarulasolutions.com \
    --to=jagan@amarulasolutions.com \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=icenowy@aosc.io \
    --cc=jernej.skrabec@siol.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=michael@amarulasolutions.com \
    --cc=robh+dt@kernel.org \
    --cc=wens@csie.org \
    --cc=will.deacon@arm.com \
    --subject='Re: [RFC 00/13] arm64: allwinner: Add A64 DE2 pipeline support' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).