[PATCH v4 01/11] dt-bindings: soc: amlogic: meson-gx-hhi-sysctrl: Fix compatible matching in conditionals
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Mon Nov 23 11:46:21 PST 2026
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: soc: amlogic: missing Fixes trailers for
conditional matching fix
--
commit 0cda355d81fb14b7a8b1c5dafc9b6d3f2114d679
Author: Ronald Claveau <linux-kernel-dev at aliel.fr>
> dt-bindings: soc: amlogic: meson-gx-hhi-sysctrl: Fix compatible matching in conditionals
>
> The conditional schemas select on "compatible" with a bare enum. On a
> list such as:
>
> compatible = "amlogic,meson-gx-hhi-sysctrl", "syscon", "simple-mfd";
>
> an enum applied to the whole array only matches single-entry lists, so
> the if: blocks never match as intended and the per-variant constraints
> are not applied reliably.
>
> Wrap the enums in "contains" so that the conditions match on any entry
> of the compatible list.
>
> Doing so exposes the "phy" child node of "amlogic,meson-gx-hhi-sysctrl":
> it was forbidden (phy: false), but some DT legitimately describe an
> "amlogic,g12a-mipi-dphy-analog" PHY node under this system controller,
> which resulted in dtbs_check warnings such as:
>
> system-controller at 0 (amlogic,meson-gx-hhi-sysctrl): False schema does
> not allow {'compatible': ['amlogic,g12a-mipi-dphy-analog'],
> '#phy-cells': 0, ...}
>
> Allow the phy child node for amlogic,meson-gx-hhi-sysctrl by referencing
> the amlogic,g12a-mipi-dphy-analog binding instead of rejecting it.
>
> Signed-off-by: Ronald Claveau <linux-kernel-dev at aliel.fr>
[Severity: Low]
Should this include Fixes: tags for the commits that introduced the bare
compatible enum conditionals and the phy: false restriction?
Fixes: 4d023beb3998 ("dt-bindings: soc: amlogic: document System Control registers")
Fixes: 960a4140ade8 ("dt-bindings: soc: amlogic,meson-gx-hhi-sysctrl: Document the System Control registers found on early Meson SoC")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-meson-drm-create-hdmitx-phy-v4-0-3fb94f5534ca@aliel.fr?part=1
More information about the linux-phy
mailing list