mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/6] Add DT support for at91_udc and atmel_lcdfb
@ 2017-07-20 20:01 Sam Ravnborg
  2017-07-20 20:05 ` [PATCH 1/6] at91_udc: add DT support Sam Ravnborg
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Sam Ravnborg @ 2017-07-20 20:01 UTC (permalink / raw)
  To: Barebox List

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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2017-09-06 12:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-20 20:01 [PATCH 0/6] Add DT support for at91_udc and atmel_lcdfb Sam Ravnborg
2017-07-20 20:05 ` [PATCH 1/6] at91_udc: add DT support Sam Ravnborg
2017-07-20 20:05 ` [PATCH 2/6] atmel_lcdfb: move dmacon, lcdcon2 to local data Sam Ravnborg
2017-07-20 20:05 ` [PATCH 3/6] atmel_lcdfb: move lcd_wiring_mode, have_intensity_bit " Sam Ravnborg
2017-07-20 20:05 ` [PATCH 4/6] atmel_lcdfb: define power_control gpio in platform_data Sam Ravnborg
2017-07-20 20:05 ` [PATCH 5/6] atmel_lcdfb: move pdata init to a separate function Sam Ravnborg
2017-07-20 20:05 ` [PATCH 6/6] atmel_lcdfb: add DT support Sam Ravnborg
2017-09-06 12:29 ` [PATCH 0/6] Add DT support for at91_udc and atmel_lcdfb Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox