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
nexedi
linux
Commits
9fa264d0
Commit
9fa264d0
authored
Apr 15, 2009
by
Russell King
Committed by
Russell King
Apr 15, 2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix' of
git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
parents
0882e8dd
6845a658
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
18 deletions
+21
-18
arch/arm/mach-pxa/em-x270.c
arch/arm/mach-pxa/em-x270.c
+3
-3
arch/arm/mach-pxa/generic.h
arch/arm/mach-pxa/generic.h
+3
-0
arch/arm/mach-pxa/include/mach/colibri.h
arch/arm/mach-pxa/include/mach/colibri.h
+2
-2
arch/arm/mach-pxa/include/mach/palmt5.h
arch/arm/mach-pxa/include/mach/palmt5.h
+0
-1
arch/arm/mach-pxa/include/mach/palmtx.h
arch/arm/mach-pxa/include/mach/palmtx.h
+0
-1
arch/arm/mach-pxa/palmt5.c
arch/arm/mach-pxa/palmt5.c
+6
-5
arch/arm/mach-pxa/palmtx.c
arch/arm/mach-pxa/palmtx.c
+6
-5
drivers/spi/pxa2xx_spi.c
drivers/spi/pxa2xx_spi.c
+1
-1
No files found.
arch/arm/mach-pxa/em-x270.c
View file @
9fa264d0
...
...
@@ -28,7 +28,6 @@
#include <linux/spi/libertas_spi.h>
#include <linux/power_supply.h>
#include <linux/apm-emulation.h>
#include <linux/delay.h>
#include <media/soc_camera.h>
...
...
@@ -644,8 +643,9 @@ static struct pxa2xx_spi_master em_x270_spi_info = {
};
static
struct
pxa2xx_spi_chip
em_x270_tdo24m_chip
=
{
.
rx_threshold
=
1
,
.
tx_threshold
=
1
,
.
rx_threshold
=
1
,
.
tx_threshold
=
1
,
.
gpio_cs
=
-
1
,
};
static
struct
tdo24m_platform_data
em_x270_tdo24m_pdata
=
{
...
...
arch/arm/mach-pxa/generic.h
View file @
9fa264d0
...
...
@@ -15,6 +15,9 @@ extern struct sys_timer pxa_timer;
extern
void
__init
pxa_init_irq
(
int
irq_nr
,
int
(
*
set_wake
)(
unsigned
int
,
unsigned
int
));
extern
void
__init
pxa25x_init_irq
(
void
);
#ifdef CONFIG_CPU_PXA26x
extern
void
__init
pxa26x_init_irq
(
void
);
#endif
extern
void
__init
pxa27x_init_irq
(
void
);
extern
void
__init
pxa3xx_init_irq
(
void
);
extern
void
__init
pxa_map_io
(
void
);
...
...
arch/arm/mach-pxa/include/mach/colibri.h
View file @
9fa264d0
...
...
@@ -10,13 +10,13 @@
#if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
extern
void
colibri_pxa3xx_init_mmc
(
mfp_cfg_t
*
pins
,
int
len
,
int
detect_pin
);
#else
static
inline
void
colibri_pxa3xx_init_mmc
(
mfp_cfg_t
*
,
int
,
int
)
{}
static
inline
void
colibri_pxa3xx_init_mmc
(
mfp_cfg_t
*
pins
,
int
len
,
int
detect_pin
)
{}
#endif
#if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
extern
void
colibri_pxa3xx_init_lcd
(
int
bl_pin
);
#else
static
inline
void
colibri_pxa3xx_init_lcd
(
int
)
{}
static
inline
void
colibri_pxa3xx_init_lcd
(
int
bl_pin
)
{}
#endif
#if defined(CONFIG_AX88796)
...
...
arch/arm/mach-pxa/include/mach/palmt5.h
View file @
9fa264d0
...
...
@@ -37,7 +37,6 @@
/* USB */
#define GPIO_NR_PALMT5_USB_DETECT_N 15
#define GPIO_NR_PALMT5_USB_POWER 95
#define GPIO_NR_PALMT5_USB_PULLUP 93
/* LCD/BACKLIGHT */
...
...
arch/arm/mach-pxa/include/mach/palmtx.h
View file @
9fa264d0
...
...
@@ -38,7 +38,6 @@
/* USB */
#define GPIO_NR_PALMTX_USB_DETECT_N 13
#define GPIO_NR_PALMTX_USB_POWER 95
#define GPIO_NR_PALMTX_USB_PULLUP 93
/* LCD/BACKLIGHT */
...
...
arch/arm/mach-pxa/palmt5.c
View file @
9fa264d0
...
...
@@ -64,6 +64,7 @@ static unsigned long palmt5_pin_config[] __initdata = {
GPIO29_AC97_SDATA_IN_0
,
GPIO30_AC97_SDATA_OUT
,
GPIO31_AC97_SYNC
,
GPIO95_AC97_nRESET
,
/* IrDA */
GPIO40_GPIO
,
/* ir disable */
...
...
@@ -72,7 +73,7 @@ static unsigned long palmt5_pin_config[] __initdata = {
/* USB */
GPIO15_GPIO
,
/* usb detect */
GPIO9
5
_GPIO
,
/* usb power */
GPIO9
3
_GPIO
,
/* usb power */
/* MATRIX KEYPAD */
GPIO100_KP_MKIN_0
|
WAKEUP_ON_LEVEL_HIGH
,
...
...
@@ -344,7 +345,7 @@ static struct pxaficp_platform_data palmt5_ficp_platform_data = {
static
struct
pxa2xx_udc_mach_info
palmt5_udc_info
__initdata
=
{
.
gpio_vbus
=
GPIO_NR_PALMT5_USB_DETECT_N
,
.
gpio_vbus_inverted
=
1
,
.
gpio_pullup
=
GPIO_NR_PALMT5_USB_P
OWER
,
.
gpio_pullup
=
GPIO_NR_PALMT5_USB_P
ULLUP
,
.
gpio_pullup_inverted
=
0
,
};
...
...
@@ -490,9 +491,9 @@ static struct platform_device *devices[] __initdata = {
/* setup udc GPIOs initial state */
static
void
__init
palmt5_udc_init
(
void
)
{
if
(
!
gpio_request
(
GPIO_NR_PALMT5_USB_P
OWER
,
"UDC Vbus"
))
{
gpio_direction_output
(
GPIO_NR_PALMT5_USB_P
OWER
,
1
);
gpio_free
(
GPIO_NR_PALMT5_USB_P
OWER
);
if
(
!
gpio_request
(
GPIO_NR_PALMT5_USB_P
ULLUP
,
"UDC Vbus"
))
{
gpio_direction_output
(
GPIO_NR_PALMT5_USB_P
ULLUP
,
1
);
gpio_free
(
GPIO_NR_PALMT5_USB_P
ULLUP
);
}
}
...
...
arch/arm/mach-pxa/palmtx.c
View file @
9fa264d0
...
...
@@ -64,6 +64,7 @@ static unsigned long palmtx_pin_config[] __initdata = {
GPIO29_AC97_SDATA_IN_0
,
GPIO30_AC97_SDATA_OUT
,
GPIO31_AC97_SYNC
,
GPIO95_AC97_nRESET
,
/* IrDA */
GPIO40_GPIO
,
/* ir disable */
...
...
@@ -75,7 +76,7 @@ static unsigned long palmtx_pin_config[] __initdata = {
/* USB */
GPIO13_GPIO
,
/* usb detect */
GPIO9
5
_GPIO
,
/* usb power */
GPIO9
3
_GPIO
,
/* usb power */
/* PCMCIA */
GPIO48_nPOE
,
...
...
@@ -359,7 +360,7 @@ static struct pxaficp_platform_data palmtx_ficp_platform_data = {
static
struct
pxa2xx_udc_mach_info
palmtx_udc_info
__initdata
=
{
.
gpio_vbus
=
GPIO_NR_PALMTX_USB_DETECT_N
,
.
gpio_vbus_inverted
=
1
,
.
gpio_pullup
=
GPIO_NR_PALMTX_USB_P
OWER
,
.
gpio_pullup
=
GPIO_NR_PALMTX_USB_P
ULLUP
,
.
gpio_pullup_inverted
=
0
,
};
...
...
@@ -514,9 +515,9 @@ static void __init palmtx_map_io(void)
/* setup udc GPIOs initial state */
static
void
__init
palmtx_udc_init
(
void
)
{
if
(
!
gpio_request
(
GPIO_NR_PALMTX_USB_P
OWER
,
"UDC Vbus"
))
{
gpio_direction_output
(
GPIO_NR_PALMTX_USB_P
OWER
,
1
);
gpio_free
(
GPIO_NR_PALMTX_USB_P
OWER
);
if
(
!
gpio_request
(
GPIO_NR_PALMTX_USB_P
ULLUP
,
"UDC Vbus"
))
{
gpio_direction_output
(
GPIO_NR_PALMTX_USB_P
ULLUP
,
1
);
gpio_free
(
GPIO_NR_PALMTX_USB_P
ULLUP
);
}
}
...
...
drivers/spi/pxa2xx_spi.c
View file @
9fa264d0
...
...
@@ -195,7 +195,7 @@ static void cs_deassert(struct driver_data *drv_data)
struct
chip_data
*
chip
=
drv_data
->
cur_chip
;
if
(
chip
->
cs_control
)
{
chip
->
cs_control
(
PXA2XX_CS_ASSERT
);
chip
->
cs_control
(
PXA2XX_CS_
DE
ASSERT
);
return
;
}
...
...
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