diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-05-22 07:21:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 19:19:04 -0400 |
commit | 657d898a9320a7cdb9b94565d75ecf75c25cbf0a (patch) | |
tree | 149cd288d68ee037b4376a8c578cbe59c6dc4219 /Documentation/devicetree/bindings/usb | |
parent | 6fecd4f2a58c60028b1a75deefcf111516d3f836 (diff) |
usb: usb5303: add support for reference clock specified in device tree
USB3503 chip supports 8 values of reference clock. The value is
specified by REF_SEL[1:0] pins and INT_N line. This patch add support
for getting 'refclk' clock, enabling it and setting INT_N line according
to the value of the gathered clock. If no clock has been specified,
driver defaults to the old behaviour (assuming that clock has been
specified by REF_SEL pins from primary reference clock frequencies
table).
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb')
-rw-r--r-- | Documentation/devicetree/bindings/usb/usb3503.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/usb3503.txt b/Documentation/devicetree/bindings/usb/usb3503.txt index a018da4a7ad7..221ac0dbc678 100644 --- a/Documentation/devicetree/bindings/usb/usb3503.txt +++ b/Documentation/devicetree/bindings/usb/usb3503.txt | |||
@@ -15,6 +15,14 @@ Optional properties: | |||
15 | - reset-gpios: Should specify GPIO for reset. | 15 | - reset-gpios: Should specify GPIO for reset. |
16 | - initial-mode: Should specify initial mode. | 16 | - initial-mode: Should specify initial mode. |
17 | (1 for HUB mode, 2 for STANDBY mode) | 17 | (1 for HUB mode, 2 for STANDBY mode) |
18 | - refclk: Clock used for driving REFCLK signal (optional, if not provided | ||
19 | the driver assumes that clock signal is always available, its | ||
20 | rate is specified by REF_SEL pins and a value from the primary | ||
21 | reference clock frequencies table is used) | ||
22 | - refclk-frequency: Frequency of the REFCLK signal as defined by REF_SEL | ||
23 | pins (optional, if not provided, driver will not set rate of the | ||
24 | REFCLK signal and assume that a value from the primary reference | ||
25 | clock frequencies table is used) | ||
18 | 26 | ||
19 | Examples: | 27 | Examples: |
20 | usb3503@08 { | 28 | usb3503@08 { |