Voipac PXA270 LCD Support
Subsystems (3)
PATCH 1/5 Voipac PXA270 LCD Support
--- arch/arm/cpu/pxa/pxafb.c | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-)
arch/arm/cpu/pxa/pxafb.c +33 -0
@@ -112,6 +112,39 @@ vidinfo_t panel_info = { vl_efw: 0, };#endif /* CONFIG_SHARP_LM8V31 */ +/*----------------------------------------------------------------------*/ +#ifdef CONFIG_VOIPAC_LCD + +# define LCD_BPP LCD_COLOR8 +# define LCD_INVERT_COLORS + +/* you have to set lccr0 and lccr3 (including pcd) */ +# define REG_LCCR0 0x043008f8 +# define REG_LCCR3 0x0340FF08 + +vidinfo_t panel_info = { + vl_col:640 , + vl_row:480 , + vl_width:157 , + vl_height:118 , + vl_clkp:CONFIG_SYS_HIGH , + vl_oep:CONFIG_SYS_HIGH , + vl_hsp:CONFIG_SYS_HIGH , + vl_vsp:CONFIG_SYS_HIGH , + vl_dp:CONFIG_SYS_HIGH , + vl_bpix:LCD_BPP , + vl_lbw:0 , + vl_splt:1 , + vl_clor:1 , + vl_tft:1 , + vl_hpw:32 , + vl_blw:144 , + vl_elw:32 , + vl_vpw:2 , + vl_bfw:13 , + vl_efw:30 , +}; +#endif /* CONFIG_VOIPAC_LCD */ /*----------------------------------------------------------------------*/ #ifdef CONFIG_HITACHI_SX14
Signature · 1 line
1.7.1
PATCH 2/5 PXA: Add support for LMS285GF05 into pxafb
--- arch/arm/cpu/pxa/pxafb.c | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-)
arch/arm/cpu/pxa/pxafb.c +34 -0
@@ -180,6 +180,40 @@ vidinfo_t panel_info = {#endif /* CONFIG_HITACHI_SX14 */ /*----------------------------------------------------------------------*/ +#ifdef CONFIG_LMS283GF05 + +# define LCD_BPP LCD_COLOR8 +//# define LCD_INVERT_COLORS + +/* you have to set lccr0 and lccr3 (including pcd) */ +# define REG_LCCR0 0x043008f8 +# define REG_LCCR3 0x03b00009 + +vidinfo_t panel_info = { + vl_col:240 , + vl_row:320 , + vl_width:240 , + vl_height:320 , + vl_clkp:CONFIG_SYS_HIGH , + vl_oep:CONFIG_SYS_LOW , + vl_hsp:CONFIG_SYS_LOW , + vl_vsp:CONFIG_SYS_LOW , + vl_dp:CONFIG_SYS_HIGH , + vl_bpix:LCD_BPP , + vl_lbw:0 , + vl_splt:1 , + vl_clor:1 , + vl_tft:1 , + vl_hpw:4 , + vl_blw:4 , + vl_elw:8 , + vl_vpw:4 , + vl_bfw:4 , + vl_efw:8 , +}; +#endif /* CONFIG_LMS283GF05 */ + +/*----------------------------------------------------------------------*/ #if LCD_BPP ==LCD_COLOR8 void lcd_setcolreg (ushort regno,ushort red,ushort green,ushort blue);
Signature · 1 line
1.7.1
PATCH 3/5 PXA: Voipac PXA270 Support
In reply to Marek VasutThis patch adds support for the Voipac PXA270 board. The support includes:
- Ethernet
- USB
- MMC
- NOR Booting
- OneNAND Booting
- LCD
- HDD
--- MAKEALL | 2 + Makefile | 9 + board/vpac270/Makefile | 48 ++++ board/vpac270/config.mk | 1 + board/vpac270/lowlevel_init.S | 40 +++ board/vpac270/u-boot.lds | 55 +++++ board/vpac270/vpac270.c | 127 ++++++++++ include/configs/vpac270.h | 328 ++++++++++++++++++++++++++ onenand_ipl/board/vpac270/Makefile | 83 +++++++ onenand_ipl/board/vpac270/config.mk | 1 + onenand_ipl/board/vpac270/lowlevel_init.S | 34 +++ onenand_ipl/board/vpac270/u-boot.onenand.lds | 51 ++++ onenand_ipl/board/vpac270/vpac270.c | 42 ++++ 13 files changed, 821 insertions(+), 0 deletions(-) create mode 100644 board/vpac270/Makefile create mode 100644 board/vpac270/config.mk create mode 100644 board/vpac270/lowlevel_init.S create mode 100644 board/vpac270/u-boot.lds create mode 100644 board/vpac270/vpac270.c create mode 100644 include/configs/vpac270.h create mode 100644 onenand_ipl/board/vpac270/Makefile create mode 100644 onenand_ipl/board/vpac270/config.mk create mode 100644 onenand_ipl/board/vpac270/lowlevel_init.S create mode 100644 onenand_ipl/board/vpac270/u-boot.onenand.lds create mode 100644 onenand_ipl/board/vpac270/vpac270.c
MAKEALL +2 -0
@@ -711,6 +711,8 @@ LIST_pxa=" \ polaris \ pxa255_idp \ trizepsiv \ + vpac270_nor \ + vpac270_onenand \ wepep250 \ xaeniax \ xm250 \
Makefile +9 -0
@@ -2171,6 +2171,15 @@ trizepsiv_config : unconfig fi; @$(MKCONFIG) -n $@ -a trizepsiv arm pxa trizepsiv +vpac270_nor_config \ +vpac270_onenand_config : unconfig + @mkdir -p $(obj)include + @if [ "$(findstring onenand,$@)" ] ; then \ + echo "#define CONFIG_ONENAND_U_BOOT" \ + >>$(obj)include/config.h ; \ + fi; + @$(MKCONFIG) -n $@ -a vpac270 arm pxa vpac270 + ######################################################################### ## ARM1136 Systems #########################################################################
board/vpac270/Makefile new file +48 -0
48 lines not on this page · raw message
board/vpac270/config.mk new file +1 -0
@@ -0,0 +1 @@ +TEXT_BASE = 0xa1000000
board/vpac270/lowlevel_init.S new file +40 -0
@@ -0,0 +1,40 @@ +/* + * Voipac PXA270 Lowlevel Hardware Initialization + * + * Copyright (C) 2010 Marek Vasut <[email protected]> + * + * + * See file CREDITS for list of people who contributed to this + * project. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + */ + +#include <config.h> +#include <version.h> +#include <asm/arch/pxa-regs.h> +#include <asm/arch/macro.h> + +.globl lowlevel_init +lowlevel_init: + pxa_gpio_setup + pxa_wait_ticks 0x8000 + pxa_mem_setup + pxa_wakeup + pxa_intr_setup + pxa_clock_setup + + mov pc, lr
board/vpac270/u-boot.lds new file +55 -0
55 lines not on this page · raw message
board/vpac270/vpac270.c new file +127 -0
127 lines not on this page · raw message
include/configs/vpac270.h new file +328 -0
328 lines not on this page · raw message
onenand_ipl/board/vpac270/Makefile new file +83 -0
83 lines not on this page · raw message
onenand_ipl/board/vpac270/config.mk new file +1 -0
@@ -0,0 +1 @@ +TEXT_BASE = 0x5c03fc00
onenand_ipl/board/vpac270/lowlevel_init.S new file +34 -0
@@ -0,0 +1,34 @@ +/* + * Voipac PXA270 Lowlevel Hardware Initialization + * + * Copyright (C) 2010 Marek Vasut <[email protected]> + * + * + * See file CREDITS for list of people who contributed to this + * project. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + */ + +#include <config.h> +#include <version.h> +#include <asm/arch/pxa-regs.h> +#include <asm/arch/macro.h> + +.globl lowlevel_init +lowlevel_init: + pxa_clock_setup + mov pc, lr
onenand_ipl/board/vpac270/u-boot.onenand.lds new file +51 -0
51 lines not on this page · raw message
onenand_ipl/board/vpac270/vpac270.c new file +42 -0
42 lines not on this page · raw message
Signature · 1 line
1.7.1
PATCH 3/5 PXA: Voipac PXA270 Support
Hi Marek,
Quoted 12 lines · Marek Vasut
This patch adds support for the Voipac PXA270 board. The support includes:
- Ethernet
- USB
- MMC
- NOR Booting
- OneNAND Booting
- LCD
- HDDSigned-off-by Marek Vasut<[email protected]>---
<snip>
include/configs/vpac270.h line 115
Quoted 7 lines
include/configs/vpac270.h new file +6
-0+#define CONFIG_NETMASK 255.255.255.0 +#define CONFIG_IPADDR 192.168.1.52 +#define CONFIG_SERVERIP 192.168.1.51 +#define CONFIG_ETHADDR 00:11:22:33:44:55 +#endif +
Please remove these. The same goes for the other boards.
regards,
Ben
PATCH 3/5 PXA: Voipac PXA270 Support
Dne ?t 6. ?ervence 2010 20:41:56 Ben Warren napsal(a):
Quoted 17 lines
Hi Marek,
Quoted 11 lines · Marek Vasut
This patch adds support for the Voipac PXA270 board. The support
includes: - Ethernet
- USB
- MMC
- NOR Booting
- OneNAND Booting
- LCD
- HDDSigned-off-by Marek Vasut<[email protected]>---
<snip>
Quoted 8 lines
include/configs/vpac270.h line 115
Quoted 6 lines
include/configs/vpac270.h new file +6
-0+#define CONFIG_NETMASK 255.255.255.0 +#define CONFIG_IPADDR 192.168.1.52 +#define CONFIG_SERVERIP 192.168.1.51 +#define CONFIG_ETHADDR 00:11:22:33:44:55 +#endif +Please remove these. The same goes for the other boards.
Ok, removed. I pushed the new patches without this into -next-plat. Thanks
Quoted 3 lines
regards,
Ben
PATCH 4/5 PXA: Toradex Colibri PXA270 support
In reply to Marek Vasut--- MAKEALL | 1 + board/colibri_pxa270/Makefile | 45 +++++ board/colibri_pxa270/colibri_pxa270.c | 118 ++++++++++++++ board/colibri_pxa270/config.mk | 1 + board/colibri_pxa270/lowlevel_init.S | 36 ++++ boards.cfg | 1 + include/configs/colibri_pxa270.h | 283 +++++++++++++++++++++++++++++++++ 7 files changed, 485 insertions(+), 0 deletions(-) create mode 100644 board/colibri_pxa270/Makefile create mode 100644 board/colibri_pxa270/colibri_pxa270.c create mode 100644 board/colibri_pxa270/config.mk create mode 100644 board/colibri_pxa270/lowlevel_init.S create mode 100644 include/configs/colibri_pxa270.h
MAKEALL +1 -0
@@ -702,6 +702,7 @@ LIST_at91=" \ LIST_pxa=" \ cerf250 \ + colibri_pxa270 \ cradle \ csb226 \ delta \
board/colibri_pxa270/Makefile new file +45 -0
45 lines not on this page · raw message
board/colibri_pxa270/colibri_pxa270.c new file +118 -0
118 lines not on this page · raw message
board/colibri_pxa270/config.mk new file +1 -0
@@ -0,0 +1 @@ +TEXT_BASE = 0xa1000000
board/colibri_pxa270/lowlevel_init.S new file +36 -0
@@ -0,0 +1,36 @@ +/* + * Toradex Colibri PXA270 Lowlevel Hardware Initialization + * + * Copyright (C) 2010 Marek Vasut <[email protected]> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + */ + +#include <config.h> +#include <version.h> +#include <asm/arch/pxa-regs.h> +#include <asm/arch/macro.h> + +.globl lowlevel_init +lowlevel_init: + pxa_gpio_setup + pxa_wait_ticks 0x8000 + pxa_mem_setup + pxa_wakeup + pxa_intr_setup + pxa_clock_setup + + mov pc, lr
boards.cfg +1 -0
@@ -52,6 +52,7 @@ actux3 arm ixp actux4 arm ixp ixdp425 arm ixp cerf250 arm pxa +colibri_pxa270 arm pxa cradle arm pxa csb226 arm pxa delta arm pxa
include/configs/colibri_pxa270.h new file +283 -0
283 lines not on this page · raw message
Signature · 1 line
1.7.1
PATCH 5/5 PXA: ZipitZ2 support
In reply to Marek VasutThis patch adds support for Aeronix Zipit Z2 handheld.
--- MAKEALL | 1 + board/zipitz2/Makefile | 54 +++++++++ board/zipitz2/config.mk | 1 + board/zipitz2/lowlevel_init.S | 40 +++++++ board/zipitz2/u-boot.lds | 56 +++++++++ board/zipitz2/zipitz2.c | 213 +++++++++++++++++++++++++++++++++ boards.cfg | 1 + include/configs/zipitz2.h | 259 +++++++++++++++++++++++++++++++++++++++++ 8 files changed, 625 insertions(+), 0 deletions(-) create mode 100644 board/zipitz2/Makefile create mode 100644 board/zipitz2/config.mk create mode 100644 board/zipitz2/lowlevel_init.S create mode 100644 board/zipitz2/u-boot.lds create mode 100644 board/zipitz2/zipitz2.c create mode 100644 include/configs/zipitz2.h
MAKEALL +1 -0
@@ -718,6 +718,7 @@ LIST_pxa=" \ xaeniax \ xm250 \ xsengine \ + zipitz2 \ zylonite \ "
board/zipitz2/Makefile new file +54 -0
54 lines not on this page · raw message
board/zipitz2/config.mk new file +1 -0
@@ -0,0 +1 @@ +TEXT_BASE = 0xa1000000
board/zipitz2/lowlevel_init.S new file +40 -0
@@ -0,0 +1,40 @@ +/* + * Aeronix Zipit Z2 Lowlevel Hardware Initialization + * + * Copyright (C) 2010 Marek Vasut <[email protected]> + * + * + * See file CREDITS for list of people who contributed to this + * project. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + */ + +#include <config.h> +#include <version.h> +#include <asm/arch/pxa-regs.h> +#include <asm/arch/macro.h> + +.globl lowlevel_init +lowlevel_init: + pxa_gpio_setup + pxa_wait_ticks 0x8000 + pxa_mem_setup + pxa_wakeup + pxa_intr_setup + pxa_clock_setup + + mov pc, lr
board/zipitz2/u-boot.lds new file +56 -0
56 lines not on this page · raw message
board/zipitz2/zipitz2.c new file +213 -0
213 lines not on this page · raw message
boards.cfg +1 -0
@@ -62,6 +62,7 @@ lubbock arm pxa pleb2 arm pxa xaeniax arm pxa xm250 arm pxa +zipitz2 arm pxa B2 arm s3c44b0 - dave assabet arm sa1100 dnp1110 arm sa1100
include/configs/zipitz2.h new file +259 -0
259 lines not on this page · raw message
Signature · 1 line
1.7.1