Commit 24d59795 authored by Rob Herring's avatar Rob Herring

dt-bindings: display: Add dsi-controller.yaml in DSI controller schemas

Some DSI controllers are missing a reference to the recently added
dsi-controller.yaml schema. Add it and we can drop the duplicate parts.

Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Eric Anholt <eric@anholt.net>
Cc: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Ray Jui <rjui@broadcom.com>
Cc: Scott Branden <sbranden@broadcom.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Robert Chiras <robert.chiras@nxp.com>
Cc: Philippe Cornu <philippe.cornu@st.com>
Cc: Yannick Fertre <yannick.fertre@st.com>
Reviewed-by: default avatarGuido Günther <agx@sigxcpu.org>
Acked-by: default avatarMaxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20201002225924.3513700-1-robh@kernel.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent c34095fa
...@@ -11,9 +11,6 @@ maintainers: ...@@ -11,9 +11,6 @@ maintainers:
- Maxime Ripard <mripard@kernel.org> - Maxime Ripard <mripard@kernel.org>
properties: properties:
"#address-cells": true
"#size-cells": true
compatible: compatible:
enum: enum:
- allwinner,sun6i-a31-mipi-dsi - allwinner,sun6i-a31-mipi-dsi
...@@ -57,12 +54,7 @@ properties: ...@@ -57,12 +54,7 @@ properties:
port should be the input endpoint, usually coming from the port should be the input endpoint, usually coming from the
associated TCON. associated TCON.
patternProperties:
"^panel@[0-9]+$": true
required: required:
- "#address-cells"
- "#size-cells"
- compatible - compatible
- reg - reg
- interrupts - interrupts
...@@ -74,6 +66,7 @@ required: ...@@ -74,6 +66,7 @@ required:
- port - port
allOf: allOf:
- $ref: dsi-controller.yaml#
- if: - if:
properties: properties:
compatible: compatible:
...@@ -99,7 +92,7 @@ allOf: ...@@ -99,7 +92,7 @@ allOf:
clocks: clocks:
minItems: 1 minItems: 1
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: Broadcom VC4 (VideoCore4) DSI Controller ...@@ -9,6 +9,9 @@ title: Broadcom VC4 (VideoCore4) DSI Controller
maintainers: maintainers:
- Eric Anholt <eric@anholt.net> - Eric Anholt <eric@anholt.net>
allOf:
- $ref: dsi-controller.yaml#
properties: properties:
"#clock-cells": "#clock-cells":
const: 1 const: 1
......
...@@ -14,6 +14,9 @@ description: | ...@@ -14,6 +14,9 @@ description: |
NWL MIPI-DSI host controller found on i.MX8 platforms. This is a dsi bridge for NWL MIPI-DSI host controller found on i.MX8 platforms. This is a dsi bridge for
the SOCs NWL MIPI-DSI host controller. the SOCs NWL MIPI-DSI host controller.
allOf:
- $ref: ../dsi-controller.yaml#
properties: properties:
compatible: compatible:
const: fsl,imx8mq-nwl-dsi const: fsl,imx8mq-nwl-dsi
...@@ -144,10 +147,6 @@ properties: ...@@ -144,10 +147,6 @@ properties:
additionalProperties: false additionalProperties: false
patternProperties:
"^panel@[0-9]+$":
type: object
required: required:
- '#address-cells' - '#address-cells'
- '#size-cells' - '#size-cells'
...@@ -163,7 +162,7 @@ required: ...@@ -163,7 +162,7 @@ required:
- reset-names - reset-names
- resets - resets
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
...@@ -172,7 +171,7 @@ examples: ...@@ -172,7 +171,7 @@ examples:
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/imx8mq-reset.h> #include <dt-bindings/reset/imx8mq-reset.h>
mipi_dsi: mipi_dsi@30a00000 { dsi@30a00000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,imx8mq-nwl-dsi"; compatible = "fsl,imx8mq-nwl-dsi";
......
...@@ -13,6 +13,9 @@ maintainers: ...@@ -13,6 +13,9 @@ maintainers:
description: description:
The STMicroelectronics STM32 DSI controller uses the Synopsys DesignWare MIPI-DSI host controller. The STMicroelectronics STM32 DSI controller uses the Synopsys DesignWare MIPI-DSI host controller.
allOf:
- $ref: dsi-controller.yaml#
properties: properties:
compatible: compatible:
const: st,stm32-dsi const: st,stm32-dsi
...@@ -65,24 +68,6 @@ properties: ...@@ -65,24 +68,6 @@ properties:
description: description:
DSI output port node, connected to a panel or a bridge input port" DSI output port node, connected to a panel or a bridge input port"
patternProperties:
"^(panel|panel-dsi)@[0-9]$":
type: object
description:
A node containing the panel or bridge description as documented in
Documentation/devicetree/bindings/display/mipi-dsi-bus.txt
properties:
port:
type: object
description:
Panel or bridge port node, connected to the DSI output port (port@1)
"#address-cells":
const: 1
"#size-cells":
const: 0
required: required:
- "#address-cells" - "#address-cells"
- "#size-cells" - "#size-cells"
...@@ -92,7 +77,7 @@ required: ...@@ -92,7 +77,7 @@ required:
- clock-names - clock-names
- ports - ports
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment