Merge branch 'for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / phy / allwinner,sun6i-a31-mipi-dphy.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/phy/allwinner,sun6i-a31-mipi-dphy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Allwinner A31 MIPI D-PHY Controller Device Tree Bindings
8
9 maintainers:
10   - Chen-Yu Tsai <wens@csie.org>
11   - Maxime Ripard <mripard@kernel.org>
12
13 properties:
14   "#phy-cells":
15     const: 0
16
17   compatible:
18     oneOf:
19       - const: allwinner,sun6i-a31-mipi-dphy
20       - items:
21           - const: allwinner,sun50i-a64-mipi-dphy
22           - const: allwinner,sun6i-a31-mipi-dphy
23
24   reg:
25     maxItems: 1
26
27   clocks:
28     items:
29       - description: Bus Clock
30       - description: Module Clock
31
32   clock-names:
33     items:
34       - const: bus
35       - const: mod
36
37   resets:
38     maxItems: 1
39
40 required:
41   - "#phy-cells"
42   - compatible
43   - reg
44   - clocks
45   - clock-names
46   - resets
47
48 additionalProperties: false
49
50 examples:
51   - |
52     dphy0: d-phy@1ca1000 {
53         compatible = "allwinner,sun6i-a31-mipi-dphy";
54         reg = <0x01ca1000 0x1000>;
55         clocks = <&ccu 23>, <&ccu 97>;
56         clock-names = "bus", "mod";
57         resets = <&ccu 4>;
58         #phy-cells = <0>;
59     };
60
61 ...