Hello,
Here is a set of patches porting existing at91sam9rl erratum handling to
DT and adding new code to handle at91sam9g45/9x5 erratum.
It also adds several compatible strings to differentiate those errata.
These patches should be backported to 3.17 and 3.18 stable releases but
they do not apply cleanly on those stable branches.
I'll send a backport of this series once it is merged in mainline.
Regards,
Boris
Changes since v2:
- remove UTF8 character in commit message of patch 2
Changes since v1:
- cache INT_ENB value to speedup INT_ENB read operations
Boris Brezillon (5):
usb: atmel_usba_udc: Rework at91sam9rl errata handling
usb: atmel_usba_udc: Add at91sam9g45 and at91sam9x5 errata handling
ARM: at91/dt: update udc compatible strings
usb: atmel_usba_udc: Mask status with enabled irqs
usb: gadget: atmel_usba: Cache INT_ENB register value
.../devicetree/bindings/usb/atmel-usb.txt | 5 +-
arch/arm/boot/dts/at91sam9g45.dtsi | 2 +-
arch/arm/boot/dts/at91sam9x5.dtsi | 2 +-
arch/arm/boot/dts/sama5d3.dtsi | 2 +-
arch/arm/boot/dts/sama5d4.dtsi | 2 +-
drivers/usb/gadget/udc/atmel_usba_udc.c | 146 +++++++++++++--------
drivers/usb/gadget/udc/atmel_usba_udc.h | 9 ++
7 files changed, 111 insertions(+), 57 deletions(-)