[PATCH v2 02/15] dt-bindings: display: bridge: Add starfive,jh7110-inno-hdmi-controller
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Fri Aug 28 06:54:11 PDT 2026
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The `ports` property describes one input and one output port but fails to enforce this constraint in the YAML structure.
--
commit 419cb2b368875cbe282124810522d401e4b0c458
Author: Michal Wilczynski <m.wilczynski at samsung.com>
dt-bindings: display: bridge: Add starfive,jh7110-inno-hdmi-controller
This commit adds the device tree binding schema for the StarFive JH7110
Innosilicon HDMI controller.
> diff --git a/Documentation/devicetree/bindings/display/bridge/starfive,jh7110-inno-hdmi-controller.yaml b/Documentation/devicetree/bindings/display/bridge/starfive,jh7110-inno-hdmi-controller.yaml
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/bridge/starfive,jh7110-inno-hdmi-controller.yaml
[ ... ]
> + phy-names:
> + const: hdmi-phy
> +
> + ports:
> + $ref: /schemas/graph.yaml#/properties/ports
> + description:
> + A graph node with one input port and one output port.
[Severity: Medium]
Does this missing structure allow invalid device trees to pass validation?
The description states there is one input port and one output port, but the
YAML lacks the internal property constraints (such as port at 0 and port at 1) and
the associated required list.
Without these explicit definitions, device trees missing the expected nodes
or adding extraneous invalid ports will silently pass dt_binding_check despite
violating the hardware topology constraints described.
Could explicit definitions and constraints for port at 0 and port at 1 be added
here to properly enforce the port counts?
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260828-jh7110-clean-send-v2-0-331680c8b9d1@samsung.com?part=2
More information about the linux-phy
mailing list