From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD6EE606A326 for ; Tue, 24 Nov 2026 16:12:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=shcTPQrj; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=UdocUu54 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:Reply-To:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:Subject: From:MIME-Version:Date:Message-ID:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=xsj8cdTAKgFkErcLnLPGjFlE6z88o5nvaS50RxcLP84=; b=shcTPQrj7D+4eW2d2x+uPEjBFT ht8B9rFqvq5KN5MwCGOoG6QT9EcQKAAyaK3B9IH5DKjfn3K+I7qElFb3+VCj2CJ5y4t5K7I2Huijy TRP7ntf1A81iem7RTXI82PDdUkmo/fw9Zyi7+Vvvwv4YLRK/3f12a6C42g53Et8AqHFInxYSNV5mt 60foIC1cHQFL7n8z+gNoNTXhTNc5hDKWBEjDBFshGOUIlVefchywNe4qIeKVj62lZMA5XptvUdby5 z2+hQ9B5ivIQqXXKlg5DZJDK21iDKJDfj8GT4WlWXk9l5fgBEFd9MBfn1WarbKPyKU5p3ZJU07cUg IQPcwytQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xVt7z-000000074RY-0jiT; Tue, 24 Nov 2026 16:12:19 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xVt7q-000000074OT-0bWC for linux-amlogic@lists.infradead.org; Tue, 24 Nov 2026 16:12:13 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4bb606491faso25844885e9.3 for ; Tue, 24 Nov 2026 08:12:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1795536728; x=1796141528; darn=lists.infradead.org; h=content-transfer-encoding:content-type:in-reply-to:organization :autocrypt:content-language:references:cc:to:subject:reply-to:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to:content-type; bh=+6LKQYgkr2YxzPjh0brr5Y4vnuislFHhKsvQIh4zTc8=; b=UdocUu54gggqTUHivGFN9LyoIrTSrQeYHz7Q5/BnOuqXSTdVHc8hDWVuwmn/FRk32u 9zSrj5vVvuKbUPu6ZRHdNl1m07gM2RJFy74CLYEikqtxvsyXhl9EyMNjt/jci5zzrQCY dDRJ12hE9qqLqywN3ALWLSTqpW+uLkgK12vwLtUnwTE1TIOuYKMAZ2W7F71h+dw8Kasx 4C7pzE7mq5t7IpK5F6Zlcp1r909TVDUV/hqK0cFM68iAaIxngQudwlTUzs+Uoj83mYOQ kT9FV0kIyPaOoAZLOiSeRQNer5z2pLv6DtiHcORnH3I2VTBDYMMweRPZWfua5R5EmNgb 95bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795536728; x=1796141528; h=content-transfer-encoding:content-type:in-reply-to:organization :autocrypt:content-language:references:cc:to:subject:reply-to:from :user-agent:mime-version:date:message-id:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to:content-type; bh=+6LKQYgkr2YxzPjh0brr5Y4vnuislFHhKsvQIh4zTc8=; b=IcC+PRU10kWeXSjAKrSwck+749wDR7JyhMMXus3XWr+N5IjA39bqdOLCcda5dNItrq W/CcV2rj3GuhZ1t8hhtC20DWnwvai0onW4+3JjZMqUCXSoCrbFS4ycYSn7ltzlwT31r5 zMGUmmYv577VeBsiWVN9Hbc8vhhTZfKDKd8SpWy7c1Us/gqJp65xFDaKZS/GXeRODabD Vg4JM4Hz7QM4Rfzt349SG0OVFddqK9iLkMMgCSXO1/qcsy1T3XEICrTKqCoqficgFzfY ogHXu/8GGK5QwmgLtJFhKqm8sBFBb2JE87HxlxZtneudY7LIaMRDyiQsskyu29UMllZ5 dOAg== X-Forwarded-Encrypted: i=1; AL+hErEEOQz2svrW14asPIkJtkv1HKdatq+k7KC0QsQCqWrPH28Ms9TYZwTVO6/6DP22xBMETLVV2QmyNz0vdTAH@lists.infradead.org X-Gm-Message-State: APuU4Z/uosgMqwZ+1273y7duSolrkCDThdKwAw53v8dtHQcXVmtTXZrF xYL+NJ55m5udDKU4e9tl3PZnm7wVBI6Wl74hlKYIwJ6rUkwRwGZRUqwW034Bn9x+uhk= X-Gm-Gg: AZFdTZfj7pqQmMfUcKbtHiFCchPJLoJanLkSDN2f5JREUI1xxvPiFxKZ74kUjiOuX7v VG5zf8aXTGfCIldQB9JtTp9OCkfWneBMe2pAnJB4k1YyIIfPa/7w2U+W1k/wTmcx3CAOFi98lmX QVz1/mRelgdq7UDX7mfBsp54pbswxpF7XAOVfzAVRgW5noD05oE9Er6XI8S9ftI4XLf/bsxAzCW CN1wV1yT3NnOuaFt9TPlFdcvWqZm5dKJ+XjZCFlMnm6+fgW5mfOPsbpa8ckUKpN1azY0vCXV/pa H7kCckuhNY8JDcGASO+cMIoaHFPY+OYwGdROjyNbGXIZXkvxOd82gCiE56tYjE4MpAdKJSyx2Ht FROLIXC/fbikX8GXkXCQwYKH5i/b7QQzINxXlnVD5Hi7irdXZKYDGpSSBdhLpL+fZNFWDf9jqB4 A8WOyuQnu982bjozLb0u9Y7o4355xRtqatBFet6eVoMx1GsqGl+s+HghsXiYUCc0CdtxDFm5PLh OIA47/k8sS1/R0pm+nwW5+Q2vTwNenmd/gnGx5cUIUqX49CWmRyTyzUgQvzHzNQlEpdRlRKiGHv HV0kRf2ZZ8sT1KKIei96VlRRwcchtT46LhLayijwu83ZZlgJaTsJaWUfvolOn4zj16T4gL991Jt wj3trCRo7 X-Received: by 2002:a05:600d:82d3:b0:49f:e701:51c8 with SMTP id 5b1f17b1804b1-4bb8880f0ebmr344659275e9.9.1795536727863; Tue, 24 Nov 2026 08:12:07 -0800 (PST) Received: from ?IPV6:2a01:e0a:106d:1080:ac27:24a0:7b1a:dd94? ([2a01:e0a:106d:1080:ac27:24a0:7b1a:dd94]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb88402ce9sm358970025e9.0.2026.11.24.08.12.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Nov 2026 08:12:07 -0800 (PST) Message-ID: Date: Tue, 24 Nov 2026 17:12:06 +0100 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Subject: Re: [RFC PATCH 0/2] drm/meson: add HDMI support for GXLX2 To: zinan@mieulab.com Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , 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 References: <20260718111527.119231-1-zinan@mieulab.com> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5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MFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261124_081212_417350_DB168BCD X-CRM114-Status: GOOD ( 28.79 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Neil Armstrong Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-amlogic" X-Spam-Status: No, score=-15.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi, On 11/24/26 15:19, zinan@mieulab.com wrote: > Hi Neil and all, > > Following up on this GXLX2 HDMI RFC from July. Since then, users have reported working HDMI output on several > S905L3-family boxes with a downstream implementation, including a P291 board. Their reports are here: > https://github.com/ophub/amlogic-s9xxx-armbian/issues/3604 > Before I refresh the series, would you recommend keeping the proposed amlogic,meson-gxlx2-dw-hdmi compatible and a > single MMIO resource for DWC and TOP, or describing the two windows as separate named resources? Please rebase on https://lore.kernel.org/all/20261123-meson-drm-create-hdmitx-phy-v4-0-3fb94f5534ca@aliel.fr/ and adapt your patch. Thanks, Neil > > Thanks, > Zinan > > July 18, 2026 at 8:15 PM, "Zinan Zhou" > wrote: > > This RFC adds HDMI transmitter support for the Amlogic GXLX2 family, > observed as an S905L3 (CPU major ID 0x2a) in a FiberHome HG680-LC set-top > box. > > GXLX2 is unusual in that the display pipeline, clocks and HDMI PHY follow > the older GXL path, while the HDMI controller register interface is > directly mapped: DWC registers are byte-addressed from 0xda800000 and TOP > registers are 32-bit registers at 0xda808000 + index * 4. The existing > G12A access callbacks implement this layout, but using all G12A match data > would select the wrong PHY initialization for GXLX2. > > Patch 1 proposes a dedicated amlogic,meson-gxlx2-dw-hdmi compatible > without a meson-gx-dw-hdmi fallback. Patch 2 adds dedicated match data > combining direct register callbacks with GXL PHY behavior. It also handles > the GXLX2 value for the 297 MHz PHY bucket and adds the compatible to the > Meson DRM component match list. > > This RFC depends on the separately posted common Meson DW-HDMI regmap fix: > > drm/meson: constrain the DW-HDMI regmap range > https://lore.kernel.org/all/20260718090710.70534-1-zinan@mieulab.com/ > > That formal bug-fix patch bounds register iteration below the directly > mapped TOP block and prevents the legacy 16-bit indirect interface from > wrapping. It is intentionally not part of this RFC so it can be reviewed > and merged without waiting for agreement on the GXLX2 DT ABI. > > I would particularly appreciate feedback on two DT ABI questions: > > 1. Is amlogic,meson-gxlx2-dw-hdmi the appropriate block compatible name? > 2. Should the DWC and TOP windows be represented as one contiguous MMIO > resource, as in this RFC, or as two named resources? > > Evidence and disclosure: > > - The GXLX2 addresses and 297 MHz value are factual results of analysis of > the HG680-LC vendor kernel. Firmware SHA-256 and focused behavioral > evidence can be supplied if useful, but no firmware, kallsyms dump or > disassembly is part of this submission. > - Public Amlogic-derived GPL source documents the ordinary GXL 2.97 Gbps > values and public GPL-2.0+/MIT source documents the same direct DWC/TOP > access mechanism used on later SoCs. The implementation here does not > copy a vendor function body. > > Testing: > > - An equivalent Linux 6.6.18 implementation boots from eMMC on the > HG680-LC. > - 1920x1080 HDMI video was physically verified on an LG 27GL850. > - Two-channel HDMI LPCM through the display and analog stereo audio were > physically verified. > - The downstream 6.12 port boots from eMMC with working Ethernet/SSH and > has physically verified 1920x1080@60 video and HDMI LPCM. > - With the generic Meson non-CEA mode-range change already present in > current mainline, 2560x1440@59.95 video and HDMI LPCM were physically > verified on the display's native timing. > - The RFC port builds on arm64 and its binding passes dt_binding_check. > - 3840x2160 at 30 Hz has not yet been physically tested. That test is > required before a non-RFC PATCH v1 because it exercises the > GXLX2-specific 297 MHz branch. It is not a blocker for the verified > 1080p/1440p use case. > - No other GXLX2 board has been tested yet. > > The initial RFC intentionally contains no board DTS. A downstream-only > HG680-LC DTS is being kept as DO NOT MERGE until the compatible and resource > model have received initial feedback. > > Assisted-by: Codex:gpt-5.6-sol > > Zinan Zhou (2): > dt-bindings: display: meson-dw-hdmi: add GXLX2 compatible > drm/meson: add GXLX2 HDMI register support > > .../display/amlogic,meson-dw-hdmi.yaml | 7 ++-- > drivers/gpu/drm/meson/meson_drv.c | 1 + > drivers/gpu/drm/meson/meson_dw_hdmi.c | 33 ++++++++++++++++--- > 3 files changed, 34 insertions(+), 7 deletions(-) > > > base-commit: b0a652436b892eb9a036a031b33099dca036faaa > prerequisite-patch-id: 0a689485bbc3c1d77d52aeee0b81e4943d1e904a > -- > 2.43.0 > > _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic