Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
4f4669ee
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
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看板
提交
4f4669ee
编写于
3月 23, 2010
作者:
R
Russell King
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix' of
git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
上级
48edcfcf
e3396b26
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
26 addition
and
26 deletion
+26
-26
arch/arm/common/locomo.c
arch/arm/common/locomo.c
+5
-5
arch/arm/mach-mmp/include/mach/uncompress.h
arch/arm/mach-mmp/include/mach/uncompress.h
+4
-1
arch/arm/mach-pxa/Kconfig
arch/arm/mach-pxa/Kconfig
+7
-4
arch/arm/mach-pxa/imote2.c
arch/arm/mach-pxa/imote2.c
+0
-4
arch/arm/mach-pxa/include/mach/uncompress.h
arch/arm/mach-pxa/include/mach/uncompress.h
+8
-3
arch/arm/mach-pxa/raumfeld.c
arch/arm/mach-pxa/raumfeld.c
+1
-3
arch/arm/mach-pxa/stargate2.c
arch/arm/mach-pxa/stargate2.c
+0
-5
drivers/video/pxa168fb.c
drivers/video/pxa168fb.c
+1
-1
未找到文件。
arch/arm/common/locomo.c
浏览文件 @
4f4669ee
...
...
@@ -290,7 +290,7 @@ static int locomo_suspend(struct platform_device *dev, pm_message_t state)
save
->
LCM_GPO
=
locomo_readl
(
lchip
->
base
+
LOCOMO_GPO
);
/* GPIO */
locomo_writel
(
0x00
,
lchip
->
base
+
LOCOMO_GPO
);
save
->
LCM_SPICT
=
locomo_readl
(
lchip
->
base
+
LOCOMO_SPI
+
LOCOMO_SPICT
);
/* SPI */
locomo_writel
(
0x40
,
lchip
->
base
+
LOCOMO_SPICT
);
locomo_writel
(
0x40
,
lchip
->
base
+
LOCOMO_SPI
+
LOCOMO_SPI
CT
);
save
->
LCM_GPE
=
locomo_readl
(
lchip
->
base
+
LOCOMO_GPE
);
/* GPIO */
locomo_writel
(
0x00
,
lchip
->
base
+
LOCOMO_GPE
);
save
->
LCM_ASD
=
locomo_readl
(
lchip
->
base
+
LOCOMO_ASD
);
/* ADSTART */
...
...
@@ -418,7 +418,7 @@ __locomo_probe(struct device *me, struct resource *mem, int irq)
/* Longtime timer */
locomo_writel
(
0
,
lchip
->
base
+
LOCOMO_LTINT
);
/* SPI */
locomo_writel
(
0
,
lchip
->
base
+
LOCOMO_SPIIE
);
locomo_writel
(
0
,
lchip
->
base
+
LOCOMO_SPI
+
LOCOMO_SPI
IE
);
locomo_writel
(
6
+
8
+
320
+
30
-
10
,
lchip
->
base
+
LOCOMO_ASD
);
r
=
locomo_readl
(
lchip
->
base
+
LOCOMO_ASD
);
...
...
@@ -707,7 +707,7 @@ void locomo_m62332_senddata(struct locomo_dev *ldev, unsigned int dac_data, int
udelay
(
DAC_SCL_HIGH_HOLD_TIME
);
/* 4.7 usec */
if
(
locomo_readl
(
mapbase
+
LOCOMO_DAC
)
&
LOCOMO_DAC_SDAOEB
)
{
/* High is error */
printk
(
KERN_WARNING
"locomo: m62332_senddata Error 1
\n
"
);
return
;
goto
out
;
}
/* Send Sub address (LSB is channel select) */
...
...
@@ -735,7 +735,7 @@ void locomo_m62332_senddata(struct locomo_dev *ldev, unsigned int dac_data, int
udelay
(
DAC_SCL_HIGH_HOLD_TIME
);
/* 4.7 usec */
if
(
locomo_readl
(
mapbase
+
LOCOMO_DAC
)
&
LOCOMO_DAC_SDAOEB
)
{
/* High is error */
printk
(
KERN_WARNING
"locomo: m62332_senddata Error 2
\n
"
);
return
;
goto
out
;
}
/* Send DAC data */
...
...
@@ -760,9 +760,9 @@ void locomo_m62332_senddata(struct locomo_dev *ldev, unsigned int dac_data, int
udelay
(
DAC_SCL_HIGH_HOLD_TIME
);
/* 4.7 usec */
if
(
locomo_readl
(
mapbase
+
LOCOMO_DAC
)
&
LOCOMO_DAC_SDAOEB
)
{
/* High is error */
printk
(
KERN_WARNING
"locomo: m62332_senddata Error 3
\n
"
);
return
;
}
out:
/* stop */
r
=
locomo_readl
(
mapbase
+
LOCOMO_DAC
);
r
&=
~
(
LOCOMO_DAC_SCLOEB
);
...
...
arch/arm/mach-mmp/include/mach/uncompress.h
浏览文件 @
4f4669ee
...
...
@@ -14,7 +14,7 @@
#define UART2_BASE (APB_PHYS_BASE + 0x17000)
#define UART3_BASE (APB_PHYS_BASE + 0x18000)
static
volatile
unsigned
long
*
UART
=
(
unsigned
long
*
)
UART2_BASE
;
static
volatile
unsigned
long
*
UART
;
static
inline
void
putc
(
char
c
)
{
...
...
@@ -37,6 +37,9 @@ static inline void flush(void)
static
inline
void
arch_decomp_setup
(
void
)
{
/* default to UART2 */
UART
=
(
unsigned
long
*
)
UART2_BASE
;
if
(
machine_is_avengers_lite
())
UART
=
(
unsigned
long
*
)
UART3_BASE
;
}
...
...
arch/arm/mach-pxa/Kconfig
浏览文件 @
4f4669ee
...
...
@@ -272,7 +272,6 @@ config MACH_H5000
config MACH_HIMALAYA
bool "HTC Himalaya Support"
select CPU_PXA26x
select FB_W100
config MACH_MAGICIAN
bool "Enable HTC Magician Support"
...
...
@@ -454,6 +453,13 @@ config PXA_SHARPSL
config SHARPSL_PM
bool
select APM_EMULATION
select SHARPSL_PM_MAX1111
config SHARPSL_PM_MAX1111
bool
depends on !CORGI_SSP_DEPRECATED
select HWMON
select SENSORS_MAX1111
config CORGI_SSP_DEPRECATED
bool
...
...
@@ -547,7 +553,6 @@ config MACH_E740
bool "Toshiba e740"
default y
depends on ARCH_PXA_ESERIES
select FB_W100
help
Say Y here if you intend to run this kernel on a Toshiba
e740 family PDA.
...
...
@@ -556,7 +561,6 @@ config MACH_E750
bool "Toshiba e750"
default y
depends on ARCH_PXA_ESERIES
select FB_W100
help
Say Y here if you intend to run this kernel on a Toshiba
e750 family PDA.
...
...
@@ -573,7 +577,6 @@ config MACH_E800
bool "Toshiba e800"
default y
depends on ARCH_PXA_ESERIES
select FB_W100
help
Say Y here if you intend to run this kernel on a Toshiba
e800 family PDA.
...
...
arch/arm/mach-pxa/imote2.c
浏览文件 @
4f4669ee
...
...
@@ -559,10 +559,6 @@ static void __init imote2_init(void)
pxa_set_btuart_info
(
NULL
);
pxa_set_stuart_info
(
NULL
);
/* SPI chip select directions - all other directions should
* be handled by drivers.*/
gpio_direction_output
(
37
,
0
);
platform_add_devices
(
imote2_devices
,
ARRAY_SIZE
(
imote2_devices
));
pxa2xx_set_spi_info
(
1
,
&
pxa_ssp_master_0_info
);
...
...
arch/arm/mach-pxa/include/mach/uncompress.h
浏览文件 @
4f4669ee
...
...
@@ -16,9 +16,9 @@
#define BTUART_BASE (0x40200000)
#define STUART_BASE (0x40700000)
static
unsigned
long
uart_base
=
FFUART_BASE
;
static
unsigned
int
uart_shift
=
2
;
static
unsigned
int
uart_is_pxa
=
1
;
static
unsigned
long
uart_base
;
static
unsigned
int
uart_shift
;
static
unsigned
int
uart_is_pxa
;
static
inline
unsigned
char
uart_read
(
int
offset
)
{
...
...
@@ -56,6 +56,11 @@ static inline void flush(void)
static
inline
void
arch_decomp_setup
(
void
)
{
/* initialize to default */
uart_base
=
FFUART_BASE
;
uart_shift
=
2
;
uart_is_pxa
=
1
;
if
(
machine_is_littleton
()
||
machine_is_intelmote2
()
||
machine_is_csb726
()
||
machine_is_stargate2
()
||
machine_is_cm_x300
()
||
machine_is_balloon3
())
...
...
arch/arm/mach-pxa/raumfeld.c
浏览文件 @
4f4669ee
...
...
@@ -37,8 +37,6 @@
#include <linux/lis3lv02d.h>
#include <linux/pda_power.h>
#include <linux/power_supply.h>
#include <linux/pda_power.h>
#include <linux/power_supply.h>
#include <linux/regulator/max8660.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/fixed.h>
...
...
@@ -444,7 +442,7 @@ static struct gpio_keys_button gpio_keys_button[] = {
.
active_low
=
0
,
.
wakeup
=
0
,
.
debounce_interval
=
5
,
/* ms */
.
desc
=
"on
/
off button"
,
.
desc
=
"on
_
off button"
,
},
};
...
...
arch/arm/mach-pxa/stargate2.c
浏览文件 @
4f4669ee
...
...
@@ -764,11 +764,6 @@ static void __init stargate2_init(void)
pxa_set_btuart_info
(
NULL
);
pxa_set_stuart_info
(
NULL
);
/* spi chip selects */
gpio_direction_output
(
37
,
0
);
gpio_direction_output
(
24
,
0
);
gpio_direction_output
(
39
,
0
);
platform_add_devices
(
ARRAY_AND_SIZE
(
stargate2_devices
));
pxa2xx_set_spi_info
(
1
,
&
pxa_ssp_master_0_info
);
...
...
drivers/video/pxa168fb.c
浏览文件 @
4f4669ee
...
...
@@ -668,7 +668,7 @@ static int __init pxa168fb_probe(struct platform_device *pdev)
/*
* Map LCD controller registers.
*/
fbi
->
reg_base
=
ioremap_nocache
(
res
->
start
,
res
->
end
-
res
->
start
);
fbi
->
reg_base
=
ioremap_nocache
(
res
->
start
,
res
ource_size
(
res
)
);
if
(
fbi
->
reg_base
==
NULL
)
{
ret
=
-
ENOMEM
;
goto
failed
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录