xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/8] xen: ARM HDLCD video driver
@ 2012-12-18 18:45 Stefano Stabellini
  2012-12-18 18:46 ` [PATCH v3 1/8] xen/arm: introduce early_ioremap Stefano Stabellini
                   ` (7 more replies)
  0 siblings, 8 replies; 23+ messages in thread
From: Stefano Stabellini @ 2012-12-18 18:45 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com
  Cc: Tim (Xen.org), Ian Campbell, Stefano Stabellini

Hi all,
this patch series introduces a very simple driver for the ARM HDLCD
Controller, that means that we can finally have something on the screen
while Xen is booting on ARM :)

The driver is capable of reading the mode property on device tree and
setting the HDLCD accordingly. It is also capable of setting the
required OSC5 timer to the right frequency for the pixel clock.

In order to reduce code duplication with x86, I tried to generalize the
existing vesa character rendering functions into a architecture agnostic
framebuffer driver that can be used by vesa and the hdlcd drivers.

I would very much appreciate if you could give a close look at the vesa
changes because I don't have any x86 test machines that boot in vesa
mode, therefore I couldn't test it.


Changes in v3:
- rename fb_cr to fb_carriage_return.


Changes in v2:
- rebase on latest xen-unstable;
- add support for multiple resolutions;
- add support to dynamically change the OSC5 motherboard timer;
- add the patch "preserve DTB mappings".



Stefano Stabellini (8):
      xen/arm: introduce early_ioremap
      xen: infrastructure to have cross-platform video drivers
      xen: introduce a generic framebuffer driver
      xen/vesa: use the new fb_* functions
      xen/arm: preserve DTB mappings
      xen/device_tree: introduce find_compatible_node
      xen/arm: introduce vexpress_syscfg
      xen/arm: introduce a driver for the ARM HDLCD controller

 xen/arch/arm/Makefile                   |    1 +
 xen/arch/arm/Rules.mk                   |    2 +
 xen/arch/arm/kernel.h                   |    2 +
 xen/arch/arm/mm.c                       |   44 +++++
 xen/arch/arm/platform_vexpress.c        |   97 +++++++++++
 xen/arch/arm/setup.c                    |    8 +-
 xen/arch/x86/Rules.mk                   |    1 +
 xen/common/device_tree.c                |   51 ++++++
 xen/drivers/Makefile                    |    2 +-
 xen/drivers/char/console.c              |   12 +-
 xen/drivers/video/Makefile              |   12 +-
 xen/drivers/video/arm_hdlcd.c           |  282 +++++++++++++++++++++++++++++++
 xen/drivers/video/fb.c                  |  209 +++++++++++++++++++++++
 xen/drivers/video/fb.h                  |   49 ++++++
 xen/drivers/video/modelines.h           |   69 ++++++++
 xen/drivers/video/vesa.c                |  179 +++-----------------
 xen/drivers/video/vga.c                 |   12 +-
 xen/include/asm-arm/config.h            |    4 +
 xen/include/asm-arm/mm.h                |    5 +-
 xen/include/asm-arm/page.h              |   23 +++
 xen/include/asm-arm/platform_vexpress.h |   23 +++
 xen/include/asm-x86/config.h            |    1 +
 xen/include/xen/device_tree.h           |    3 +
 xen/include/xen/vga.h                   |    9 +-
 xen/include/xen/video.h                 |   24 +++
 25 files changed, 940 insertions(+), 184 deletions(-)


Cheers,

Stefano

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

end of thread, other threads:[~2013-01-08 19:32 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-18 18:45 [PATCH v3 0/8] xen: ARM HDLCD video driver Stefano Stabellini
2012-12-18 18:46 ` [PATCH v3 1/8] xen/arm: introduce early_ioremap Stefano Stabellini
2012-12-19 11:52   ` Ian Campbell
2013-01-08 19:02     ` Stefano Stabellini
2012-12-18 18:46 ` [PATCH v3 2/8] xen: infrastructure to have cross-platform video drivers Stefano Stabellini
2012-12-18 18:46 ` [PATCH v3 3/8] xen: introduce a generic framebuffer driver Stefano Stabellini
2012-12-19  8:08   ` Jan Beulich
2012-12-19  8:13   ` Jan Beulich
2012-12-18 18:46 ` [PATCH v3 4/8] xen/vesa: use the new fb_* functions Stefano Stabellini
2012-12-19 12:29   ` Ian Campbell
2012-12-18 18:46 ` [PATCH v3 5/8] xen/arm: preserve DTB mappings Stefano Stabellini
2012-12-19 12:36   ` Ian Campbell
2013-01-08 18:33     ` Stefano Stabellini
2013-01-08 19:04       ` David Vrabel
2013-01-08 19:32         ` Stefano Stabellini
2012-12-18 18:46 ` [PATCH v3 6/8] xen/device_tree: introduce find_compatible_node Stefano Stabellini
2012-12-19 14:06   ` Ian Campbell
2012-12-18 18:46 ` [PATCH v3 7/8] xen/arm: introduce vexpress_syscfg Stefano Stabellini
2012-12-19 12:47   ` Ian Campbell
2013-01-08 17:16     ` Stefano Stabellini
2012-12-18 18:46 ` [PATCH v3 8/8] xen/arm: introduce a driver for the ARM HDLCD controller Stefano Stabellini
2012-12-19 12:58   ` Ian Campbell
2013-01-08 13:51     ` Stefano Stabellini

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).