mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Zinan Zhou <zinan@mieulab.com>
To: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Zinan Zhou <zinan@mieulab.com>,
	Ronald Claveau <linux-kernel-dev@aliel.fr>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Kevin Hilman <khilman@baylibre.com>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	Vinod Koul <vkoul@kernel.org>,
	Manivannan Sadhasivam <mani@kernel.org>,
	dri-devel@lists.freedesktop.org,
	linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org
Subject: [RFC PATCH v2 1/3] dt-bindings: display: amlogic: describe GXLX2 HDMI TX and HHI
Date: Sun,  6 Dec 2026 00:13:15 +0900	[thread overview]
Message-ID: <20261205151317.4017910-2-zinan@mieulab.com> (raw)
In-Reply-To: <20261205151317.4017910-1-zinan@mieulab.com>

GXLX2 uses direct register access for its HDMI controller and TOP block.
Its HHI system controller supplies the HDMI TX PHY. Describe both
compatibles so a board can select the controller and reference its PHY.

Assisted-by: Codex:gpt-5.6-sol
Assisted-by: Codex:gpt-6
Signed-off-by: Zinan Zhou <zinan@mieulab.com>
---
 .../bindings/display/amlogic,meson-dw-hdmi.yaml    |    7 +++++--
 .../soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml  |    2 ++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml b/Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml
index 7ece4ea262bdbef7eaffee787e6a73b3177f7e64..3666a4bdd23ac71a1cb65a8b1ff5be5b1aff81b5 100644
--- a/Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml
+++ b/Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml
@@ -29,8 +29,10 @@ description: |
   The HDMI TOP block only supports HPD sensing.
   The Synopsys HDMI Controller interrupt is routed through the
   TOP Block interrupt.
-  Communication to the TOP Block and the Synopsys HDMI Controller is done
-  via a pair of dedicated addr+read/write registers.
+  Communication with the TOP Block and the Synopsys HDMI Controller uses a pair
+  of dedicated address/data registers on GXBB, GXL and GXM. GXLX2 and G12A
+  instead expose byte-addressed controller registers and a directly mapped TOP
+  window.
   The HDMI PHY is configured by registers in the HHI register block.
 
   Pixel data arrives in "4:4:4" format from the VENC block and the VPU HDMI mux
@@ -54,6 +56,7 @@ properties:
               - amlogic,meson-gxm-dw-hdmi # GXM (S912)
           - const: amlogic,meson-gx-dw-hdmi
       - enum:
+          - amlogic,meson-gxlx2-dw-hdmi # GXLX2 (S905L3)
           - amlogic,meson-g12a-dw-hdmi # G12A (S905X2, S905Y2, S905D2)
 
   reg:
diff --git a/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml b/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml
index f277e22a98ffedfe50a82034ce59c9e9b6be4783..f4dfd4897eb30c0f0d22ef3c72d7876029bf4d3a 100644
--- a/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml
+++ b/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml
@@ -16,6 +16,7 @@ properties:
           - amlogic,meson-hhi-sysctrl
           - amlogic,meson-g12a-hhi-sysctrl
           - amlogic,meson-gxl-hhi-sysctrl
+          - amlogic,meson-gxlx2-hhi-sysctrl
           - amlogic,meson-gxbb-hhi-sysctrl
           - amlogic,meson-gx-hhi-sysctrl
           - amlogic,meson-gx-ao-sysctrl
@@ -68,6 +69,7 @@ allOf:
             enum:
               - amlogic,meson-g12a-hhi-sysctrl
               - amlogic,meson-gxl-hhi-sysctrl
+              - amlogic,meson-gxlx2-hhi-sysctrl
               - amlogic,meson-gxbb-hhi-sysctrl
               - amlogic,meson-gx-hhi-sysctrl
               - amlogic,meson-axg-hhi-sysctrl


  reply	other threads:[~2026-12-05 15:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05 15:13 [RFC PATCH v2 0/3] drm/meson: add HDMI support for GXLX2 Zinan Zhou
2026-12-05 15:13 ` Zinan Zhou [this message]
2026-12-05 15:13 ` [RFC PATCH v2 2/3] phy: amlogic: meson-hdmi-tx: add GXLX2 PHY data Zinan Zhou
2026-12-05 15:13 ` [RFC PATCH v2 3/3] drm/meson: support direct HDMI register access on GXLX2 Zinan Zhou

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=20261205151317.4017910-2-zinan@mieulab.com \
    --to=zinan@mieulab.com \
    --cc=airlied@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jbrunet@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel-dev@aliel.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mani@kernel.org \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=robh@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    --cc=vkoul@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

all inboxes | Powered by JetHome®