Re: [PATCH v6 02/13] dt-bindings: soc: amlogic: meson-gx-hhi-sysctrl: Add #phy-cells
From: Krzysztof Kozlowski
Date: Wed Dec 02 2026 - 09:26:13 EST
On Tue, Dec 01, 2026 at 09:12:50PM +0100, Ronald Claveau wrote:
> The HDMI TX PHY found on GXBB, GXL, GXM and G12A SoCs is controlled
> through registers of the HHI system controller and has no resources of
> its own. Instead of describing it as a child node, let the HHI system
> controller act as the PHY provider, so that the HDMI TX controller can
> reference it with "phys = <&sysctrl>". The PHY itself is instantiated
> by the meson-gx-hhi-sysctrl driver as an auxiliary device.
>
> Add the "#phy-cells" property (const 0) and forbid it for the other
> system controller variants. Add it to the example.
>
> The HDMI TX PHY registers differ between SoC families, so the driver
> needs to know which family it is running on. Add SoC-specific
> compatibles (amlogic,meson-gxbb-hhi-sysctrl, amlogic,meson-gxl-hhi-sysctrl,
> amlogic,meson-g12a-hhi-sysctrl) to select the PHY variant.
>
> Signed-off-by: Ronald Claveau <linux-kernel-dev@xxxxxxxx>
> ---
> .../soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Best regards,
Krzysztof