[PATCH 1/2] dt-bindings: display: imx: Add fsl,imx21-lcdc docs
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Fri Jan 28 02:58:48 PST 2022
From: Marian Cichy <m.cichy at pengutronix.de>
This files documents the device tree for the new imx21-lcdc DRM driver.
Signed-off-by: Marian Cichy <m.cichy at pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
---
.../bindings/display/imx/fsl,imx21-lcdc.yaml | 79 +++++++++++++++++++
1 file changed, 79 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/imx/fsl,imx21-lcdc.yaml
diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx21-lcdc.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx21-lcdc.yaml
new file mode 100644
index 000000000000..edf71cfac81c
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/imx/fsl,imx21-lcdc.yaml
@@ -0,0 +1,79 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/imx/fsl,imx21-lcdc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: i.MX21 LCD Controller
+
+maintainers:
+ - Philipp Zabel <p.zabel at pengutronix.de>
+
+properties:
+ compatible:
+ oneOf:
+ - const: fsl,imx21-lcdc
+ - items:
+ - enum:
+ - fsl,imx25-lcdc
+ - fsl,imx27-lcdc
+ - const: fsl,imx21-lcdc
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 3
+
+ clock-names:
+ items:
+ - const: ipg
+ - const: per
+ - const: ahb
+
+ resets:
+ maxItems: 1
+
+ port:
+ type: object
+ description:
+ "Video port for DPI RGB output."
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - clock-names
+ - port
+
+additionalProperties: false
+
+examples:
+ - |
+ lcdc: lcdc at 53fbc000 {
+ compatible = "fsl,imx25-lcdc", "fsl,imx21-lcdc";
+ reg = <0x53fbc000 0x4000>;
+ interrupts = <39>;
+ clocks = <&clks 103>, <&clks 66>, <&clks 49>;
+ clock-names = "ipg", "ahb", "per";
+
+ port {
+ parallel_out: endpoint {
+ remote-endpoint = <&panel_in>;
+ };
+ };
+
+ };
+
+ panel: panel {
+ compatible = "edt,etm0700g0dh6";
+ power-supply = <&lcd_supply>;
+ backlight = <&bl>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <¶llel_out>;
+ };
+ };
+ };
--
2.34.1
More information about the linux-arm-kernel
mailing list