]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6ede3e93a8538d828bf8c53e32262681a1c9777
tree7dd1345063cdbdc14957cdce1efa1839c6d73f7f
parentecd506f2895c13dcf3bb6517bad37ff61c84dfe9
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