From: Neil Armstrong <narmstrong@baylibre.com>
To: daniel@ffwll.ch, devicetree@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org,
linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org,
Neil Armstrong <narmstrong@baylibre.com>
Subject: [PATCH 1/6] dt-bindings: display: amlogic,meson-vpu: add bindings for VPU found in AXG SoCs
Date: Mon, 7 Sep 2020 10:18:20 +0200 [thread overview]
Message-ID: <20200907081825.1654-2-narmstrong@baylibre.com> (raw)
In-Reply-To: <20200907081825.1654-1-narmstrong@baylibre.com>
The Amlogic AXG SoC family has a downgraded VPU supporting only MIPI-DSI output
after it's ENCL DPI encoder output.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
.../bindings/display/amlogic,meson-vpu.yaml | 36 +++++++++++++++++--
1 file changed, 33 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml b/Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml
index a8d202c9d004..e2e7d99d8ace 100644
--- a/Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml
+++ b/Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml
@@ -31,8 +31,10 @@ description: |
The Video Input Unit is in charge of the pixel scanout from the DDR memory.
It fetches the frames addresses, stride and parameters from the "Canvas" memory.
+ On the AXG family, the Video Input Unit direclty reads from DDR memory.
This part is also in charge of the CSC (Colorspace Conversion).
It can handle 2 OSD Planes and 2 Video Planes.
+ On the AXG family, only a single OSD plane without scalins is supported.
VPP: Video Post Processing
--------------------------
@@ -49,11 +51,13 @@ description: |
The VENC is composed of the multiple pixel encoders
- ENCI : Interlace Video encoder for CVBS and Interlace HDMI
- ENCP : Progressive Video Encoder for HDMI
- - ENCL : LCD LVDS Encoder
+ - ENCL : LCD DPI Encoder
The VENC Unit gets a Pixel Clocks (VCLK) from a dedicated HDMI PLL and clock
tree and provides the scanout clock to the VPP and VIU.
The ENCI is connected to a single VDAC for Composite Output.
The ENCI and ENCP are connected to an on-chip HDMI Transceiver.
+ On the AXG and G12A family, the ENCL is connected to a DPI-to-DSI
+ transceiver.
properties:
compatible:
@@ -65,6 +69,7 @@ properties:
- amlogic,meson-gxm-vpu # GXM (S912)
- const: amlogic,meson-gx-vpu
- enum:
+ - amlogic,meson-axg-vpu # AXG (A113D, A113X)
- amlogic,meson-g12a-vpu # G12A (S905X2, S905Y2, S905D2)
reg:
@@ -92,6 +97,11 @@ properties:
description:
A port node pointing to the HDMI-TX port node.
+ port@2:
+ type: object
+ description:
+ A port node pointing to the DPI port node.
+
"#address-cells":
const: 1
@@ -102,11 +112,31 @@ required:
- compatible
- reg
- interrupts
- - port@0
- - port@1
- "#address-cells"
- "#size-cells"
+allOf:
+ - if:
+ properties:
+ compatible:
+ enum:
+ - amlogic,meson-gx-vpu
+ - amlogic,meson-g12a-vpu
+
+ then:
+ required:
+ - port@0
+ - port@1
+ - if:
+ properties:
+ compatible:
+ enum:
+ - amlogic,meson-axg-vpu
+
+ then:
+ required:
+ - port@2
+
additionalProperties: false
examples:
--
2.22.0
next prev parent reply other threads:[~2020-09-07 8:19 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-07 8:18 [PATCH 0/6] drm/meson: add support for AXG & MIPI-DSI Neil Armstrong
2020-09-07 8:18 ` Neil Armstrong [this message]
2020-09-15 15:34 ` [PATCH 1/6] dt-bindings: display: amlogic,meson-vpu: add bindings for VPU found in AXG SoCs Rob Herring
2020-09-07 8:18 ` [PATCH 2/6] dt-bindings: display: add Amlogic MIPI DSI Host Controller bindings Neil Armstrong
2020-09-15 15:41 ` Rob Herring
2020-09-15 16:28 ` Neil Armstrong
2020-09-07 8:18 ` [PATCH 3/6] drm/meson: add support for VPU found in AXG SoCs Neil Armstrong
2020-09-07 8:18 ` [PATCH 4/6] drm/meson: venc: add ENCL encoder setup for MIPI-DSI output Neil Armstrong
2020-09-07 8:18 ` [PATCH 5/6] drm/meson: remove useless recursive components matching Neil Armstrong
2020-09-07 8:18 ` [PATCH 6/6] drm/meson: add support for MIPI-DSI transceiver Neil Armstrong
2020-09-07 8:43 ` Daniel Vetter
2020-09-07 8:44 ` Daniel Vetter
2020-09-07 9:03 ` Neil Armstrong
2020-09-07 18:03 ` Daniel Vetter
2020-09-08 8:06 ` Neil Armstrong
2020-09-08 8:46 ` Daniel Vetter
2020-09-17 7:14 ` Neil Armstrong
2020-09-17 11:32 ` Daniel Vetter
2022-01-12 7:24 ` Jagan Teki
2022-01-12 8:19 ` Neil Armstrong
2022-01-20 11:03 ` Jagan Teki
2022-01-20 13:28 ` Neil Armstrong
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=20200907081825.1654-2-narmstrong@baylibre.com \
--to=narmstrong@baylibre.com \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).