Rockchip low-voltage differential signal (LVDS) transmitter

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip,lvds.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sandy Huang <hjc@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,px30-lvds", "rockchip,rk3288-lvds"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "pclk_lvds"

avdd1v0-supply — not listed as required here #

1.0V analog power.

avdd1v8-supply — not listed as required here #

1.8V analog power.

avdd3v3-supply — not listed as required here #

3.3V analog power.

rockchip,grf — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the general register files syscon.

rockchip,output — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Allowed values (enum): "rgb", "lvds", "duallvds"

This describes the output interface.

phys — not listed as required here #

Maximum number of items (maxItems): 1

phy-names — not listed as required here #

Exact value (const): "dphy"

pinctrl-names — not listed as required here #

Exact value (const): "lcdc"

pinctrl-0 — not listed as required here #

true — No constraints added by this property rule.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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 0 for the VOP input. The remote endpoint maybe vopb or vopl.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Video port 1 for either a panel or subsequent encoder.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "rockchip,grf", "rockchip,output", "ports"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,px30-lvds"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

clocks — not listed as required here

false — Not permitted by this property rule.

clock-names — not listed as required here

false — Not permitted by this property rule.

avdd1v0-supply — not listed as required here

false — Not permitted by this property rule.

avdd1v8-supply — not listed as required here

false — Not permitted by this property rule.

avdd3v3-supply — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "phys", "phy-names"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk3288-lvds"

When the condition matches (then) #

Properties and child nodes (properties)

phys — not listed as required here

false — Not permitted by this property rule.

phy-names — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "reg", "clocks", "clock-names", "avdd1v0-supply", "avdd1v8-supply", "avdd3v3-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3288-cru.h>

lvds: lvds@ff96c000 {
  compatible = "rockchip,rk3288-lvds";
  reg = <0xff96c000 0x4000>;
  clocks = <&cru PCLK_LVDS_PHY>;
  clock-names = "pclk_lvds";
  avdd1v0-supply = <&vdd10_lcd>;
  avdd1v8-supply = <&vcc18_lcd>;
  avdd3v3-supply = <&vcca_33>;
  pinctrl-names = "lcdc";
  pinctrl-0 = <&lcdc_ctl>;
  rockchip,grf = <&grf>;
  rockchip,output = "rgb";

  ports {
    #address-cells = <1>;
    #size-cells = <0>;

    lvds_in: port@0 {
      reg = <0>;
      #address-cells = <1>;
      #size-cells = <0>;

      lvds_in_vopb: endpoint@0 {
        reg = <0>;
        remote-endpoint = <&vopb_out_lvds>;
      };
      lvds_in_vopl: endpoint@1 {
        reg = <1>;
        remote-endpoint = <&vopl_out_lvds>;
      };
    };

    lvds_out: port@1 {
      reg = <1>;

      lvds_out_panel: endpoint {
        remote-endpoint = <&panel_in_lvds>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page