OSDN Git Service

dt-bindings: display: st,stm32-dsi: Remove unnecessary fields
authorRaphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Mon, 29 May 2023 09:13:57 +0000 (11:13 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 30 May 2023 08:04:05 +0000 (10:04 +0200)
"#address-cells" and "#size-cells" are two properties that are not
mandatory. For instance, the DSI could refer to a bridge outside the scope
of the node rather than include a 'panel@0' subnode. By doing so, address
and size fields become then unnecessary, creating a warning at build time.

Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Documentation/devicetree/bindings/display/st,stm32-dsi.yaml

index c488308..5356005 100644 (file)
@@ -74,8 +74,6 @@ properties:
                   - const: 2
 
 required:
-  - "#address-cells"
-  - "#size-cells"
   - compatible
   - reg
   - clocks