Ingenic SoCs LCD controller
Schema identifier ($id): "http://devicetree.org/schemas/display/ingenic,lcd.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^lcd-controller@[0-9a-f]+$"
compatible — required here #
Allowed values (enum): "ingenic,jz4740-lcd", "ingenic,jz4725b-lcd", "ingenic,jz4760-lcd", "ingenic,jz4760b-lcd", "ingenic,jz4770-lcd", "ingenic,jz4780-lcd"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Pixel clock
Item 2
Module clock
Minimum number of items (minItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"lcd_pclk"
Item 2
Exact value (
const):"lcd"
Minimum number of items (minItems): 1
port — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
DPI output, to interface with TFT panels.
port@8 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Link to the Image Processing Unit (IPU). (See ingenic,ipu.yaml).
Required in this object (required): "port@0"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Allowed values (
enum):"ingenic,jz4740-lcd","ingenic,jz4780-lcd"
When the condition matches (then) #
Properties and child nodes (
properties) #
clocks— not listed as required here #Minimum number of items (
minItems):2
clock-names— not listed as required here #Minimum number of items (
minItems):2
When the condition does not match (else) #
Properties and child nodes (
properties) #
clocks— not listed as required here #Maximum number of items (
maxItems):1
clock-names— not listed as required here #Maximum number of items (
maxItems):1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/ingenic,jz4740-cgu.h>
lcd-controller@13050000 {
compatible = "ingenic,jz4740-lcd";
reg = <0x13050000 0x1000>;
interrupt-parent = <&intc>;
interrupts = <30>;
clocks = <&cgu JZ4740_CLK_LCD_PCLK>, <&cgu JZ4740_CLK_LCD>;
clock-names = "lcd_pclk", "lcd";
port {
endpoint {
remote-endpoint = <&panel_input>;
};
};
};
#include <dt-bindings/clock/ingenic,jz4725b-cgu.h>
lcd-controller@13050000 {
compatible = "ingenic,jz4725b-lcd";
reg = <0x13050000 0x1000>;
interrupt-parent = <&intc>;
interrupts = <31>;
clocks = <&cgu JZ4725B_CLK_LCD>;
clock-names = "lcd_pclk";
port {
endpoint {
remote-endpoint = <&panel_input>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)