Add DT support for at91_udc and atmel_lcdfb
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | at91_udc: add DT supportdrivers/ | +45 | 0 replies | |
| 2/6 | atmel_lcdfb: move dmacon, lcdcon2 to local datadrivers/ drivers/ drivers/ +1 more | +8 | 0 replies | |
| 3/6 | atmel_lcdfb: move lcd_wiring_mode, have_intensity_bit to local datadrivers/ drivers/ | +7 | 0 replies | |
| 4/6 | atmel_lcdfb: define power_control gpio in platform_dataarch/ arch/ arch/ +4 more | +65 | 0 replies | |
| 5/6 | atmel_lcdfb: move pdata init to a separate functiondrivers/ | +41 | 0 replies | |
| 6/6 | atmel_lcdfb: add DT supportdrivers/ drivers/ | +138 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Add DT support for at91_udc and atmel_lcdfb
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)
The atmel_lcdfb driver in the linux kernel used device data to define if the device had an intensity bit.
This is with this patchset encoded in the lcd-wiring mode.
See further details in the "add DT support" patch.
Tested on the at91sam9263ek board.
(with DT support added - patches will be sent later).
atmel_lcdfb_core is shared between atmel_lcdfb and atmel_hlcdfb. But only the compatible related to the first are included, as I was not certain how this would work with the hlcdfb variants. We can always add remaining compatible entires is someone steps up and test it.
The work is done on top of master but I do not expect any problems adding these to -next.
Sam
Sam Ravnborg (6):
at91_udc: add DT support
atmel_lcdfb: move dmacon, lcdcon2 to local data
atmel_lcdfb: move lcd_wiring_mode, have_intensity_bit to local data
atmel_lcdfb: define power_control gpio in platform_data
atmel_lcdfb: move pdata init to a separate function
atmel_lcdfb: add DT support
arch/arm/boards/at91sam9261ek/init.c | 35 +---- arch/arm/boards/at91sam9263ek/init.c | 26 +--- arch/arm/boards/at91sam9m10ihd/init.c | 26 +--- arch/arm/boards/at91sam9n12ek/init.c | 28 +--- drivers/usb/gadget/at91_udc.c | 56 ++++++-- drivers/video/atmel_hlcdfb.c | 5 +- drivers/video/atmel_lcdfb.c | 19 ++- drivers/video/atmel_lcdfb.h | 8 +- drivers/video/atmel_lcdfb_core.c | 247 ++++++++++++++++++++++++++++++---- include/video/atmel_lcdc.h | 3 +- 10 files changed, 295 insertions(+), 158 deletions(-)
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox