summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2014-05-22 13:21:38 +0200
committerChanho Park <chanho61.park@samsung.com>2014-11-18 12:00:03 +0900
commit66cf6bf3a0080bf6d578d77a16546a1c71d58a88 (patch)
tree4b7edb8b68e7275bc13d3914d13838ce7111b2ca /Documentation
parentd0a044f63187023dc394190b4001a59696fe95d9 (diff)
downloadlinux-3.10-66cf6bf3a0080bf6d578d77a16546a1c71d58a88.tar.gz
linux-3.10-66cf6bf3a0080bf6d578d77a16546a1c71d58a88.tar.bz2
linux-3.10-66cf6bf3a0080bf6d578d77a16546a1c71d58a88.zip
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> [merged to mainline as commit 657d898a9320a7cdb9b94565d75ecf75c25cbf0a] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: If36e36c671bb2ebc87ad39bfba5e30947e486c4a
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/usb/usb3503.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/usb3503.txt b/Documentation/devicetree/bindings/usb/usb3503.txt
index a018da4a7ad..221ac0dbc67 100644
--- a/Documentation/devicetree/bindings/usb/usb3503.txt
+++ b/Documentation/devicetree/bindings/usb/usb3503.txt
@@ -15,6 +15,14 @@ Optional properties:
- reset-gpios: Should specify GPIO for reset.
- initial-mode: Should specify initial mode.
(1 for HUB mode, 2 for STANDBY mode)
+- refclk: Clock used for driving REFCLK signal (optional, if not provided
+ the driver assumes that clock signal is always available, its
+ rate is specified by REF_SEL pins and a value from the primary
+ reference clock frequencies table is used)
+- refclk-frequency: Frequency of the REFCLK signal as defined by REF_SEL
+ pins (optional, if not provided, driver will not set rate of the
+ REFCLK signal and assume that a value from the primary reference
+ clock frequencies table is used)
Examples:
usb3503@08 {