Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
c30c8f9f
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
c30c8f9f
编写于
11月 09, 2011
作者:
O
Olof Johansson
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'at91-fixes' of
git://github.com/at91linux/linux-at91
into fixes
上级
45ff6fa1
dd0b3825
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
23 addition
and
27 deletion
+23
-27
arch/arm/mach-at91/at91cap9_devices.c
arch/arm/mach-at91/at91cap9_devices.c
+3
-4
arch/arm/mach-at91/at91rm9200_devices.c
arch/arm/mach-at91/at91rm9200_devices.c
+2
-3
arch/arm/mach-at91/at91sam9260_devices.c
arch/arm/mach-at91/at91sam9260_devices.c
+2
-3
arch/arm/mach-at91/at91sam9261_devices.c
arch/arm/mach-at91/at91sam9261_devices.c
+2
-3
arch/arm/mach-at91/at91sam9263_devices.c
arch/arm/mach-at91/at91sam9263_devices.c
+2
-3
arch/arm/mach-at91/at91sam9g45_devices.c
arch/arm/mach-at91/at91sam9g45_devices.c
+3
-4
arch/arm/mach-at91/at91sam9rl_devices.c
arch/arm/mach-at91/at91sam9rl_devices.c
+3
-4
arch/arm/mach-at91/board-yl-9200.c
arch/arm/mach-at91/board-yl-9200.c
+1
-1
arch/arm/mach-at91/include/mach/vmalloc.h
arch/arm/mach-at91/include/mach/vmalloc.h
+2
-0
drivers/spi/spi-atmel.c
drivers/spi/spi-atmel.c
+3
-2
未找到文件。
arch/arm/mach-at91/at91cap9_devices.c
浏览文件 @
c30c8f9f
...
@@ -98,7 +98,7 @@ void __init at91_add_device_usbh(struct at91_usbh_data *data) {}
...
@@ -98,7 +98,7 @@ void __init at91_add_device_usbh(struct at91_usbh_data *data) {}
* USB HS Device (Gadget)
* USB HS Device (Gadget)
* -------------------------------------------------------------------- */
* -------------------------------------------------------------------- */
#if defined(CONFIG_USB_
GADGET_ATMEL_USBA) || defined(CONFIG_USB_GADGET
_ATMEL_USBA_MODULE)
#if defined(CONFIG_USB_
ATMEL_USBA) || defined(CONFIG_USB
_ATMEL_USBA_MODULE)
static
struct
resource
usba_udc_resources
[]
=
{
static
struct
resource
usba_udc_resources
[]
=
{
[
0
]
=
{
[
0
]
=
{
...
@@ -1021,8 +1021,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
...
@@ -1021,8 +1021,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
#if defined(CONFIG_SERIAL_ATMEL)
#if defined(CONFIG_SERIAL_ATMEL)
static
struct
resource
dbgu_resources
[]
=
{
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
.
flags
=
IORESOURCE_MEM
,
},
},
[
1
]
=
{
[
1
]
=
{
...
@@ -1035,7 +1035,6 @@ static struct resource dbgu_resources[] = {
...
@@ -1035,7 +1035,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/at91rm9200_devices.c
浏览文件 @
c30c8f9f
...
@@ -877,8 +877,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
...
@@ -877,8 +877,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
#if defined(CONFIG_SERIAL_ATMEL)
#if defined(CONFIG_SERIAL_ATMEL)
static
struct
resource
dbgu_resources
[]
=
{
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
.
flags
=
IORESOURCE_MEM
,
},
},
[
1
]
=
{
[
1
]
=
{
...
@@ -891,7 +891,6 @@ static struct resource dbgu_resources[] = {
...
@@ -891,7 +891,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/at91sam9260_devices.c
浏览文件 @
c30c8f9f
...
@@ -837,8 +837,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
...
@@ -837,8 +837,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
#if defined(CONFIG_SERIAL_ATMEL)
#if defined(CONFIG_SERIAL_ATMEL)
static
struct
resource
dbgu_resources
[]
=
{
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
.
flags
=
IORESOURCE_MEM
,
},
},
[
1
]
=
{
[
1
]
=
{
...
@@ -851,7 +851,6 @@ static struct resource dbgu_resources[] = {
...
@@ -851,7 +851,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/at91sam9261_devices.c
浏览文件 @
c30c8f9f
...
@@ -816,8 +816,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
...
@@ -816,8 +816,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
#if defined(CONFIG_SERIAL_ATMEL)
#if defined(CONFIG_SERIAL_ATMEL)
static
struct
resource
dbgu_resources
[]
=
{
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
.
flags
=
IORESOURCE_MEM
,
},
},
[
1
]
=
{
[
1
]
=
{
...
@@ -830,7 +830,6 @@ static struct resource dbgu_resources[] = {
...
@@ -830,7 +830,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/at91sam9263_devices.c
浏览文件 @
c30c8f9f
...
@@ -1196,8 +1196,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
...
@@ -1196,8 +1196,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
static
struct
resource
dbgu_resources
[]
=
{
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
.
flags
=
IORESOURCE_MEM
,
},
},
[
1
]
=
{
[
1
]
=
{
...
@@ -1210,7 +1210,6 @@ static struct resource dbgu_resources[] = {
...
@@ -1210,7 +1210,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/at91sam9g45_devices.c
浏览文件 @
c30c8f9f
...
@@ -197,7 +197,7 @@ void __init at91_add_device_usbh_ehci(struct at91_usbh_data *data) {}
...
@@ -197,7 +197,7 @@ void __init at91_add_device_usbh_ehci(struct at91_usbh_data *data) {}
* USB HS Device (Gadget)
* USB HS Device (Gadget)
* -------------------------------------------------------------------- */
* -------------------------------------------------------------------- */
#if defined(CONFIG_USB_
GADGET_ATMEL_USBA) || defined(CONFIG_USB_GADGET
_ATMEL_USBA_MODULE)
#if defined(CONFIG_USB_
ATMEL_USBA) || defined(CONFIG_USB
_ATMEL_USBA_MODULE)
static
struct
resource
usba_udc_resources
[]
=
{
static
struct
resource
usba_udc_resources
[]
=
{
[
0
]
=
{
[
0
]
=
{
.
start
=
AT91SAM9G45_UDPHS_FIFO
,
.
start
=
AT91SAM9G45_UDPHS_FIFO
,
...
@@ -1332,8 +1332,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
...
@@ -1332,8 +1332,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
#if defined(CONFIG_SERIAL_ATMEL)
#if defined(CONFIG_SERIAL_ATMEL)
static
struct
resource
dbgu_resources
[]
=
{
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
.
flags
=
IORESOURCE_MEM
,
},
},
[
1
]
=
{
[
1
]
=
{
...
@@ -1346,7 +1346,6 @@ static struct resource dbgu_resources[] = {
...
@@ -1346,7 +1346,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
.
use_dma_rx
=
0
,
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/at91sam9rl_devices.c
浏览文件 @
c30c8f9f
...
@@ -75,7 +75,7 @@ void __init at91_add_device_hdmac(void) {}
...
@@ -75,7 +75,7 @@ void __init at91_add_device_hdmac(void) {}
* USB HS Device (Gadget)
* USB HS Device (Gadget)
* -------------------------------------------------------------------- */
* -------------------------------------------------------------------- */
#if defined(CONFIG_USB_
GADGET_ATMEL_USBA) || defined(CONFIG_USB_GADGET
_ATMEL_USBA_MODULE)
#if defined(CONFIG_USB_
ATMEL_USBA) || defined(CONFIG_USB
_ATMEL_USBA_MODULE)
static
struct
resource
usba_udc_resources
[]
=
{
static
struct
resource
usba_udc_resources
[]
=
{
[
0
]
=
{
[
0
]
=
{
...
@@ -908,8 +908,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
...
@@ -908,8 +908,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
#if defined(CONFIG_SERIAL_ATMEL)
#if defined(CONFIG_SERIAL_ATMEL)
static
struct
resource
dbgu_resources
[]
=
{
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
.
flags
=
IORESOURCE_MEM
,
},
},
[
1
]
=
{
[
1
]
=
{
...
@@ -922,7 +922,6 @@ static struct resource dbgu_resources[] = {
...
@@ -922,7 +922,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/board-yl-9200.c
浏览文件 @
c30c8f9f
...
@@ -384,7 +384,7 @@ static struct spi_board_info yl9200_spi_devices[] = {
...
@@ -384,7 +384,7 @@ static struct spi_board_info yl9200_spi_devices[] = {
#include <video/s1d13xxxfb.h>
#include <video/s1d13xxxfb.h>
static
void
__init
yl9200_init_video
(
void
)
static
void
yl9200_init_video
(
void
)
{
{
/* NWAIT Signal */
/* NWAIT Signal */
at91_set_A_periph
(
AT91_PIN_PC6
,
0
);
at91_set_A_periph
(
AT91_PIN_PC6
,
0
);
...
...
arch/arm/mach-at91/include/mach/vmalloc.h
浏览文件 @
c30c8f9f
...
@@ -21,6 +21,8 @@
...
@@ -21,6 +21,8 @@
#ifndef __ASM_ARCH_VMALLOC_H
#ifndef __ASM_ARCH_VMALLOC_H
#define __ASM_ARCH_VMALLOC_H
#define __ASM_ARCH_VMALLOC_H
#include <mach/hardware.h>
#define VMALLOC_END (AT91_VIRT_BASE & PGDIR_MASK)
#define VMALLOC_END (AT91_VIRT_BASE & PGDIR_MASK)
#endif
#endif
drivers/spi/spi-atmel.c
浏览文件 @
c30c8f9f
...
@@ -907,7 +907,7 @@ static void atmel_spi_cleanup(struct spi_device *spi)
...
@@ -907,7 +907,7 @@ static void atmel_spi_cleanup(struct spi_device *spi)
/*-------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------*/
static
int
__init
atmel_spi_probe
(
struct
platform_device
*
pdev
)
static
int
__
dev
init
atmel_spi_probe
(
struct
platform_device
*
pdev
)
{
{
struct
resource
*
regs
;
struct
resource
*
regs
;
int
irq
;
int
irq
;
...
@@ -1003,7 +1003,7 @@ static int __init atmel_spi_probe(struct platform_device *pdev)
...
@@ -1003,7 +1003,7 @@ static int __init atmel_spi_probe(struct platform_device *pdev)
return
ret
;
return
ret
;
}
}
static
int
__exit
atmel_spi_remove
(
struct
platform_device
*
pdev
)
static
int
__
dev
exit
atmel_spi_remove
(
struct
platform_device
*
pdev
)
{
{
struct
spi_master
*
master
=
platform_get_drvdata
(
pdev
);
struct
spi_master
*
master
=
platform_get_drvdata
(
pdev
);
struct
atmel_spi
*
as
=
spi_master_get_devdata
(
master
);
struct
atmel_spi
*
as
=
spi_master_get_devdata
(
master
);
...
@@ -1072,6 +1072,7 @@ static struct platform_driver atmel_spi_driver = {
...
@@ -1072,6 +1072,7 @@ static struct platform_driver atmel_spi_driver = {
},
},
.
suspend
=
atmel_spi_suspend
,
.
suspend
=
atmel_spi_suspend
,
.
resume
=
atmel_spi_resume
,
.
resume
=
atmel_spi_resume
,
.
probe
=
atmel_spi_probe
,
.
remove
=
__exit_p
(
atmel_spi_remove
),
.
remove
=
__exit_p
(
atmel_spi_remove
),
};
};
module_platform_driver
(
atmel_spi_driver
);
module_platform_driver
(
atmel_spi_driver
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录