dt-bindings: display: bridge: document Toshiba TC358768 cells and panel node
Subsystems (4)
PATCH 1/1 dt-bindings: display: bridge: document Toshiba TC358768 cells and panel node
Properties #address-cells and #size-cells are valid. The bridge node can also contains panel node.
--- .../bindings/display/bridge/toshiba,tc358768.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)
Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml +10 -0
@@ -69,6 +69,16 @@ properties: - port@0 - port@1 + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +patternProperties: + "^panel@[0-3]$": + $ref: ../panel/panel-common.yaml + required: - compatible - reg
Signature · 1 line
2.34.1
15.12.2021 18:27, David Heidelberg пишет:
Quoted 15 lines
Properties #address-cells and #size-cells are valid. The bridge node can also contains panel node.
Signed-off-by David Heidelberg <[email protected]>--- .../bindings/display/bridge/toshiba,tc358768.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml +0
-0@@ -69,6 +69,16 @@ properties: - port@0 - port@1
Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml properties: · line 80
Quoted 10 lines
Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml +9
-0+ '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +patternProperties: + "^panel@[0-3]$": + $ref: ../panel/panel-common.yaml
The panel is always fixed to port 1, isn't it? Shouldn't it be just port@1 here?
Rob Herring
maintainerQuoted 8 lines · David Heidelberg
Properties #address-cells and #size-cells are valid. The bridge node can also contains panel node.
Signed-off-by David Heidelberg <[email protected]>--- .../bindings/display/bridge/toshiba,tc358768.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)
Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings.
Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future.
Full log is available here: https://patchwork.ozlabs.org/patch/1568330
tc358778@e: compatible: Additional items are not allowed ('toshiba,tc358768' was unexpected)
arch/arm/boot/dts/am571x-idk.dt.yaml arch/arm/boot/dts/am572x-idk.dt.yaml arch/arm/boot/dts/am574x-idk.dt.yaml
tc358778@e: compatible: ['toshiba,tc358778', 'toshiba,tc358768'] is too long
arch/arm/boot/dts/am571x-idk.dt.yaml arch/arm/boot/dts/am572x-idk.dt.yaml arch/arm/boot/dts/am574x-idk.dt.yaml
Quoted 16 lines · David Heidelberg
Properties #address-cells and #size-cells are valid. The bridge node can also contains panel node.
Signed-off-by David Heidelberg <[email protected]>--- .../bindings/display/bridge/toshiba,tc358768.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml +0
-0@@ -69,6 +69,16 @@ properties: - port@0 - port@1
Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml properties: · line 80
Quoted 10 lines
Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml +9
-0+ '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +patternProperties: + "^panel@[0-3]$": + $ref: ../panel/panel-common.yaml
It's possible to attach something that doesn't use panel-common.yaml and if it did, it would be applied by that schema.
What you need is to just reference dsi-controller.yaml at the top level.
Rob
16.12.2021 18:13, Rob Herring пишет:
Quoted 31 lines · David Heidelberg
Quoted 16 lines
Properties #address-cells and #size-cells are valid. The bridge node can also contains panel node.
Signed-off-by David Heidelberg <[email protected]>--- .../bindings/display/bridge/toshiba,tc358768.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml +0
-0@@ -69,6 +69,16 @@ properties: - port@0 - port@1Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml properties: · line 80
Quoted 10 lines
Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml +9
-0+ '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +patternProperties: + "^panel@[0-3]$": + $ref: ../panel/panel-common.yamlIt's possible to attach something that doesn't use
panel-common.yamland if it did, it would be applied by that schema.
Quoted 1 line
What you need is to just reference
dsi-controller.yamlat the top level.
It works, thank you.
Then we will also need to rename the "dsi-bridge" node to just "dsi" in the new ASUS TF700T device-tree since dsi-controller.yaml wants that name.