[PATCH 0/6] Add DT support for at91_udc and atmel_lcdfb

Sascha Hauer s.hauer at pengutronix.de
Wed Sep 6 05:29:17 PDT 2017


On Thu, Jul 20, 2017 at 10:01:03PM +0200, Sam Ravnborg wrote:
> A few more patches on my journey to add DT support
> for the at91sam9263ek board.
> 
> Review / feedback / testing would be appreciated!
> 
> The at91_udc driver has seen only limited testing.
> Any hints how I can test this are appreciated.
> I tried to connect the board to my linux box,
> but nothing happened.
> The USB gadget core adds a few devices for which
> I did not manage to dig up any reasons:
> $ devinfo shows:
> udc0
> 
> And there is also a hidden usbgadget device that shows
> the following info:
> $ devinfo usbgadget
> Parameters:
>   manufacturer: barebox (type: string)
>   product: 0x0000 (type: uint32)
>   productname: Atmel at91sam9263ek (type: string)
>   vendor: 0x0000 (type: uint32)

To actually bind a function driver to the gadget you have to execute the
usbgadget command, for example with -a given. This should create a
gadget and on your host a /dev/ttyACM should show up.

The patch itself looks fine, so I applied it along with the rest of the
series.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list