Rockchip SoC HDMI/eDP Transmitter Combo PHY

Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip,rk3588-hdptx-phy.yaml#"

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

Maintainers (maintainers): "Cristian Ciocaltea <cristian.ciocaltea@collabora.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "rockchip,rk3588-hdptx-phy"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "rockchip,rk3576-hdptx-phy"

Item 2

Exact value (const): "rockchip,rk3588-hdptx-phy"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Reference clock

Item 2

APB clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ref"

Item 2

Exact value (const): "apb"

#clock-cells — not listed as required here #

Exact value (const): 0

#phy-cells — required here #

Exact value (const): 0

resets — required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 7

reset-names — required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 7

rockchip,grf — required here #

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

Some PHY related data is accessed through GRF regs.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#phy-cells", "resets", "reset-names", "rockchip,grf"

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)

Allowed values (enum): "rockchip,rk3576-hdptx-phy"

When the condition matches (then) #

Properties and child nodes (properties)

resets — not listed as required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

reset-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "apb"

Item 2

Exact value (const): "init"

Item 3

Exact value (const): "cmn"

Item 4

Exact value (const): "lane"

When the condition does not match (else) #

Properties and child nodes (properties)

resets — not listed as required here

Minimum number of items (minItems): 7

Maximum number of items (maxItems): 7

reset-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "phy"

Item 2

Exact value (const): "apb"

Item 3

Exact value (const): "init"

Item 4

Exact value (const): "cmn"

Item 5

Exact value (const): "lane"

Item 6

Exact value (const): "ropll"

Item 7

Exact value (const): "lcpll"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rockchip,rk3588-cru.h>
#include <dt-bindings/reset/rockchip,rk3588-cru.h>

soc {
  #address-cells = <2>;
  #size-cells = <2>;

  phy@fed60000 {
    compatible = "rockchip,rk3588-hdptx-phy";
    reg = <0x0 0xfed60000 0x0 0x2000>;
    clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>, <&cru PCLK_HDPTX0>;
    clock-names = "ref", "apb";
    #phy-cells = <0>;
    resets = <&cru SRST_HDPTX0>, <&cru SRST_P_HDPTX0>,
             <&cru SRST_HDPTX0_INIT>, <&cru SRST_HDPTX0_CMN>,
             <&cru SRST_HDPTX0_LANE>, <&cru SRST_HDPTX0_ROPLL>,
             <&cru SRST_HDPTX0_LCPLL>;
    reset-names = "phy", "apb", "init", "cmn", "lane", "ropll", "lcpll";
    rockchip,grf = <&hdptxphy_grf>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page