diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2012-09-12 07:58:05 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-12 14:20:38 -0400 |
commit | d142d6be231713330f9c0d7ee52f23e1b3f19ee4 (patch) | |
tree | 22c13437373301d2ff9c2b311c42eaab2d079a1e /Documentation/devicetree/bindings/usb | |
parent | 08d9c74d45ceb581c11d2ab265c32236b0321a56 (diff) |
USB: chipidea: add imx usbmisc support
i.MX usb controllers share non-core registers, which may include
SoC specific controls. We turn it into a usbmisc device and usbmisc
driver set operations needed by ci13xxx_imx driver.
For example, Sabrelite board has bad over-current design, we can
usbmisc to disable over-current detection.
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb')
-rw-r--r-- | Documentation/devicetree/bindings/usb/ci13xxx-imx.txt | 5 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/usb/usbmisc-imx.txt | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/ci13xxx-imx.txt b/Documentation/devicetree/bindings/usb/ci13xxx-imx.txt index 2c290418bb2d..5778b9c83bd8 100644 --- a/Documentation/devicetree/bindings/usb/ci13xxx-imx.txt +++ b/Documentation/devicetree/bindings/usb/ci13xxx-imx.txt | |||
@@ -7,7 +7,10 @@ Required properties: | |||
7 | 7 | ||
8 | Optional properties: | 8 | Optional properties: |
9 | - fsl,usbphy: phandler of usb phy that connects to the only one port | 9 | - fsl,usbphy: phandler of usb phy that connects to the only one port |
10 | - fsl,usbmisc: phandler of non-core register device, with one argument | ||
11 | that indicate usb controller index | ||
10 | - vbus-supply: regulator for vbus | 12 | - vbus-supply: regulator for vbus |
13 | - disable-over-current: disable over current detect | ||
11 | 14 | ||
12 | Examples: | 15 | Examples: |
13 | usb@02184000 { /* USB OTG */ | 16 | usb@02184000 { /* USB OTG */ |
@@ -15,4 +18,6 @@ usb@02184000 { /* USB OTG */ | |||
15 | reg = <0x02184000 0x200>; | 18 | reg = <0x02184000 0x200>; |
16 | interrupts = <0 43 0x04>; | 19 | interrupts = <0 43 0x04>; |
17 | fsl,usbphy = <&usbphy1>; | 20 | fsl,usbphy = <&usbphy1>; |
21 | fsl,usbmisc = <&usbmisc 0>; | ||
22 | disable-over-current; | ||
18 | }; | 23 | }; |
diff --git a/Documentation/devicetree/bindings/usb/usbmisc-imx.txt b/Documentation/devicetree/bindings/usb/usbmisc-imx.txt new file mode 100644 index 000000000000..97ce94e1a6cc --- /dev/null +++ b/Documentation/devicetree/bindings/usb/usbmisc-imx.txt | |||
@@ -0,0 +1,14 @@ | |||
1 | * Freescale i.MX non-core registers | ||
2 | |||
3 | Required properties: | ||
4 | - #index-cells: Cells used to descibe usb controller index. Should be <1> | ||
5 | - compatible: Should be one of below: | ||
6 | "fsl,imx6q-usbmisc" for imx6q | ||
7 | - reg: Should contain registers location and length | ||
8 | |||
9 | Examples: | ||
10 | usbmisc@02184800 { | ||
11 | #index-cells = <1>; | ||
12 | compatible = "fsl,imx6q-usbmisc"; | ||
13 | reg = <0x02184800 0x200>; | ||
14 | }; | ||