diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2015-01-06 08:46:58 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-12 13:13:29 -0500 |
commit | 3280e67536f8a4d4adf8dcde10cb4c4b577c34f4 (patch) | |
tree | 918e5a23ea761c517adf94e37424b045f39b43a2 /Documentation/devicetree/bindings/usb/atmel-usb.txt | |
parent | 6f15e2dc710cc604cc81f0ff596d83c332b5cbe8 (diff) |
usb: atmel_usba_udc: Rework at91sam9rl errata handling
at91sam9rl SoC has an erratum forcing us to toggle the BIAS on USB
suspend/resume events.
This specific handling is only activated when CONFIG_ARCH_AT91SAM9RL is
set and this option is only set when building a non-DT kernel, which is
problematic since non-DT support for at91sam9rl SoC has been removed.
Rework the toggle_bias implementation to attach it to the "at91sam9rl-udc"
compatible string.
Add new compatible strings to avoid executing at91sam9rl erratum handling
on other SoCs.
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/atmel-usb.txt')
-rw-r--r-- | Documentation/devicetree/bindings/usb/atmel-usb.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Documentation/devicetree/bindings/usb/atmel-usb.txt index bc2222ca3f2a..38fee0f66c12 100644 --- a/Documentation/devicetree/bindings/usb/atmel-usb.txt +++ b/Documentation/devicetree/bindings/usb/atmel-usb.txt | |||
@@ -51,7 +51,10 @@ usb1: gadget@fffa4000 { | |||
51 | Atmel High-Speed USB device controller | 51 | Atmel High-Speed USB device controller |
52 | 52 | ||
53 | Required properties: | 53 | Required properties: |
54 | - compatible: Should be "atmel,at91sam9rl-udc" | 54 | - compatible: Should be one of the following |
55 | "at91sam9rl-udc" | ||
56 | "at91sam9g45-udc" | ||
57 | "sama5d3-udc" | ||
55 | - reg: Address and length of the register set for the device | 58 | - reg: Address and length of the register set for the device |
56 | - interrupts: Should contain usba interrupt | 59 | - interrupts: Should contain usba interrupt |
57 | - ep childnode: To specify the number of endpoints and their properties. | 60 | - ep childnode: To specify the number of endpoints and their properties. |