[PATCH v6 02/13] dt-bindings: soc: amlogic: meson-gx-hhi-sysctrl: Add #phy-cells

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Dec 1 12:27:54 PST 2026


Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: soc: amlogic: missing phy constraint for gxbb and
  gxl compatibles
--

commit ea6ad9b4381c3ce81b3b9f7c71af326d4010fd03
Author: Ronald Claveau <linux-kernel-dev at aliel.fr>

dt-bindings: soc: amlogic: meson-gx-hhi-sysctrl: Add #phy-cells

This commit adds the #phy-cells property and SoC-specific HHI system
controller compatibles for GXBB, GXL, and G12A so the system controller
can act as the HDMI TX PHY provider.

> 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 285edac4c0821..f277e22a98ffe 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

[ ... ]

> @@ -80,12 +93,14 @@ allOf:
>  
>          power-controller: false
>          phy: false
> +        "#phy-cells": false
>  
>    - if:
>        properties:
>          compatible:
>            contains:
>              enum:
> +              - amlogic,meson-g12a-hhi-sysctrl
>                - amlogic,meson-gx-hhi-sysctrl
>      then:
>        properties:

[Severity: Low]
Should amlogic,meson-gxbb-hhi-sysctrl and amlogic,meson-gxl-hhi-sysctrl
also constrain the phy child node in allOf?

Top-level properties defines phy as a bare type: object, and every other
compatible either constrains it to a PHY schema or sets phy: false.
Leaving the new GXBB and GXL compatibles out of both rules allows
arbitrary unvalidated phy child nodes under those system controllers.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261201-meson-drm-create-hdmitx-phy-v6-0-5ccdf57a6cf5@aliel.fr?part=2



More information about the linux-amlogic mailing list