linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Remove the USB EP configuration from device tree
@ 2019-11-07 15:31 Gregory CLEMENT
  2019-11-07 15:31 ` [PATCH 1/3] usb: gadget: udc: atmel: Don't use DT to configure end point Gregory CLEMENT
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Gregory CLEMENT @ 2019-11-07 15:31 UTC (permalink / raw)
  To: Cristian Birsan, Felipe Balbi, Greg Kroah-Hartman, Alan Stern,
	linux-usb, linux-kernel
  Cc: Rob Herring, devicetree, Nicolas Ferre, Alexandre Belloni,
	Ludovic Desroches, linux-arm-kernel, Thomas Petazzoni,
	Gregory CLEMENT

Hello,

The Atmel USB device controller is the only one having the description
of the End Point configuration in the device tree.

This configuration depend on the version of the controller used in the
SoC. This variation is already documented by the compatible string of
the controller.

In this series the configuration is associated to the compatible
string which allows to remove the EP child node from the device
tree. The main benefit of it, beyond the simplification of the device
tree, is the reduction of the size of the dtb which was too big to be
managed by the bootloader.

The first two patches should be merged through the USB subsystem while
the last one should be take by the a91 subsystem. Moreover this last
patch should be merged only once the change in the driver is merged.

Gregory

Gregory CLEMENT (3):
  usb: gadget: udc: atmel: Don't use DT to configure end point
  dt-bindings: usb: atmel: Mark EP child node as deprecated
  ARM: dts: at91: Remove the USB EP child node

 .../devicetree/bindings/usb/atmel-usb.txt     |  56 +--------
 arch/arm/boot/dts/at91sam9g45.dtsi            |  52 --------
 arch/arm/boot/dts/at91sam9rl.dtsi             |  52 --------
 arch/arm/boot/dts/at91sam9x5.dtsi             |  52 --------
 arch/arm/boot/dts/sama5d2.dtsi                | 118 ------------------
 arch/arm/boot/dts/sama5d3.dtsi                | 105 ----------------
 arch/arm/boot/dts/sama5d4.dtsi                | 118 ------------------
 drivers/usb/gadget/udc/atmel_usba_udc.c       | 112 +++++++++++------
 drivers/usb/gadget/udc/atmel_usba_udc.h       |  12 ++
 9 files changed, 87 insertions(+), 590 deletions(-)

-- 
2.24.0.rc1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-11-22 17:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07 15:31 [PATCH 0/3] Remove the USB EP configuration from device tree Gregory CLEMENT
2019-11-07 15:31 ` [PATCH 1/3] usb: gadget: udc: atmel: Don't use DT to configure end point Gregory CLEMENT
2019-11-22 14:50   ` Gregory CLEMENT
2019-11-22 16:02     ` Cristian.Birsan
2019-11-07 15:31 ` [PATCH 2/3] dt-bindings: usb: atmel: Mark EP child node as deprecated Gregory CLEMENT
2019-11-14  1:30   ` Rob Herring
2019-11-07 15:31 ` [PATCH 3/3] ARM: dts: at91: Remove the USB EP child node Gregory CLEMENT
2019-11-22 17:22   ` Robin Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).