Freescale i.MX LCD Controller, found on i.MX1, i.MX21, i.MX25 and i.MX27
Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx-lcdc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sascha Hauer <s.hauer@pengutronix.de>", "Pengutronix Kernel Team <kernel@pengutronix.de>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"fsl,imx21-fb"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx25-lcdc"Item 2
Exact value (
const):"fsl,imx21-lcdc"
clocks — required here #
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ipg"
Item 2
Exact value (
const):"ahb"
Item 3
Exact value (
const):"per"
port — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
display — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
interrupts — required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
lcd-supply — not listed as required here #
Regulator for LCD supply voltage.
fsl,dmacr — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Override value for DMA Control Register
fsl,lpccr — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Contrast Control Register value.
fsl,lscr1 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
LCDC Sharp Configuration Register value.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
display— not listed as required here
false— Not permitted by this property rule.
fsl,dmacr— not listed as required here
false— Not permitted by this property rule.
fsl,lpccr— not listed as required here
false— Not permitted by this property rule.
fsl,lscr1— not listed as required here
false— Not permitted by this property rule.When the condition does not match (
else) #Properties and child nodes (
properties)
port— not listed as required here
false— Not permitted by this property rule.
Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
lcdc@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>;
};
};
};
imxfb: fb@10021000 {
compatible = "fsl,imx21-fb";
interrupts = <61>;
reg = <0x10021000 0x1000>;
display = <&display0>;
clocks = <&clks 103>, <&clks 49>, <&clks 66>;
clock-names = "ipg", "ahb", "per";
};
display0: display0 {
model = "Primeview-PD050VL1";
bits-per-pixel = <16>;
fsl,pcr = <0xf0c88080>; /* non-standard but required */
display-timings {
native-mode = <&timing_disp0>;
timing_disp0: timing0 {
hactive = <640>;
vactive = <480>;
hback-porch = <112>;
hfront-porch = <36>;
hsync-len = <32>;
vback-porch = <33>;
vfront-porch = <33>;
vsync-len = <2>;
clock-frequency = <25000000>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)