]> 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)
commit4e553d1ddecf6ada2dc971e5684dee88011fdcae
tree7dd1345063cdbdc14957cdce1efa1839c6d73f7f
parent6455a23fd0d7dc8ca1f0ab6d8f222ae741edfe59
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