Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] dt-bindings: display: sitronix,st7701: duplicate if/then for rg28xx-panel --
commit 8125a9df8a4287a7ea90e2141e5a278695835f1d Author: Romain TISSERAND <[email protected]> dt-bindings: display: panel: sitronix,st7701: make the port optional for DSI This commit removes port from the top-level required list in the sitronix,st7701 binding and makes it required only for the SPI-controlled anbernic,rg28xx-panel. > diff --git > a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml > b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml > index 044b84d8638d6..3ca9aa215b7f8 100644 > --- a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml > +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml > @@ -54,7 +54,6 @@ required: > - reg > - VCC-supply > - IOVCC-supply > - - port > - reset-gpios > > allOf: > @@ -69,6 +68,16 @@ allOf: > then: > $ref: /schemas/spi/spi-peripheral-props.yaml# > > + - if: > + properties: > + compatible: > + contains: > + # RGB input, controlled over SPI > + const: anbernic,rg28xx-panel > + then: > + required: > + - port [Severity: Low] This isn't a bug, but the block right above under allOf already matches anbernic,rg28xx-panel: Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml: - if: properties: compatible: contains: # SPI connected panels enum: - anbernic,rg28xx-panel then: $ref: /schemas/spi/spi-peripheral-props.yaml# Can required: [port] be added to that existing then: clause instead of adding a second if/then block for the same compatible string, matching how 2f50e0a0f9d3 ("dt-bindings: display: panel: Make DSI panels port optional") handled ilitek,ili9806e.yaml? -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=1
