mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2025-04-21 12:27:27 +03:00
ubb-vga: new option -2 to keep on refreshing the LCD display (experimental)
"Experimental" means that it doesn't seem to work at the moment. - regs4740.h (_LCD, LCDCTRL): added the LCD control register - ubb-vga.c (old_lcdctrl, tame_lcd, restore_lcd): make the LCD controller use short bursts, to reduce the bus access latency for other users - ubb-vga.c (keep_lcd, setup_noirq, cleanup_noirq, usage, main): new option -2 to keep on refreshing the LCD display
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#define _GPIO(n) REG(0x0010000+(n))
|
||||
#define _MSC(n) REG(0x0021000+(n))
|
||||
#define _DMAC(n) REG(0x3020000+(n))
|
||||
#define _LCD(n) REG(0x3050000+(n))
|
||||
|
||||
#define CLKGR _CGU(0x0020) /* Clock Gate */
|
||||
#define MSCCDR _CGU(0x0068) /* MSC device clock divider */
|
||||
@@ -80,4 +81,6 @@
|
||||
#define DMAC _DMAC(0x300) /* DMA control */
|
||||
#define DDR _DMAC(0x308) /* DMA doorbell */
|
||||
|
||||
#define LCDCTRL _LCD(0x30) /* LCD control */
|
||||
|
||||
#endif /* !REGS4740_H */
|
||||
|
||||
Reference in New Issue
Block a user