drm/bridge: Fix assignment of the of_node of the parent to aux bridge
[drm/drm-misc.git] / Documentation / devicetree / bindings / phy / amlogic,g12a-usb2-phy.yaml
blob1a0c436b87a099c1343fd7dd8e5e491fa4c08247
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019 BayLibre, SAS
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/phy/amlogic,g12a-usb2-phy.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Amlogic G12A USB2 PHY
10 maintainers:
11   - Neil Armstrong <neil.armstrong@linaro.org>
13 properties:
14   compatible:
15     enum:
16       - amlogic,g12a-usb2-phy
17       - amlogic,a1-usb2-phy
19   reg:
20     maxItems: 1
22   clocks:
23     maxItems: 1
25   clock-names:
26     items:
27       - const: xtal
29   resets:
30     maxItems: 1
32   reset-names:
33     items:
34       - const: phy
36   "#phy-cells":
37     const: 0
39   phy-supply:
40     description:
41       Phandle to a regulator that provides power to the PHY. This
42       regulator will be managed during the PHY power on/off sequence.
44   power-domains:
45     maxItems: 1
47 required:
48   - compatible
49   - reg
50   - clocks
51   - clock-names
52   - resets
53   - reset-names
54   - "#phy-cells"
56 if:
57   properties:
58     compatible:
59       enum:
60         - amlogic,meson-a1-usb-ctrl
62 then:
63   properties:
64     power-domains:
65       maxItems: 1
66   required:
67     - power-domains
69 additionalProperties: false
71 examples:
72   - |
73     phy@36000 {
74           compatible = "amlogic,g12a-usb2-phy";
75           reg = <0x36000 0x2000>;
76           clocks = <&xtal>;
77           clock-names = "xtal";
78           resets = <&phy_reset>;
79           reset-names = "phy";
80           #phy-cells = <0>;
81     };