diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-05-22 13:21:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 16:19:04 -0700 |
commit | 657d898a9320a7cdb9b94565d75ecf75c25cbf0a (patch) | |
tree | 149cd288d68ee037b4376a8c578cbe59c6dc4219 /drivers/usb/misc/usbtest.c | |
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 'drivers/usb/misc/usbtest.c')
0 files changed, 0 insertions, 0 deletions