Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <krzysztof.kozlowski@linaro.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Link: https://lore.kernel.org/r/20250616182439.1989840-1-Frank.Li@nxp.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Frank Li and committed by
Rob Herring (Arm)
83e6769f b06d6a1d

+72 -35
-34
Documentation/devicetree/bindings/display/fsl,dcu.txt
··· 1 - Device Tree bindings for Freescale DCU DRM Driver 2 - 3 - Required properties: 4 - - compatible: Should be one of 5 - * "fsl,ls1021a-dcu". 6 - * "fsl,vf610-dcu". 7 - 8 - - reg: Address and length of the register set for dcu. 9 - - clocks: Handle to "dcu" and "pix" clock (in the order below) 10 - This can be the same clock (e.g. LS1021a) 11 - See ../clocks/clock-bindings.txt for details. 12 - - clock-names: Should be "dcu" and "pix" 13 - See ../clocks/clock-bindings.txt for details. 14 - - big-endian Boolean property, LS1021A DCU registers are big-endian. 15 - - port Video port for the panel output 16 - 17 - Optional properties: 18 - - fsl,tcon: The phandle to the timing controller node. 19 - 20 - Examples: 21 - dcu: dcu@2ce0000 { 22 - compatible = "fsl,ls1021a-dcu"; 23 - reg = <0x0 0x2ce0000 0x0 0x10000>; 24 - clocks = <&platform_clk 0>, <&platform_clk 0>; 25 - clock-names = "dcu", "pix"; 26 - big-endian; 27 - fsl,tcon = <&tcon>; 28 - 29 - port { 30 - dcu_out: endpoint { 31 - remote-endpoint = <&panel_out>; 32 - }; 33 - }; 34 - };
+71
Documentation/devicetree/bindings/display/fsl,ls1021a-dcu.yaml
··· 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 <Frank.Li@nxp.com> 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 + };
+1 -1
MAINTAINERS
··· 8049 8049 L: dri-devel@lists.freedesktop.org 8050 8050 S: Supported 8051 8051 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 8053 8053 F: Documentation/devicetree/bindings/display/fsl,vf610-tcon.yaml 8054 8054 F: drivers/gpu/drm/fsl-dcu/ 8055 8055