[v7,2/6] dt-bindings: display: ti,am65x-dss: Add support for am625 dss
Commit Message
The DSS controller on TI's AM625 SoC is an update from that on TI's
AM65X SoC. The former has an additional OLDI TX on its first video port
(VP0) that helps output cloned video or WUXGA (1920x1200@60fps)
resolution video output over a dual-link mode to reduce the required
OLDI clock output.
Add the new controller's compatible and a port property for the 2nd OLDI
TX (OLDI TX 1).
Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rahul T R <r-ravikumar@ti.com>
---
.../bindings/display/ti/ti,am65x-dss.yaml | 23 +++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
Comments
On Wed, Jan 25, 2023 at 05:05:25PM +0530, Aradhya Bhatia wrote:
> The DSS controller on TI's AM625 SoC is an update from that on TI's
> AM65X SoC. The former has an additional OLDI TX on its first video port
> (VP0) that helps output cloned video or WUXGA (1920x1200@60fps)
> resolution video output over a dual-link mode to reduce the required
> OLDI clock output.
>
> Add the new controller's compatible and a port property for the 2nd OLDI
> TX (OLDI TX 1).
>
> Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Reviewed-by: Rahul T R <r-ravikumar@ti.com>
> ---
> .../bindings/display/ti/ti,am65x-dss.yaml | 23 +++++++++++++++++--
> 1 file changed, 21 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml
> index 5c7d2cbc4aac..55ec91f11577 100644
> --- a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml
> +++ b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml
> @@ -19,7 +19,9 @@ description: |
>
> properties:
> compatible:
> - const: ti,am65x-dss
> + enum:
> + - ti,am625-dss
> + - ti,am65x-dss
>
> reg:
> description:
> @@ -80,13 +82,18 @@ properties:
> port@0:
> $ref: /schemas/graph.yaml#/properties/port
> description:
> - The DSS OLDI output port node form video port 1
> + The DSS OLDI output port node form video port 1 (OLDI TX 0).
s/form/from/
>
> port@1:
> $ref: /schemas/graph.yaml#/properties/port
> description:
> The DSS DPI output port node from video port 2
>
> + port@2:
> + $ref: /schemas/graph.yaml#/properties/port
> + description:
> + The DSS OLDI output port node form video port 1 (OLDI TX 1).
s/form/from/
> +
> ti,am65x-oldi-io-ctrl:
> $ref: "/schemas/types.yaml#/definitions/phandle"
> description:
> @@ -102,6 +109,18 @@ properties:
> Input memory (from main memory to dispc) bandwidth limit in
> bytes per second
>
> +allOf:
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: ti,am65x-dss
> + then:
> + properties:
> + ports:
> + properties:
> + port@2: false
> +
> required:
> - compatible
> - reg
> --
> 2.39.0
>
@@ -19,7 +19,9 @@ description: |
properties:
compatible:
- const: ti,am65x-dss
+ enum:
+ - ti,am625-dss
+ - ti,am65x-dss
reg:
description:
@@ -80,13 +82,18 @@ properties:
port@0:
$ref: /schemas/graph.yaml#/properties/port
description:
- The DSS OLDI output port node form video port 1
+ The DSS OLDI output port node form video port 1 (OLDI TX 0).
port@1:
$ref: /schemas/graph.yaml#/properties/port
description:
The DSS DPI output port node from video port 2
+ port@2:
+ $ref: /schemas/graph.yaml#/properties/port
+ description:
+ The DSS OLDI output port node form video port 1 (OLDI TX 1).
+
ti,am65x-oldi-io-ctrl:
$ref: "/schemas/types.yaml#/definitions/phandle"
description:
@@ -102,6 +109,18 @@ properties:
Input memory (from main memory to dispc) bandwidth limit in
bytes per second
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: ti,am65x-dss
+ then:
+ properties:
+ ports:
+ properties:
+ port@2: false
+
required:
- compatible
- reg