drm/bridge: Fix assignment of the of_node of the parent to aux bridge
[drm/drm-misc.git] / Documentation / devicetree / bindings / phy / rockchip-mipi-dphy-rx0.yaml
blob5114e99b0035af1fde51b79de350b941a4b0bdf2
1 # SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/phy/rockchip-mipi-dphy-rx0.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip SoC MIPI RX0 D-PHY
9 maintainers:
10   - Helen Koike <helen.koike@collabora.com>
11   - Ezequiel Garcia <ezequiel@collabora.com>
13 description: |
14   The Rockchip SoC has a MIPI D-PHY bus with an RX0 entry which connects to
15   the ISP1 (Image Signal Processing unit v1.0) for CSI cameras.
17 properties:
18   compatible:
19     const: rockchip,rk3399-mipi-dphy-rx0
21   clocks:
22     items:
23       - description: MIPI D-PHY ref clock
24       - description: MIPI D-PHY RX0 cfg clock
25       - description: Video in/out general register file clock
27   clock-names:
28     items:
29       - const: dphy-ref
30       - const: dphy-cfg
31       - const: grf
33   '#phy-cells':
34     const: 0
36   power-domains:
37     description: Video in/out power domain.
38     maxItems: 1
40 required:
41   - compatible
42   - clocks
43   - clock-names
44   - '#phy-cells'
45   - power-domains
47 additionalProperties: false
49 examples:
50   - |
52     /*
53      * MIPI D-PHY RX0 use registers in "general register files", it
54      * should be a child of the GRF.
55      *
56      * grf: syscon@ff770000 {
57      *  compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
58      *  ...
59      * };
60      */
62     #include <dt-bindings/clock/rk3399-cru.h>
63     #include <dt-bindings/power/rk3399-power.h>
65     mipi_dphy_rx0: mipi-dphy-rx0 {
66         compatible = "rockchip,rk3399-mipi-dphy-rx0";
67         clocks = <&cru SCLK_MIPIDPHY_REF>,
68                  <&cru SCLK_DPHY_RX0_CFG>,
69                  <&cru PCLK_VIO_GRF>;
70         clock-names = "dphy-ref", "dphy-cfg", "grf";
71         power-domains = <&power RK3399_PD_VIO>;
72         #phy-cells = <0>;
73     };