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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-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-usb3hs-phy.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Socionext UniPhier USB3 High-Speed (HS) 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 High-Speed PHY.
 14 
 15 maintainers:
 16   - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
 17 
 18 properties:
 19   compatible:
 20     enum:
 21       - socionext,uniphier-pro5-usb3-hsphy
 22       - socionext,uniphier-pxs2-usb3-hsphy
 23       - socionext,uniphier-ld20-usb3-hsphy
 24       - socionext,uniphier-pxs3-usb3-hsphy
 25       - socionext,uniphier-nx1-usb3-hsphy
 26 
 27   reg:
 28     maxItems: 1
 29 
 30   "#phy-cells":
 31     const: 0
 32 
 33   clocks:
 34     minItems: 2
 35     maxItems: 3
 36 
 37   clock-names:
 38     minItems: 2
 39     maxItems: 3
 40 
 41   resets:
 42     maxItems: 2
 43 
 44   reset-names:
 45     maxItems: 2
 46 
 47   vbus-supply:
 48     description: A phandle to the regulator for USB VBUS
 49 
 50   nvmem-cells:
 51     maxItems: 3
 52     description:
 53       Phandles to nvmem cell that contains the trimming data.
 54       Available only for HS-PHY implemented on LD20 and PXs3, and
 55       if unspecified, default value is used.
 56 
 57   nvmem-cell-names:
 58     items:
 59       - const: rterm
 60       - const: sel_t
 61       - const: hs_i
 62     description:
 63       Should be the following names, which correspond to each nvmem-cells.
 64       All of the 3 parameters associated with the above names are
 65       required for each port, if any one is omitted, the trimming data
 66       of the port will not be set at all.
 67 
 68 allOf:
 69   - if:
 70       properties:
 71         compatible:
 72           contains:
 73             const: socionext,uniphier-pro5-usb3-hsphy
 74     then:
 75       properties:
 76         clocks:
 77           minItems: 2
 78           maxItems: 2
 79         clock-names:
 80           items:
 81             - const: gio
 82             - const: link
 83         resets:
 84           minItems: 2
 85           maxItems: 2
 86         reset-names:
 87           items:
 88             - const: gio
 89             - const: link
 90   - if:
 91       properties:
 92         compatible:
 93           contains:
 94             enum:
 95               - socionext,uniphier-pxs2-usb3-hsphy
 96               - socionext,uniphier-ld20-usb3-hsphy
 97     then:
 98       properties:
 99         clocks:
100           minItems: 2
101           maxItems: 2
102         clock-names:
103           items:
104             - const: link
105             - const: phy
106         resets:
107           minItems: 2
108           maxItems: 2
109         reset-names:
110           items:
111             - const: link
112             - const: phy
113   - if:
114       properties:
115         compatible:
116           contains:
117             enum:
118               - socionext,uniphier-pxs3-usb3-hsphy
119               - socionext,uniphier-nx1-usb3-hsphy
120     then:
121       properties:
122         clocks:
123           minItems: 2
124           maxItems: 3
125         clock-names:
126           minItems: 2
127           items:
128             - const: link
129             - const: phy
130             - const: phy-ext
131         resets:
132           minItems: 2
133           maxItems: 2
134         reset-names:
135           items:
136             - const: link
137             - const: phy
138 
139 required:
140   - compatible
141   - reg
142   - "#phy-cells"
143   - clocks
144   - clock-names
145   - resets
146   - reset-names
147 
148 additionalProperties: false
149 
150 examples:
151   - |
152     usb_hsphy0: phy@200 {
153         compatible = "socionext,uniphier-ld20-usb3-hsphy";
154         reg = <0x200 0x10>;
155         #phy-cells = <0>;
156         clock-names = "link", "phy";
157         clocks = <&sys_clk 14>, <&sys_clk 16>;
158         reset-names = "link", "phy";
159         resets = <&sys_rst 14>, <&sys_rst 16>;
160         vbus-supply = <&usb_vbus0>;
161         nvmem-cell-names = "rterm", "sel_t", "hs_i";
162         nvmem-cells = <&usb_rterm0>, <&usb_sel_t0>, <&usb_hs_i0>;
163     };

~ [ 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