Allwinner A31 MIPI-DSI Controller
Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun6i-a31-mipi-dsi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"allwinner,sun6i-a31-mipi-dsi","allwinner,sun50i-a64-mipi-dsi","allwinner,sun50i-a100-mipi-dsi"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun20i-d1-mipi-dsi"Item 2
Exact value (
const):"allwinner,sun50i-a100-mipi-dsi"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mod"
resets — required here #
Maximum number of items (maxItems): 1
vcc-dsi-supply — not listed as required here #
VCC-DSI power supply of the DSI encoder
phys — required here #
Maximum number of items (maxItems): 1
phy-names — required here #
Exact value (const): "dphy"
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
The port should be the input endpoint, usually coming from the associated TCON.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "phys", "phy-names", "resets", "port"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dsi-controller.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"allwinner,sun6i-a31-mipi-dsi","allwinner,sun50i-a100-mipi-dsi"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"allwinner,sun6i-a31-mipi-dsi","allwinner,sun50i-a64-mipi-dsi"When the condition matches (
then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
dsi0: dsi@1ca0000 {
compatible = "allwinner,sun6i-a31-mipi-dsi";
reg = <0x01ca0000 0x1000>;
interrupts = <0 89 4>;
clocks = <&ccu 23>, <&ccu 96>;
clock-names = "bus", "mod";
resets = <&ccu 4>;
phys = <&dphy0>;
phy-names = "dphy";
vcc-dsi-supply = <®_dcdc1>;
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
reg = <0>;
power-supply = <®_display>;
reset-gpios = <&r_pio 0 5 1>; /* PL05 */
backlight = <&pwm_bl>;
};
port {
dsi0_in_tcon0: endpoint {
remote-endpoint = <&tcon0_out_dsi0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0