~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/phy/socionext,uniphier-usb3ss-phy.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Socionext UniPhier USB3 Super-Speed (SS) PHY
  8 
  9 description: |
 10   This describes the devicetree bindings for PHY interfaces built into
 11   USB3 controller implemented on Socionext UniPhier SoCs.
 12   Although the controller includes High-Speed PHY and Super-Speed PHY,
 13   this describes about Super-Speed PHY.
 14 
 15 maintainers:
 16   - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
 17 
 18 properties:
 19   compatible:
 20     enum:
 21       - socionext,uniphier-pro4-usb3-ssphy
 22       - socionext,uniphier-pro5-usb3-ssphy
 23       - socionext,uniphier-pxs2-usb3-ssphy
 24       - socionext,uniphier-ld20-usb3-ssphy
 25       - socionext,uniphier-pxs3-usb3-ssphy
 26       - socionext,uniphier-nx1-usb3-ssphy
 27 
 28   reg:
 29     maxItems: 1
 30 
 31   "#phy-cells":
 32     const: 0
 33 
 34   clocks:
 35     minItems: 2
 36     maxItems: 3
 37 
 38   clock-names:
 39     minItems: 2
 40     maxItems: 3
 41 
 42   resets:
 43     maxItems: 2
 44 
 45   reset-names:
 46     maxItems: 2
 47 
 48   vbus-supply:
 49     description: A phandle to the regulator for USB VBUS, only for USB host
 50 
 51 allOf:
 52   - if:
 53       properties:
 54         compatible:
 55           contains:
 56             enum:
 57               - socionext,uniphier-pro4-usb3-ssphy
 58               - socionext,uniphier-pro5-usb3-ssphy
 59     then:
 60       properties:
 61         clocks:
 62           minItems: 2
 63           maxItems: 2
 64         clock-names:
 65           items:
 66             - const: gio
 67             - const: link
 68         resets:
 69           minItems: 2
 70           maxItems: 2
 71         reset-names:
 72           items:
 73             - const: gio
 74             - const: link
 75   - if:
 76       properties:
 77         compatible:
 78           contains:
 79             enum:
 80               - socionext,uniphier-pxs2-usb3-ssphy
 81               - socionext,uniphier-ld20-usb3-ssphy
 82     then:
 83       properties:
 84         clocks:
 85           minItems: 2
 86           maxItems: 2
 87         clock-names:
 88           items:
 89             - const: link
 90             - const: phy
 91         resets:
 92           minItems: 2
 93           maxItems: 2
 94         reset-names:
 95           items:
 96             - const: link
 97             - const: phy
 98   - if:
 99       properties:
100         compatible:
101           contains:
102             enum:
103               - socionext,uniphier-pxs3-usb3-ssphy
104               - socionext,uniphier-nx1-usb3-ssphy
105     then:
106       properties:
107         clocks:
108           minItems: 2
109           maxItems: 3
110         clock-names:
111           minItems: 2
112           items:
113             - const: link
114             - const: phy
115             - const: phy-ext
116         resets:
117           minItems: 2
118           maxItems: 2
119         reset-names:
120           items:
121             - const: link
122             - const: phy
123 
124 required:
125   - compatible
126   - reg
127   - "#phy-cells"
128   - clocks
129   - clock-names
130   - resets
131   - reset-names
132 
133 additionalProperties: false
134 
135 examples:
136   - |
137     usb_ssphy0: phy@300 {
138         compatible = "socionext,uniphier-ld20-usb3-ssphy";
139         reg = <0x300 0x10>;
140         #phy-cells = <0>;
141         clock-names = "link", "phy";
142         clocks = <&sys_clk 14>, <&sys_clk 16>;
143         reset-names = "link", "phy";
144         resets = <&sys_rst 14>, <&sys_rst 16>;
145         vbus-supply = <&usb_vbus0>;
146     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php