Rockchip SoC MIPI RX0 D-PHY

Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip-mipi-dphy-rx0.yaml#"

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

Maintainers (maintainers): "Helen Koike <helen.koike@collabora.com>", "Ezequiel Garcia <ezequiel@collabora.com>"

The Rockchip SoC has a MIPI D-PHY bus with an RX0 entry which connects to the ISP1 (Image Signal Processing unit v1.0) for CSI cameras.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rockchip,rk3399-mipi-dphy-rx0"

clocks — required here #

Array item rules (items) #

Item 1

MIPI D-PHY ref clock

Item 2

MIPI D-PHY RX0 cfg clock

Item 3

Video in/out general register file clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dphy-ref"

Item 2

Exact value (const): "dphy-cfg"

Item 3

Exact value (const): "grf"

#phy-cells — required here #

Exact value (const): 0

power-domains — required here #

Video in/out power domain.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "#phy-cells", "power-domains"

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

false

Not allowed by this rule.

Examples (examples) #


/*
 * MIPI D-PHY RX0 use registers in "general register files", it
 * should be a child of the GRF.
 *
 * grf: syscon@ff770000 {
 *  compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
 *  ...
 * };
 */

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

mipi_dphy_rx0: mipi-dphy-rx0 {
    compatible = "rockchip,rk3399-mipi-dphy-rx0";
    clocks = <&cru SCLK_MIPIDPHY_REF>,
             <&cru SCLK_DPHY_RX0_CFG>,
             <&cru PCLK_VIO_GRF>;
    clock-names = "dphy-ref", "dphy-cfg", "grf";
    power-domains = <&power RK3399_PD_VIO>;
    #phy-cells = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR MIT)

Edit this page