Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
5dbc80f6
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
5dbc80f6
编写于
7月 30, 2009
作者:
R
Russell King
提交者:
Russell King
7月 30, 2009
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix' of
git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
上级
3ef7143d
1d3e216f
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
20 addition
and
0 deletion
+20
-0
arch/arm/mach-pxa/em-x270.c
arch/arm/mach-pxa/em-x270.c
+4
-0
arch/arm/mach-pxa/palmld.c
arch/arm/mach-pxa/palmld.c
+4
-0
arch/arm/mach-pxa/palmt5.c
arch/arm/mach-pxa/palmt5.c
+4
-0
arch/arm/mach-pxa/palmtx.c
arch/arm/mach-pxa/palmtx.c
+4
-0
arch/arm/mach-pxa/zylonite_pxa300.c
arch/arm/mach-pxa/zylonite_pxa300.c
+2
-0
arch/arm/mach-pxa/zylonite_pxa320.c
arch/arm/mach-pxa/zylonite_pxa320.c
+2
-0
未找到文件。
arch/arm/mach-pxa/em-x270.c
浏览文件 @
5dbc80f6
...
@@ -1141,12 +1141,16 @@ struct power_supply_info em_x270_psy_info = {
...
@@ -1141,12 +1141,16 @@ struct power_supply_info em_x270_psy_info = {
static
void
em_x270_battery_low
(
void
)
static
void
em_x270_battery_low
(
void
)
{
{
#if defined(CONFIG_APM_EMULATION)
apm_queue_event
(
APM_LOW_BATTERY
);
apm_queue_event
(
APM_LOW_BATTERY
);
#endif
}
}
static
void
em_x270_battery_critical
(
void
)
static
void
em_x270_battery_critical
(
void
)
{
{
#if defined(CONFIG_APM_EMULATION)
apm_queue_event
(
APM_CRITICAL_SUSPEND
);
apm_queue_event
(
APM_CRITICAL_SUSPEND
);
#endif
}
}
struct
da9030_battery_info
em_x270_batterty_info
=
{
struct
da9030_battery_info
em_x270_batterty_info
=
{
...
...
arch/arm/mach-pxa/palmld.c
浏览文件 @
5dbc80f6
...
@@ -128,6 +128,10 @@ static unsigned long palmld_pin_config[] __initdata = {
...
@@ -128,6 +128,10 @@ static unsigned long palmld_pin_config[] __initdata = {
GPIO38_GPIO
,
/* wifi ready */
GPIO38_GPIO
,
/* wifi ready */
GPIO81_GPIO
,
/* wifi reset */
GPIO81_GPIO
,
/* wifi reset */
/* FFUART */
GPIO34_FFUART_RXD
,
GPIO39_FFUART_TXD
,
/* HDD */
/* HDD */
GPIO98_GPIO
,
/* HDD reset */
GPIO98_GPIO
,
/* HDD reset */
GPIO115_GPIO
,
/* HDD power */
GPIO115_GPIO
,
/* HDD power */
...
...
arch/arm/mach-pxa/palmt5.c
浏览文件 @
5dbc80f6
...
@@ -111,6 +111,10 @@ static unsigned long palmt5_pin_config[] __initdata = {
...
@@ -111,6 +111,10 @@ static unsigned long palmt5_pin_config[] __initdata = {
/* PWM */
/* PWM */
GPIO16_PWM0_OUT
,
GPIO16_PWM0_OUT
,
/* FFUART */
GPIO34_FFUART_RXD
,
GPIO39_FFUART_TXD
,
/* MISC */
/* MISC */
GPIO10_GPIO
,
/* hotsync button */
GPIO10_GPIO
,
/* hotsync button */
GPIO90_GPIO
,
/* power detect */
GPIO90_GPIO
,
/* power detect */
...
...
arch/arm/mach-pxa/palmtx.c
浏览文件 @
5dbc80f6
...
@@ -127,6 +127,10 @@ static unsigned long palmtx_pin_config[] __initdata = {
...
@@ -127,6 +127,10 @@ static unsigned long palmtx_pin_config[] __initdata = {
GPIO76_LCD_PCLK
,
GPIO76_LCD_PCLK
,
GPIO77_LCD_BIAS
,
GPIO77_LCD_BIAS
,
/* FFUART */
GPIO34_FFUART_RXD
,
GPIO39_FFUART_TXD
,
/* MISC. */
/* MISC. */
GPIO10_GPIO
,
/* hotsync button */
GPIO10_GPIO
,
/* hotsync button */
GPIO12_GPIO
,
/* power detect */
GPIO12_GPIO
,
/* power detect */
...
...
arch/arm/mach-pxa/zylonite_pxa300.c
浏览文件 @
5dbc80f6
...
@@ -197,10 +197,12 @@ static void __init zylonite_detect_lcd_panel(void)
...
@@ -197,10 +197,12 @@ static void __init zylonite_detect_lcd_panel(void)
for
(
i
=
0
;
i
<
NUM_LCD_DETECT_PINS
;
i
++
)
{
for
(
i
=
0
;
i
<
NUM_LCD_DETECT_PINS
;
i
++
)
{
id
=
id
<<
1
;
id
=
id
<<
1
;
gpio
=
mfp_to_gpio
(
lcd_detect_pins
[
i
]);
gpio
=
mfp_to_gpio
(
lcd_detect_pins
[
i
]);
gpio_request
(
gpio
,
"LCD_ID_PINS"
);
gpio_direction_input
(
gpio
);
gpio_direction_input
(
gpio
);
if
(
gpio_get_value
(
gpio
))
if
(
gpio_get_value
(
gpio
))
id
=
id
|
0x1
;
id
=
id
|
0x1
;
gpio_free
(
gpio
);
}
}
/* lcd id, flush out bit 1 */
/* lcd id, flush out bit 1 */
...
...
arch/arm/mach-pxa/zylonite_pxa320.c
浏览文件 @
5dbc80f6
...
@@ -176,10 +176,12 @@ static void __init zylonite_detect_lcd_panel(void)
...
@@ -176,10 +176,12 @@ static void __init zylonite_detect_lcd_panel(void)
for
(
i
=
0
;
i
<
NUM_LCD_DETECT_PINS
;
i
++
)
{
for
(
i
=
0
;
i
<
NUM_LCD_DETECT_PINS
;
i
++
)
{
id
=
id
<<
1
;
id
=
id
<<
1
;
gpio
=
mfp_to_gpio
(
lcd_detect_pins
[
i
]);
gpio
=
mfp_to_gpio
(
lcd_detect_pins
[
i
]);
gpio_request
(
gpio
,
"LCD_ID_PINS"
);
gpio_direction_input
(
gpio
);
gpio_direction_input
(
gpio
);
if
(
gpio_get_value
(
gpio
))
if
(
gpio_get_value
(
gpio
))
id
=
id
|
0x1
;
id
=
id
|
0x1
;
gpio_free
(
gpio
);
}
}
/* lcd id, flush out bit 1 */
/* lcd id, flush out bit 1 */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录