Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
bedbda97
Commit
bedbda97
authored
Jan 04, 2010
by
Eric Miao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] pxa: simplify the LCD pin configuration for pxa27x platforms
Signed-off-by:
Eric Miao
<
eric.y.miao@gmail.com
>
parent
07bae6c3
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
41 additions
and
257 deletions
+41
-257
arch/arm/mach-pxa/balloon3.c
arch/arm/mach-pxa/balloon3.c
+1
-20
arch/arm/mach-pxa/cm-x270.c
arch/arm/mach-pxa/cm-x270.c
+1
-20
arch/arm/mach-pxa/em-x270.c
arch/arm/mach-pxa/em-x270.c
+1
-20
arch/arm/mach-pxa/include/mach/mfp-pxa27x.h
arch/arm/mach-pxa/include/mach/mfp-pxa27x.h
+27
-0
arch/arm/mach-pxa/magician.c
arch/arm/mach-pxa/magician.c
+1
-20
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-pxa/mainstone.c
+1
-20
arch/arm/mach-pxa/mioa701.c
arch/arm/mach-pxa/mioa701.c
+1
-19
arch/arm/mach-pxa/palmld.c
arch/arm/mach-pxa/palmld.c
+1
-20
arch/arm/mach-pxa/palmt5.c
arch/arm/mach-pxa/palmt5.c
+1
-20
arch/arm/mach-pxa/palmtreo.c
arch/arm/mach-pxa/palmtreo.c
+1
-19
arch/arm/mach-pxa/palmtx.c
arch/arm/mach-pxa/palmtx.c
+1
-20
arch/arm/mach-pxa/palmz72.c
arch/arm/mach-pxa/palmz72.c
+2
-20
arch/arm/mach-pxa/spitz.c
arch/arm/mach-pxa/spitz.c
+1
-19
arch/arm/mach-pxa/trizeps4.c
arch/arm/mach-pxa/trizeps4.c
+1
-20
No files found.
arch/arm/mach-pxa/balloon3.c
View file @
bedbda97
...
@@ -140,26 +140,7 @@ static void balloon3_backlight_power(int on)
...
@@ -140,26 +140,7 @@ static void balloon3_backlight_power(int on)
static
unsigned
long
balloon3_lcd_pin_config
[]
=
{
static
unsigned
long
balloon3_lcd_pin_config
[]
=
{
/* LCD - 16bpp Active TFT */
/* LCD - 16bpp Active TFT */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
GPIO77_LCD_BIAS
,
GPIO99_GPIO
,
/* Backlight */
GPIO99_GPIO
,
/* Backlight */
};
};
...
...
arch/arm/mach-pxa/cm-x270.c
View file @
bedbda97
...
@@ -71,26 +71,7 @@ static unsigned long cmx270_pin_config[] = {
...
@@ -71,26 +71,7 @@ static unsigned long cmx270_pin_config[] = {
GPIO111_MMC_DAT_3
,
GPIO111_MMC_DAT_3
,
/* LCD */
/* LCD */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
GPIO77_LCD_BIAS
,
/* I2C */
/* I2C */
GPIO117_I2C_SCL
,
GPIO117_I2C_SCL
,
...
...
arch/arm/mach-pxa/em-x270.c
View file @
bedbda97
...
@@ -109,26 +109,7 @@ static unsigned long common_pin_config[] = {
...
@@ -109,26 +109,7 @@ static unsigned long common_pin_config[] = {
GPIO111_MMC_DAT_3
,
GPIO111_MMC_DAT_3
,
/* LCD */
/* LCD */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
GPIO77_LCD_BIAS
,
/* QCI */
/* QCI */
GPIO84_CIF_FV
,
GPIO84_CIF_FV
,
...
...
arch/arm/mach-pxa/include/mach/mfp-pxa27x.h
View file @
bedbda97
...
@@ -434,5 +434,32 @@
...
@@ -434,5 +434,32 @@
#define GPIO112_nMSINS MFP_CFG_IN(GPIO112, AF2)
#define GPIO112_nMSINS MFP_CFG_IN(GPIO112, AF2)
#define GPIO32_MSSCLK MFP_CFG_OUT(GPIO32, AF1, DRIVE_LOW)
#define GPIO32_MSSCLK MFP_CFG_OUT(GPIO32, AF1, DRIVE_LOW)
/* commonly used pin configurations */
#define GPIOxx_LCD_16BPP \
GPIO58_LCD_LDD_0, \
GPIO59_LCD_LDD_1, \
GPIO60_LCD_LDD_2, \
GPIO61_LCD_LDD_3, \
GPIO62_LCD_LDD_4, \
GPIO63_LCD_LDD_5, \
GPIO64_LCD_LDD_6, \
GPIO65_LCD_LDD_7, \
GPIO66_LCD_LDD_8, \
GPIO67_LCD_LDD_9, \
GPIO68_LCD_LDD_10, \
GPIO69_LCD_LDD_11, \
GPIO70_LCD_LDD_12, \
GPIO71_LCD_LDD_13, \
GPIO72_LCD_LDD_14, \
GPIO73_LCD_LDD_15
#define GPIOxx_LCD_TFT_16BPP \
GPIOxx_LCD_16BPP, \
GPIO74_LCD_FCLK, \
GPIO75_LCD_LCLK, \
GPIO76_LCD_PCLK, \
GPIO77_LCD_BIAS
extern
int
keypad_set_wake
(
unsigned
int
on
);
extern
int
keypad_set_wake
(
unsigned
int
on
);
#endif
/* __ASM_ARCH_MFP_PXA27X_H */
#endif
/* __ASM_ARCH_MFP_PXA27X_H */
arch/arm/mach-pxa/magician.c
View file @
bedbda97
...
@@ -88,26 +88,7 @@ static unsigned long magician_pin_config[] __initdata = {
...
@@ -88,26 +88,7 @@ static unsigned long magician_pin_config[] __initdata = {
GPIO112_MMC_CMD
,
GPIO112_MMC_CMD
,
/* LCD */
/* LCD */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
GPIO77_LCD_BIAS
,
/* QCI */
/* QCI */
GPIO12_CIF_DD_7
,
GPIO12_CIF_DD_7
,
...
...
arch/arm/mach-pxa/mainstone.c
View file @
bedbda97
...
@@ -60,26 +60,7 @@ static unsigned long mainstone_pin_config[] = {
...
@@ -60,26 +60,7 @@ static unsigned long mainstone_pin_config[] = {
GPIO15_nCS_1
,
GPIO15_nCS_1
,
/* LCD - 16bpp Active TFT */
/* LCD - 16bpp Active TFT */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
GPIO77_LCD_BIAS
,
GPIO16_PWM0_OUT
,
/* Backlight */
GPIO16_PWM0_OUT
,
/* Backlight */
/* MMC */
/* MMC */
...
...
arch/arm/mach-pxa/mioa701.c
View file @
bedbda97
...
@@ -86,25 +86,7 @@ static unsigned long mioa701_pin_config[] = {
...
@@ -86,25 +86,7 @@ static unsigned long mioa701_pin_config[] = {
MIO_CFG_OUT
(
GPIO22_USB_ENABLE
,
AF0
,
DRIVE_LOW
),
MIO_CFG_OUT
(
GPIO22_USB_ENABLE
,
AF0
,
DRIVE_LOW
),
/* LCD */
/* LCD */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
/* QCI */
/* QCI */
GPIO12_CIF_DD_7
,
GPIO12_CIF_DD_7
,
...
...
arch/arm/mach-pxa/palmld.c
View file @
bedbda97
...
@@ -83,26 +83,7 @@ static unsigned long palmld_pin_config[] __initdata = {
...
@@ -83,26 +83,7 @@ static unsigned long palmld_pin_config[] __initdata = {
GPIO105_KP_MKOUT_2
,
GPIO105_KP_MKOUT_2
,
/* LCD */
/* LCD */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
GPIO77_LCD_BIAS
,
/* PWM */
/* PWM */
GPIO16_PWM0_OUT
,
GPIO16_PWM0_OUT
,
...
...
arch/arm/mach-pxa/palmt5.c
View file @
bedbda97
...
@@ -87,26 +87,7 @@ static unsigned long palmt5_pin_config[] __initdata = {
...
@@ -87,26 +87,7 @@ static unsigned long palmt5_pin_config[] __initdata = {
GPIO105_KP_MKOUT_2
,
GPIO105_KP_MKOUT_2
,
/* LCD */
/* LCD */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
GPIO77_LCD_BIAS
,
/* PWM */
/* PWM */
GPIO16_PWM0_OUT
,
GPIO16_PWM0_OUT
,
...
...
arch/arm/mach-pxa/palmtreo.c
View file @
bedbda97
...
@@ -99,25 +99,7 @@ static unsigned long treo_pin_config[] __initdata = {
...
@@ -99,25 +99,7 @@ static unsigned long treo_pin_config[] __initdata = {
GPIO93_KP_DKIN_0
|
WAKEUP_ON_LEVEL_HIGH
,
/* Hotsync button */
GPIO93_KP_DKIN_0
|
WAKEUP_ON_LEVEL_HIGH
,
/* Hotsync button */
/* LCD */
/* LCD */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
/* Quick Capture Interface */
/* Quick Capture Interface */
GPIO84_CIF_FV
,
GPIO84_CIF_FV
,
...
...
arch/arm/mach-pxa/palmtx.c
View file @
bedbda97
...
@@ -110,26 +110,7 @@ static unsigned long palmtx_pin_config[] __initdata = {
...
@@ -110,26 +110,7 @@ static unsigned long palmtx_pin_config[] __initdata = {
GPIO105_KP_MKOUT_2
,
GPIO105_KP_MKOUT_2
,
/* LCD */
/* LCD */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
GPIO77_LCD_BIAS
,
/* FFUART */
/* FFUART */
GPIO34_FFUART_RXD
,
GPIO34_FFUART_RXD
,
...
...
arch/arm/mach-pxa/palmz72.c
View file @
bedbda97
...
@@ -95,26 +95,8 @@ static unsigned long palmz72_pin_config[] __initdata = {
...
@@ -95,26 +95,8 @@ static unsigned long palmz72_pin_config[] __initdata = {
GPIO105_KP_MKOUT_2
,
GPIO105_KP_MKOUT_2
,
/* LCD */
/* LCD */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
GPIO77_LCD_BIAS
,
GPIO20_GPIO
,
/* bl power */
GPIO20_GPIO
,
/* bl power */
GPIO21_GPIO
,
/* LCD border switch */
GPIO21_GPIO
,
/* LCD border switch */
GPIO22_GPIO
,
/* LCD border color */
GPIO22_GPIO
,
/* LCD border color */
...
...
arch/arm/mach-pxa/spitz.c
View file @
bedbda97
...
@@ -56,25 +56,7 @@ static unsigned long spitz_pin_config[] __initdata = {
...
@@ -56,25 +56,7 @@ static unsigned long spitz_pin_config[] __initdata = {
GPIO80_nCS_4
,
/* SCOOP #1 */
GPIO80_nCS_4
,
/* SCOOP #1 */
/* LCD - 16bpp Active TFT */
/* LCD - 16bpp Active TFT */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
/* PC Card */
/* PC Card */
GPIO48_nPOE
,
GPIO48_nPOE
,
...
...
arch/arm/mach-pxa/trizeps4.c
View file @
bedbda97
...
@@ -73,26 +73,7 @@ static unsigned long trizeps4_pin_config[] __initdata = {
...
@@ -73,26 +73,7 @@ static unsigned long trizeps4_pin_config[] __initdata = {
GPIO0_GPIO
|
WAKEUP_ON_EDGE_RISE
,
/* Logic irq */
GPIO0_GPIO
|
WAKEUP_ON_EDGE_RISE
,
/* Logic irq */
/* LCD - 16bpp Active TFT */
/* LCD - 16bpp Active TFT */
GPIO58_LCD_LDD_0
,
GPIOxx_LCD_TFT_16BPP
,
GPIO59_LCD_LDD_1
,
GPIO60_LCD_LDD_2
,
GPIO61_LCD_LDD_3
,
GPIO62_LCD_LDD_4
,
GPIO63_LCD_LDD_5
,
GPIO64_LCD_LDD_6
,
GPIO65_LCD_LDD_7
,
GPIO66_LCD_LDD_8
,
GPIO67_LCD_LDD_9
,
GPIO68_LCD_LDD_10
,
GPIO69_LCD_LDD_11
,
GPIO70_LCD_LDD_12
,
GPIO71_LCD_LDD_13
,
GPIO72_LCD_LDD_14
,
GPIO73_LCD_LDD_15
,
GPIO74_LCD_FCLK
,
GPIO75_LCD_LCLK
,
GPIO76_LCD_PCLK
,
GPIO77_LCD_BIAS
,
/* UART */
/* UART */
GPIO9_FFUART_CTS
,
GPIO9_FFUART_CTS
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment