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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/usb/usb251xb.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 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/usb/usb251xb.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/usb/usb251xb.yaml (Version linux-6.10.14)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/usb/usb251x      4 $id: http://devicetree.org/schemas/usb/usb251xb.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Microchip USB 2.0 Hi-Speed Hub Controll      7 title: Microchip USB 2.0 Hi-Speed Hub Controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Richard Leitner <richard.leitner@skidata.co     10   - Richard Leitner <richard.leitner@skidata.com>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     enum:                                          14     enum:
 15       - microchip,usb2422                          15       - microchip,usb2422
 16       - microchip,usb2512b                         16       - microchip,usb2512b
 17       - microchip,usb2512bi                        17       - microchip,usb2512bi
 18       - microchip,usb2513b                         18       - microchip,usb2513b
 19       - microchip,usb2513bi                        19       - microchip,usb2513bi
 20       - microchip,usb2514b                         20       - microchip,usb2514b
 21       - microchip,usb2514bi                        21       - microchip,usb2514bi
 22       - microchip,usb2517                          22       - microchip,usb2517
 23       - microchip,usb2517i                         23       - microchip,usb2517i
 24       - microchip,usb251xb                         24       - microchip,usb251xb
 25                                                    25 
 26   reg:                                             26   reg:
 27     maxItems: 1                                    27     maxItems: 1
 28                                                    28 
 29   reset-gpios:                                     29   reset-gpios:
 30     description: |                                 30     description: |
 31       Should specify the gpio for hub reset        31       Should specify the gpio for hub reset
 32                                                    32 
 33   vdd-supply:                                      33   vdd-supply:
 34     description: |                                 34     description: |
 35       Should specify the phandle to the regula     35       Should specify the phandle to the regulator supplying vdd
 36                                                    36 
 37   skip-config:                                     37   skip-config:
 38     $ref: /schemas/types.yaml#/definitions/fla     38     $ref: /schemas/types.yaml#/definitions/flag
 39     description: |                                 39     description: |
 40       Skip Hub configuration, but only send th     40       Skip Hub configuration, but only send the USB-Attach command
 41                                                    41 
 42   vendor-id:                                       42   vendor-id:
 43     $ref: /schemas/types.yaml#/definitions/uin     43     $ref: /schemas/types.yaml#/definitions/uint16
 44     default: 0x0424                                44     default: 0x0424
 45     description: |                                 45     description: |
 46       Set USB Vendor ID of the hub                 46       Set USB Vendor ID of the hub
 47                                                    47 
 48   product-id:                                      48   product-id:
 49     $ref: /schemas/types.yaml#/definitions/uin     49     $ref: /schemas/types.yaml#/definitions/uint16
 50     description: |                                 50     description: |
 51       Set USB Product ID of the hub                51       Set USB Product ID of the hub
 52                                                    52 
 53   device-id:                                       53   device-id:
 54     $ref: /schemas/types.yaml#/definitions/uin     54     $ref: /schemas/types.yaml#/definitions/uint16
 55     default: 0x0bb3                                55     default: 0x0bb3
 56     description: |                                 56     description: |
 57       Set USB Device ID of the hub                 57       Set USB Device ID of the hub
 58                                                    58 
 59   language-id:                                     59   language-id:
 60     $ref: /schemas/types.yaml#/definitions/uin     60     $ref: /schemas/types.yaml#/definitions/uint16
 61     default: 0x0000                                61     default: 0x0000
 62     description: |                                 62     description: |
 63       Set USB Language ID                          63       Set USB Language ID
 64                                                    64 
 65   manufacturer:                                    65   manufacturer:
 66     $ref: /schemas/types.yaml#/definitions/str     66     $ref: /schemas/types.yaml#/definitions/string
 67     description: |                                 67     description: |
 68       Set USB Manufacturer string (max 31 char     68       Set USB Manufacturer string (max 31 characters long)
 69                                                    69 
 70   product:                                         70   product:
 71     $ref: /schemas/types.yaml#/definitions/str     71     $ref: /schemas/types.yaml#/definitions/string
 72     description: |                                 72     description: |
 73       Set USB Product string (max 31 character     73       Set USB Product string (max 31 characters long)
 74                                                    74 
 75   serial:                                          75   serial:
 76     $ref: /schemas/types.yaml#/definitions/str     76     $ref: /schemas/types.yaml#/definitions/string
 77     description: |                                 77     description: |
 78       Set USB Serial string (max 31 characters     78       Set USB Serial string (max 31 characters long)
 79                                                    79 
 80   bus-powered:                                     80   bus-powered:
 81     $ref: /schemas/types.yaml#/definitions/fla     81     $ref: /schemas/types.yaml#/definitions/flag
 82     description: |                                 82     description: |
 83       selects between self- and bus-powered op     83       selects between self- and bus-powered operation
 84       (boolean, default is self-powered)           84       (boolean, default is self-powered)
 85                                                    85 
 86   self-powered:                                    86   self-powered:
 87     $ref: /schemas/types.yaml#/definitions/fla     87     $ref: /schemas/types.yaml#/definitions/flag
 88     description: |                                 88     description: |
 89       selects between self- and bus-powered op     89       selects between self- and bus-powered operation
 90       (boolean, default is self-powered)           90       (boolean, default is self-powered)
 91                                                    91 
 92   disable-hi-speed:                                92   disable-hi-speed:
 93     $ref: /schemas/types.yaml#/definitions/fla     93     $ref: /schemas/types.yaml#/definitions/flag
 94     description: |                                 94     description: |
 95       disable USB Hi-Speed support (boolean)       95       disable USB Hi-Speed support (boolean)
 96                                                    96 
 97   multi-tt:                                        97   multi-tt:
 98     $ref: /schemas/types.yaml#/definitions/fla     98     $ref: /schemas/types.yaml#/definitions/flag
 99     description: |                                 99     description: |
100       selects between multi- and single-transa    100       selects between multi- and single-transaction-translator
101       (boolean, default is multi-tt)              101       (boolean, default is multi-tt)
102                                                   102 
103   single-tt:                                      103   single-tt:
104     $ref: /schemas/types.yaml#/definitions/fla    104     $ref: /schemas/types.yaml#/definitions/flag
105     description: |                                105     description: |
106       selects between multi- and single-transa    106       selects between multi- and single-transaction-translator
107       (boolean, default is multi-tt)              107       (boolean, default is multi-tt)
108                                                   108 
109   disable-eop:                                    109   disable-eop:
110     $ref: /schemas/types.yaml#/definitions/fla    110     $ref: /schemas/types.yaml#/definitions/flag
111     description: |                                111     description: |
112       disable End of Packet generation in full    112       disable End of Packet generation in full-speed mode (boolean)
113                                                   113 
114   ganged-sensing:                                 114   ganged-sensing:
115     $ref: /schemas/types.yaml#/definitions/fla    115     $ref: /schemas/types.yaml#/definitions/flag
116     description: |                                116     description: |
117       select over-current sense type in self-p    117       select over-current sense type in self-powered mode
118       (boolean, default is individual)            118       (boolean, default is individual)
119                                                   119 
120   individual-sensing:                             120   individual-sensing:
121     $ref: /schemas/types.yaml#/definitions/fla    121     $ref: /schemas/types.yaml#/definitions/flag
122     description: |                                122     description: |
123       select over-current sense type in self-p    123       select over-current sense type in self-powered mode
124       (boolean, default is individual)            124       (boolean, default is individual)
125                                                   125 
126   ganged-port-switching:                          126   ganged-port-switching:
127     $ref: /schemas/types.yaml#/definitions/fla    127     $ref: /schemas/types.yaml#/definitions/flag
128     description: |                                128     description: |
129       select port power switching mode (boolea    129       select port power switching mode (boolean, default is individual)
130                                                   130 
131   individual-port-switching:                      131   individual-port-switching:
132     $ref: /schemas/types.yaml#/definitions/fla    132     $ref: /schemas/types.yaml#/definitions/flag
133     description: |                                133     description: |
134       select port power switching mode (boolea    134       select port power switching mode (boolean, default is individual)
135                                                   135 
136   dynamic-power-switching:                        136   dynamic-power-switching:
137     $ref: /schemas/types.yaml#/definitions/fla    137     $ref: /schemas/types.yaml#/definitions/flag
138     description: |                                138     description: |
139       enable auto-switching from self- to bus-    139       enable auto-switching from self- to bus-powered operation if the
140       local power source is removed or unavail    140       local power source is removed or unavailable (boolean)
141                                                   141 
142   oc-delay-us:                                    142   oc-delay-us:
143     enum: [100, 4000, 8000, 16000]                143     enum: [100, 4000, 8000, 16000]
144     default: 8000                                 144     default: 8000
145     description: |                                145     description: |
146       Delay time (in microseconds) for filteri    146       Delay time (in microseconds) for filtering the over-current sense
147       inputs. If an invalid value is given, th    147       inputs. If an invalid value is given, the default is used instead.
148                                                   148 
149   compound-device:                                149   compound-device:
150     $ref: /schemas/types.yaml#/definitions/fla    150     $ref: /schemas/types.yaml#/definitions/flag
151     description: |                                151     description: |
152       indicate the hub is part of a compound d    152       indicate the hub is part of a compound device (boolean)
153                                                   153 
154   port-mapping-mode:                              154   port-mapping-mode:
155     $ref: /schemas/types.yaml#/definitions/fla    155     $ref: /schemas/types.yaml#/definitions/flag
156     description: |                                156     description: |
157       enable port mapping mode (boolean)          157       enable port mapping mode (boolean)
158                                                   158 
159   led-usb-mode:                                   159   led-usb-mode:
160     $ref: /schemas/types.yaml#/definitions/fla    160     $ref: /schemas/types.yaml#/definitions/flag
161     description: |                                161     description: |
162       led usb/speed indication mode selection     162       led usb/speed indication mode selection (boolean, default is speed mode)
163                                                   163 
164   led-speed-mode:                                 164   led-speed-mode:
165     $ref: /schemas/types.yaml#/definitions/fla    165     $ref: /schemas/types.yaml#/definitions/flag
166     description: |                                166     description: |
167       led usb/speed indication mode selection     167       led usb/speed indication mode selection (boolean, default is speed mode)
168                                                   168 
169   string-support:                                 169   string-support:
170     $ref: /schemas/types.yaml#/definitions/fla    170     $ref: /schemas/types.yaml#/definitions/flag
171     description: |                                171     description: |
172       enable string descriptor support (requir    172       enable string descriptor support (required for manufacturer, product
173       and serial string configuration)            173       and serial string configuration)
174                                                   174 
175   non-removable-ports:                            175   non-removable-ports:
176     $ref: /schemas/types.yaml#/definitions/uin    176     $ref: /schemas/types.yaml#/definitions/uint8-array
177     description: |                                177     description: |
178       Should specify the ports which have a no    178       Should specify the ports which have a non-removable device connected.
179                                                   179 
180   sp-disabled-ports:                              180   sp-disabled-ports:
181     $ref: /schemas/types.yaml#/definitions/uin    181     $ref: /schemas/types.yaml#/definitions/uint8-array
182     description: |                                182     description: |
183       Specifies the ports which will be self-p    183       Specifies the ports which will be self-power disabled
184                                                   184 
185   bp-disabled-ports:                              185   bp-disabled-ports:
186     $ref: /schemas/types.yaml#/definitions/uin    186     $ref: /schemas/types.yaml#/definitions/uint8-array
187     description: |                                187     description: |
188       Specifies the ports which will be bus-po    188       Specifies the ports which will be bus-power disabled
189                                                   189 
190   sp-max-total-current-microamp:                  190   sp-max-total-current-microamp:
191     maximum: 100000                               191     maximum: 100000
192     default: 1000                                 192     default: 1000
193     description: |                                193     description: |
194       Specifies max current consumed by the hu    194       Specifies max current consumed by the hub from VBUS when
195       operating in self-powered hub. It includ    195       operating in self-powered hub. It includes the hub silicon
196       along with all associated circuitry incl    196       along with all associated circuitry including a permanently
197       attached peripheral.                        197       attached peripheral.
198                                                   198 
199   bp-max-total-current-microamp:                  199   bp-max-total-current-microamp:
200     maximum: 510000                               200     maximum: 510000
201     default: 100000                               201     default: 100000
202     description: |                                202     description: |
203       Specifies max current consumed by the hu    203       Specifies max current consumed by the hub from VBUS when
204       operating in self-powered hub. It includ    204       operating in self-powered hub. It includes the hub silicon
205       along with all associated circuitry incl    205       along with all associated circuitry including a permanently
206       attached peripheral.                        206       attached peripheral.
207                                                   207 
208   sp-max-removable-current-microamp:              208   sp-max-removable-current-microamp:
209     maximum: 100000                               209     maximum: 100000
210     default: 1000                                 210     default: 1000
211     description: |                                211     description: |
212       Specifies max current consumed by the hu    212       Specifies max current consumed by the hub from VBUS when
213       operating in self-powered hub. It includ    213       operating in self-powered hub. It includes the hub silicon
214       along with all associated circuitry excl    214       along with all associated circuitry excluding a permanently
215       attached peripheral.                        215       attached peripheral.
216                                                   216 
217   bp-max-removable-current-microamp:              217   bp-max-removable-current-microamp:
218     maximum: 510000                               218     maximum: 510000
219     default: 100000                               219     default: 100000
220     description: |                                220     description: |
221       Specifies max current consumed by the hu    221       Specifies max current consumed by the hub from VBUS when
222       operating in self-powered hub. It includ    222       operating in self-powered hub. It includes the hub silicon
223       along with all associated circuitry excl    223       along with all associated circuitry excluding a permanently
224       attached peripheral.                        224       attached peripheral.
225                                                   225 
226   power-on-time-ms:                               226   power-on-time-ms:
227     maximum: 510                                  227     maximum: 510
228     default: 100                                  228     default: 100
229     description: |                                229     description: |
230       Specifies the time it takes from the tim    230       Specifies the time it takes from the time the host initiates the
231       power-on sequence to a port until the po    231       power-on sequence to a port until the port has adequate power.
232                                                   232 
233   swap-dx-lanes:                                  233   swap-dx-lanes:
234     $ref: /schemas/types.yaml#/definitions/uin    234     $ref: /schemas/types.yaml#/definitions/uint32-array
235     description: |                                235     description: |
236       Specifies the ports which will swap the     236       Specifies the ports which will swap the differential-pair (D+/D-),
237       default is not-swapped.                     237       default is not-swapped.
238                                                   238 
239 additionalProperties: false                       239 additionalProperties: false
240                                                   240 
241 required:                                         241 required:
242   - compatible                                    242   - compatible
243   - reg                                           243   - reg
244                                                   244 
245 examples:                                         245 examples:
246   - |                                             246   - |
247     #include <dt-bindings/gpio/gpio.h>            247     #include <dt-bindings/gpio/gpio.h>
248                                                   248 
249     i2c {                                         249     i2c {
250       #address-cells = <1>;                       250       #address-cells = <1>;
251       #size-cells = <0>;                          251       #size-cells = <0>;
252                                                   252 
253       usb-hub@2c {                                253       usb-hub@2c {
254         compatible = "microchip,usb2512b";        254         compatible = "microchip,usb2512b";
255         reg = <0x2c>;                             255         reg = <0x2c>;
256         reset-gpios = <&gpio1 4 GPIO_ACTIVE_LO    256         reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
257       };                                          257       };
258                                                   258 
259       usb-hub@2d {                                259       usb-hub@2d {
260         compatible = "microchip,usb2514b";        260         compatible = "microchip,usb2514b";
261         reg = <0x2d>;                             261         reg = <0x2d>;
262         vendor-id = /bits/ 16 <0x0000>;           262         vendor-id = /bits/ 16 <0x0000>;
263         product-id = /bits/ 16 <0x0000>;          263         product-id = /bits/ 16 <0x0000>;
264         string-support;                           264         string-support;
265         manufacturer = "Foo";                     265         manufacturer = "Foo";
266         product = "Foo-Bar";                      266         product = "Foo-Bar";
267         serial = "1234567890A";                   267         serial = "1234567890A";
268         /* correct misplaced usb connectors on    268         /* correct misplaced usb connectors on port 1,2 */
269         swap-dx-lanes = <1 2>;                    269         swap-dx-lanes = <1 2>;
270       };                                          270       };
271     };                                            271     };
                                                      

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