sh: Add SuperH Mobile LCDC platform data for Migo-R
PATCH 1/1 sh: Add SuperH Mobile LCDC platform data for Migo-R
From: Magnus Damm <[email protected]>
Add WVGA and QVGA LCD panel support to Migo-R.
Signed-off-by Magnus Damm <[email protected]>
---
arch/sh/Kconfig | 1 arch/sh/boards/renesas/migor/Kconfig | 15 ++ arch/sh/boards/renesas/migor/Makefile | 1 arch/sh/boards/renesas/migor/lcd_qvga.c | 165 +++++++++++++++++++++++++++++++ arch/sh/boards/renesas/migor/setup.c | 96 ++++++++++++++++++ include/asm-sh/migor.h | 6 + 6 files changed, 284 insertions(+)
arch/sh/Kconfig +1 -0
@@ -591,6 +591,7 @@ endmenu source "arch/sh/boards/renesas/rts7751r2d/Kconfig" source "arch/sh/boards/renesas/r7780rp/Kconfig" source "arch/sh/boards/renesas/sdk7780/Kconfig" +source "arch/sh/boards/renesas/migor/Kconfig" source "arch/sh/boards/magicpanelr2/Kconfig" menu "Timer and clock configuration"
arch/sh/boards/renesas/migor/Kconfig new file +15 -0
@@ -0,0 +1,15 @@ +if SH_MIGOR + +choice + prompt "Migo-R LCD Panel Board Selection" + default SH_MIGOR_QVGA + +config SH_MIGOR_QVGA + bool "QVGA (320x240)" + +config SH_MIGOR_RTA_WVGA + bool "RTA WVGA (800x480)" + +endchoice + +endif
arch/sh/boards/renesas/migor/Makefile +1 -0
@@ -1 +1,2 @@ obj-y := setup.o +obj-$(CONFIG_SH_MIGOR_QVGA) += lcd_qvga.o
arch/sh/boards/renesas/migor/lcd_qvga.c new file +165 -0
165 lines not on this page · raw message
arch/sh/boards/renesas/migor/setup.c +96 -0
123 lines not on this page · raw message
include/asm-sh/migor.h +6 -0
@@ -30,6 +30,7 @@#define PORT_PYCR 0xa405014a#define PORT_PZCR 0xa405014c#define PORT_PADR 0xa4050120 +#define PORT_PHDR 0xa405012e#define PORT_PWDR 0xa4050166#define PORT_HIZCRA 0xa4050158
@@ -51,4 +52,9 @@#define BSC_CS6ABCR 0xfec1001c +#include <asm/sh_mobile_lcdc.h> + +int migor_lcd_qvga_setup (void *board_data,void *sys_ops_handle, +struct sh_mobile_lcdc_sys_bus_ops *sys_ops); +#endif /* __ASM_SH_MIGOR_H */
Quoted 1 line · Magnus Damm
Add WVGA and QVGA LCD panel support to Migo-R.
Quoted 1 line · Magnus Damm
Add Migo-R specific platform data for on-chip sh7722 CEU and ov772x camera.
Quoted 1 line · Magnus Damm
Add LCD panel platform data for the AP325RXA board.
Quoted 1 line · Magnus Damm
Pass board specific smc911x parameters using struct
smc911x_platdata.
Quoted 1 line · Magnus Damm
Add AP325RXA specific platform data for on-chip sh7723 CEU and ncm03j camera.
All applied, thanks.