usb: gadget: udc: atmel: Don't use DT to configure end point
authorGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 7 May 2020 15:56:49 +0000 (17:56 +0200)
committerFelipe Balbi <balbi@kernel.org>
Mon, 25 May 2020 08:09:42 +0000 (11:09 +0300)
commite78355b577c4ba623707fca2a36ddb4dc9f6ee29
tree7dd1345063cdbdc14957cdce1efa1839c6d73f7f
parentb10e1c2535777fa393c494d6fa2096c7c3219250
usb: gadget: udc: atmel: Don't use DT to configure end point

The endpoint configuration used to be stored in the device tree,
however the configuration depend on the "version" of the controller
itself.

This information is already documented by the compatible string. It
then possible to just rely on the compatible string and completely
remove the full ep configuration done in the device tree as it was
already the case for all the other USB device controller.

Acked-by: Cristian Birsan <cristian.birsan@microchip.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/udc/atmel_usba_udc.c
drivers/usb/gadget/udc/atmel_usba_udc.h