diff options
author | Richard Leitner <richard.leitner@skidata.com> | 2017-03-06 03:24:21 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-09 04:34:16 -0500 |
commit | 7f7d8ba3b2140d993887a7db7a83d85c1f8db0e8 (patch) | |
tree | 75fc7bcbccf34812d85196887688ea84db428597 /Documentation | |
parent | cfa47afe77b393e2c24a57e7e9611857a0b064f1 (diff) |
usb: usb251xb: dt: add unit suffix to oc-delay and power-on-time
Rename oc-delay-* to oc-delay-us and make it expect a time value.
Furthermore add -ms suffix to power-on-time. There changes were
suggested by Rob Herring in https://lkml.org/lkml/2017/2/15/1283.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/usb/usb251xb.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/usb/usb251xb.txt b/Documentation/devicetree/bindings/usb/usb251xb.txt index a5efd10ace9e..91499ae028db 100644 --- a/Documentation/devicetree/bindings/usb/usb251xb.txt +++ b/Documentation/devicetree/bindings/usb/usb251xb.txt | |||
@@ -31,7 +31,9 @@ Optional properties : | |||
31 | (default is individual) | 31 | (default is individual) |
32 | - dynamic-power-switching : enable auto-switching from self- to bus-powered | 32 | - dynamic-power-switching : enable auto-switching from self- to bus-powered |
33 | operation if the local power source is removed or unavailable | 33 | operation if the local power source is removed or unavailable |
34 | - oc-delay-{100us,4ms,8ms,16ms} : set over current timer delay (default is 8ms) | 34 | - oc-delay-us : Delay time (in microseconds) for filtering the over-current |
35 | sense inputs. Valid values are 100, 4000, 8000 (default) and 16000. If | ||
36 | an invalid value is given, the default is used instead. | ||
35 | - compound-device : indicated the hub is part of a compound device | 37 | - compound-device : indicated the hub is part of a compound device |
36 | - port-mapping-mode : enable port mapping mode | 38 | - port-mapping-mode : enable port mapping mode |
37 | - string-support : enable string descriptor support (required for manufacturer, | 39 | - string-support : enable string descriptor support (required for manufacturer, |
@@ -40,9 +42,9 @@ Optional properties : | |||
40 | device connected. | 42 | device connected. |
41 | - sp-disabled-ports : Specifies the ports which will be self-power disabled | 43 | - sp-disabled-ports : Specifies the ports which will be self-power disabled |
42 | - bp-disabled-ports : Specifies the ports which will be bus-power disabled | 44 | - bp-disabled-ports : Specifies the ports which will be bus-power disabled |
43 | - power-on-time : Specifies the time it takes from the time the host initiates | 45 | - power-on-time-ms : Specifies the time it takes from the time the host |
44 | the power-on sequence to a port until the port has adequate power. The | 46 | initiates the power-on sequence to a port until the port has adequate |
45 | value is given in ms in a 0 - 510 range (default is 100ms). | 47 | power. The value is given in ms in a 0 - 510 range (default is 100ms). |
46 | 48 | ||
47 | Examples: | 49 | Examples: |
48 | usb2512b@2c { | 50 | usb2512b@2c { |