From: Rob Herring <robh@kernel.org>
To: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Cc: "Chunfeng Yun" <chunfeng.yun@mediatek.com>,
"Vinod Koul" <vkoul@kernel.org>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"Chun-Kuang Hu" <chunkuang.hu@kernel.org>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"Guillaume Ranquet" <granquet@baylibre.com>,
kernel@collabora.com, "Krzysztof Kozlowski" <krzk@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
"Nícolas F. R. A. Prado" <nfraprado@collabora.com>
Subject: Re: [PATCH 03/12] dt-bindings: phy: mediatek,hdmi-phy: Document extra clocks for MT8195
Date: Wed, 10 Dec 2025 15:19:03 -0600 [thread overview]
Message-ID: <20251210211903.GA3352325-robh@kernel.org> (raw)
In-Reply-To: <20251209-mtk-genio-evk-hdmi-support-v1-3-9a6106effba6@collabora.com>
On Tue, Dec 09, 2025 at 05:34:33PM +0100, Louis-Alexis Eyraud wrote:
> From: "Nícolas F. R. A. Prado" <nfraprado@collabora.com>
>
> MT8195's HDMI PHY block has 4 clocks instead of just a single one.
> Describe the extra clocks for it.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
> ---
> .../devicetree/bindings/phy/mediatek,hdmi-phy.yaml | 36 +++++++++++++++++++---
> 1 file changed, 32 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml
> index cd4ac42ee45e4648ed512f68f6f28d1f3f2e1116..91f8118689d5e838c4d75264822bb09a00fea21b 100644
> --- a/Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml
> @@ -38,12 +38,12 @@ properties:
> maxItems: 1
>
> clocks:
> - items:
> - - description: PLL reference clock
> + minItems: 1
> + maxItems: 4
>
> clock-names:
> - items:
> - - const: pll_ref
> + minItems: 1
> + maxItems: 4
>
> clock-output-names:
> maxItems: 1
> @@ -79,6 +79,34 @@ required:
> - "#phy-cells"
> - "#clock-cells"
>
> +allOf:
> + - if:
> + properties:
> + compatible:
> + const: mediatek,mt8195-hdmi-phy
You just said mt8188 is compatible, but it's excluded here. If mt8188
can work without knowing about the 3 new clocks (and no driver changes),
then it is compatible .
> + then:
> + properties:
> + clocks:
> + items:
> + - description: PLL reference clock
> + - description: HDMI 26MHz clock
> + - description: HDMI PLL1 clock
> + - description: HDMI PLL2 clock
> + clock-names:
> + items:
> + - const: pll_ref
> + - const: hdmi_26m
> + - const: hdmi_pll1
> + - const: hdmi_pll2
Move all this to the top-level (so just add entries 2-4) and add
'minItems: 1'. Here, just put 'minItems: 4' except that I assume it did
work with 1 clock, so requiring 4 breaks the ABI.
Also, drop 'hdmi_'. It's redundant.
> + else:
> + properties:
> + clocks:
> + items:
> + - description: PLL reference clock
> + clock-names:
> + items:
> + - const: pll_ref
And here, just 'maxItems: 1'
> +
> additionalProperties: false
>
> examples:
>
> --
> 2.52.0
>
next prev parent reply other threads:[~2025-12-10 21:19 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-09 16:34 [PATCH 00/12] Add HDMI support for Mediatek Genio 510/700/1200-EVK and Radxa NIO-12L boards Louis-Alexis Eyraud
2025-12-09 16:34 ` [PATCH 01/12] dt-bindings: phy: mediatek,hdmi-phy: Fix clock output names for MT8195 Louis-Alexis Eyraud
2025-12-10 21:13 ` Rob Herring (Arm)
2025-12-09 16:34 ` [PATCH 02/12] dt-bindings: phy: mediatek,hdmi-phy: Add support for MT8188 SoC Louis-Alexis Eyraud
2025-12-09 16:34 ` [PATCH 03/12] dt-bindings: phy: mediatek,hdmi-phy: Document extra clocks for MT8195 Louis-Alexis Eyraud
2025-12-10 21:19 ` Rob Herring [this message]
2025-12-09 16:34 ` [PATCH 04/12] arm64: dts: mediatek: mt8195: Add DPI1, HDMI, HDMI PHY/DDC nodes Louis-Alexis Eyraud
2025-12-09 16:34 ` [PATCH 05/12] arm64: dts: mediatek: mt8188: " Louis-Alexis Eyraud
2025-12-09 16:34 ` [PATCH 06/12] arm64: dts: mediatek: mt8390-genio-common: Enable HDMI output Louis-Alexis Eyraud
2025-12-09 16:34 ` [PATCH 07/12] arm64: dts: mediatek: mt8390-genio-common: Add HDMI sound output support Louis-Alexis Eyraud
2025-12-09 16:34 ` [PATCH 08/12] arm64: dts: mediatek: mt8395-radxa-nio-12l: Enable HDMI output Louis-Alexis Eyraud
2025-12-09 16:34 ` [PATCH 09/12] arm64: dts: mediatek: mt8395-radxa-nio-12l: Add HDMI sound output support Louis-Alexis Eyraud
2025-12-09 16:34 ` [PATCH 10/12] arm64: dts: mediatek: mt8395-genio-common: Enable HDMI output Louis-Alexis Eyraud
2025-12-09 16:34 ` [PATCH 11/12] arm64: dts: mediatek: mt8395-genio-common: Add HDMI sound output support Louis-Alexis Eyraud
2025-12-09 16:34 ` [PATCH 12/12] arm64: defconfig: Enable Mediatek HDMIv2 driver Louis-Alexis Eyraud
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=20251210211903.GA3352325-robh@kernel.org \
--to=robh@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunfeng.yun@mediatek.com \
--cc=chunkuang.hu@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=granquet@baylibre.com \
--cc=kernel@collabora.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-phy@lists.infradead.org \
--cc=louisalexis.eyraud@collabora.com \
--cc=matthias.bgg@gmail.com \
--cc=neil.armstrong@linaro.org \
--cc=nfraprado@collabora.com \
--cc=p.zabel@pengutronix.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;
as well as URLs for NNTP newsgroup(s).