Skip to content

Commit 83e6769

Browse files
nxpfranklirobherring
authored andcommitted
dt-bindings: display: imx: convert fsl,dcu.txt to yaml format
Convert fsl,dcu.txt to yaml format. Additional changes: - remove label in example. - change node to display-controller in example. - use 32bit address in example. - add interrupts property. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Frank Li <[email protected]> Reviewed-by: Stefan Agner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent b06d6a1 commit 83e6769

File tree

3 files changed

+72
-35
lines changed

3 files changed

+72
-35
lines changed

Documentation/devicetree/bindings/display/fsl,dcu.txt

Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/fsl,ls1021a-dcu.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Freescale DCU DRM Driver
8+
9+
maintainers:
10+
- Frank Li <[email protected]>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- fsl,ls1021a-dcu
16+
- fsl,vf610-dcu
17+
18+
reg:
19+
maxItems: 1
20+
21+
interrupts:
22+
maxItems: 1
23+
24+
clocks:
25+
maxItems: 2
26+
27+
clock-names:
28+
items:
29+
- const: dcu
30+
- const: pix
31+
32+
big-endian: true
33+
34+
port:
35+
$ref: /schemas/graph.yaml#/$defs/port-base
36+
unevaluatedProperties: false
37+
description: Video port for the panel output
38+
39+
properties:
40+
endpoint:
41+
$ref: /schemas/media/video-interfaces.yaml#
42+
unevaluatedProperties: false
43+
44+
fsl,tcon:
45+
$ref: /schemas/types.yaml#/definitions/phandle
46+
description: The phandle to the timing controller node.
47+
48+
required:
49+
- compatible
50+
- reg
51+
- clocks
52+
- clock-names
53+
54+
additionalProperties: false
55+
56+
examples:
57+
- |
58+
display-controller@2ce0000 {
59+
compatible = "fsl,ls1021a-dcu";
60+
reg = <0x2ce0000 0x10000>;
61+
clocks = <&platform_clk 0>, <&platform_clk 0>;
62+
clock-names = "dcu", "pix";
63+
big-endian;
64+
fsl,tcon = <&tcon>;
65+
66+
port {
67+
endpoint {
68+
remote-endpoint = <&panel_out>;
69+
};
70+
};
71+
};

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8049,7 +8049,7 @@ M: Alison Wang <[email protected]>
80498049
80508050
S: Supported
80518051
T: git https://gitlab.freedesktop.org/drm/misc/kernel.git
8052-
F: Documentation/devicetree/bindings/display/fsl,dcu.txt
8052+
F: Documentation/devicetree/bindings/display/fsl,ls1021a-dcu.yaml
80538053
F: Documentation/devicetree/bindings/display/fsl,vf610-tcon.yaml
80548054
F: drivers/gpu/drm/fsl-dcu/
80558055

0 commit comments

Comments
 (0)