Parade PS8622/PS8625 DisplayPort to LVDS Converter
Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/parade,ps8622.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "parade,ps8622", "parade,ps8625"
reg — required here #
Maximum number of items (maxItems): 1
lane-count — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Number of DP lanes to use.
use-external-pwm — not listed as required here #
Value type (type): "boolean"
Backlight will be controlled by an external PWM.
reset-gpios — required here #
Maximum number of items (maxItems): 1
GPIO connected to RST_ pin.
sleep-gpios — required here #
Maximum number of items (maxItems): 1
GPIO connected to PD_ pin.
vdd12-supply — not listed as required here #
true — No constraints added by this property rule.
ports — 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
Video port for LVDS output.
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Video port for DisplayPort input.
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "reset-gpios", "sleep-gpios", "ports"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"parade,ps8622"When the condition matches (
then) #Properties and child nodes (
properties)
lane-count— not listed as required hereExact value (
const):1When the condition does not match (
else) #Properties and child nodes (
properties)
lane-count— not listed as required hereExact value (
const):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
lvds-bridge@48 {
compatible = "parade,ps8625";
reg = <0x48>;
sleep-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpy7 7 GPIO_ACTIVE_HIGH>;
lane-count = <2>;
use-external-pwm;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
bridge_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
port@1 {
reg = <1>;
bridge_in: endpoint {
remote-endpoint = <&dp_out>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause