Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
9fa264d0
K
Kernel
项目概览
openeuler
/
Kernel
接近 2 年 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
9fa264d0
编写于
4月 15, 2009
作者:
R
Russell King
提交者:
Russell King
4月 15, 2009
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix' of
git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
上级
0882e8dd
6845a658
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
21 addition
and
18 deletion
+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
未找到文件。
arch/arm/mach-pxa/em-x270.c
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录