Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
f0af7245
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
170
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f0af7245
编写于
8月 09, 2008
作者:
R
Russell King
提交者:
Russell King
8月 09, 2008
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-rmk' of
git://aeryn.fluff.org.uk/bjdooks/linux
上级
796aadeb
f47c32f3
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
59 addition
and
14 deletion
+59
-14
Documentation/arm/Samsung-S3C24XX/GPIO.txt
Documentation/arm/Samsung-S3C24XX/GPIO.txt
+15
-0
Documentation/arm/Samsung-S3C24XX/Overview.txt
Documentation/arm/Samsung-S3C24XX/Overview.txt
+33
-2
arch/arm/mach-footbridge/cats-pci.c
arch/arm/mach-footbridge/cats-pci.c
+3
-0
arch/arm/mach-s3c2410/mach-bast.c
arch/arm/mach-s3c2410/mach-bast.c
+1
-1
arch/arm/mach-s3c2410/mach-vr1000.c
arch/arm/mach-s3c2410/mach-vr1000.c
+1
-1
arch/arm/mach-s3c2412/mach-jive.c
arch/arm/mach-s3c2412/mach-jive.c
+0
-3
arch/arm/mach-s3c2440/mach-anubis.c
arch/arm/mach-s3c2440/mach-anubis.c
+1
-1
arch/arm/mach-s3c2440/mach-osiris.c
arch/arm/mach-s3c2440/mach-osiris.c
+1
-1
arch/arm/plat-s3c24xx/cpu.c
arch/arm/plat-s3c24xx/cpu.c
+1
-3
drivers/serial/Kconfig
drivers/serial/Kconfig
+1
-0
include/asm-arm/plat-s3c24xx/s3c2410.h
include/asm-arm/plat-s3c24xx/s3c2410.h
+2
-2
未找到文件。
Documentation/arm/Samsung-S3C24XX/GPIO.txt
浏览文件 @
f0af7245
...
@@ -13,6 +13,21 @@ Introduction
...
@@ -13,6 +13,21 @@ Introduction
data-sheet/users manual to find out the complete list.
data-sheet/users manual to find out the complete list.
GPIOLIB
-------
With the event of the GPIOLIB in drivers/gpio, support for some
of the GPIO functions such as reading and writing a pin will
be removed in favour of this common access method.
Once all the extant drivers have been converted, the functions
listed below will be removed (they may be marked as __deprecated
in the near future).
- s3c2410_gpio_getpin
- s3c2410_gpio_setpin
Headers
Headers
-------
-------
...
...
Documentation/arm/Samsung-S3C24XX/Overview.txt
浏览文件 @
f0af7245
...
@@ -8,9 +8,10 @@ Introduction
...
@@ -8,9 +8,10 @@ Introduction
The Samsung S3C24XX range of ARM9 System-on-Chip CPUs are supported
The Samsung S3C24XX range of ARM9 System-on-Chip CPUs are supported
by the 's3c2410' architecture of ARM Linux. Currently the S3C2410,
by the 's3c2410' architecture of ARM Linux. Currently the S3C2410,
S3C2412, S3C2413, S3C2440 and S3C2442 devices are supported.
S3C2412, S3C2413, S3C2440, S3C2442 and S3C2443 devices are supported.
Support for the S3C2400 and S3C24A0 series are in progress.
Support for the S3C2400 series is in progress.
Configuration
Configuration
-------------
-------------
...
@@ -38,6 +39,22 @@ Layout
...
@@ -38,6 +39,22 @@ Layout
Register, kernel and platform data definitions are held in the
Register, kernel and platform data definitions are held in the
arch/arm/mach-s3c2410 directory./include/mach
arch/arm/mach-s3c2410 directory./include/mach
arch/arm/plat-s3c24xx:
Files in here are either common to all the s3c24xx family,
or are common to only some of them with names to indicate this
status. The files that are not common to all are generally named
with the initial cpu they support in the series to ensure a short
name without any possibility of confusion with newer devices.
As an example, initially s3c244x would cover s3c2440 and s3c2442, but
with the s3c2443 which does not share many of the same drivers in
this directory, the name becomes invalid. We stick to s3c2440-<x>
to indicate a driver that is s3c2440 and s3c2442 compatible.
This does mean that to find the status of any given SoC, a number
of directories may need to be searched.
Machines
Machines
--------
--------
...
@@ -159,6 +176,17 @@ NAND
...
@@ -159,6 +176,17 @@ NAND
For more information see Documentation/arm/Samsung-S3C24XX/NAND.txt
For more information see Documentation/arm/Samsung-S3C24XX/NAND.txt
SD/MMC
------
The SD/MMC hardware pre S3C2443 is supported in the current
kernel, the driver is drivers/mmc/host/s3cmci.c and supports
1 and 4 bit SD or MMC cards.
The SDIO behaviour of this driver has not been fully tested. There is no
current support for hardware SDIO interrupts.
Serial
Serial
------
------
...
@@ -178,6 +206,9 @@ GPIO
...
@@ -178,6 +206,9 @@ GPIO
The core contains support for manipulating the GPIO, see the
The core contains support for manipulating the GPIO, see the
documentation in GPIO.txt in the same directory as this file.
documentation in GPIO.txt in the same directory as this file.
Newer kernels carry GPIOLIB, and support is being moved towards
this with some of the older support in line to be removed.
Clock Management
Clock Management
----------------
----------------
...
...
arch/arm/mach-footbridge/cats-pci.c
浏览文件 @
f0af7245
...
@@ -18,6 +18,9 @@ static int irqmap_cats[] __initdata = { IRQ_PCI, IRQ_IN0, IRQ_IN1, IRQ_IN3 };
...
@@ -18,6 +18,9 @@ static int irqmap_cats[] __initdata = { IRQ_PCI, IRQ_IN0, IRQ_IN1, IRQ_IN3 };
static
int
__init
cats_map_irq
(
struct
pci_dev
*
dev
,
u8
slot
,
u8
pin
)
static
int
__init
cats_map_irq
(
struct
pci_dev
*
dev
,
u8
slot
,
u8
pin
)
{
{
if
(
dev
->
irq
>=
255
)
return
-
1
;
/* not a valid interrupt. */
if
(
dev
->
irq
>=
128
)
if
(
dev
->
irq
>=
128
)
return
dev
->
irq
&
0x1f
;
return
dev
->
irq
&
0x1f
;
...
...
arch/arm/mach-s3c2410/mach-bast.c
浏览文件 @
f0af7245
...
@@ -562,7 +562,7 @@ static struct platform_device *bast_devices[] __initdata = {
...
@@ -562,7 +562,7 @@ static struct platform_device *bast_devices[] __initdata = {
&
bast_sio
,
&
bast_sio
,
};
};
static
struct
clk
*
bast_clocks
[]
=
{
static
struct
clk
*
bast_clocks
[]
__initdata
=
{
&
s3c24xx_dclk0
,
&
s3c24xx_dclk0
,
&
s3c24xx_dclk1
,
&
s3c24xx_dclk1
,
&
s3c24xx_clkout0
,
&
s3c24xx_clkout0
,
...
...
arch/arm/mach-s3c2410/mach-vr1000.c
浏览文件 @
f0af7245
...
@@ -344,7 +344,7 @@ static struct platform_device *vr1000_devices[] __initdata = {
...
@@ -344,7 +344,7 @@ static struct platform_device *vr1000_devices[] __initdata = {
&
vr1000_led3
,
&
vr1000_led3
,
};
};
static
struct
clk
*
vr1000_clocks
[]
=
{
static
struct
clk
*
vr1000_clocks
[]
__initdata
=
{
&
s3c24xx_dclk0
,
&
s3c24xx_dclk0
,
&
s3c24xx_dclk1
,
&
s3c24xx_dclk1
,
&
s3c24xx_clkout0
,
&
s3c24xx_clkout0
,
...
...
arch/arm/mach-s3c2412/mach-jive.c
浏览文件 @
f0af7245
...
@@ -26,9 +26,6 @@
...
@@ -26,9 +26,6 @@
#include <linux/spi/spi.h>
#include <linux/spi/spi.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <asm/mach/arch.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
#include <asm/mach/irq.h>
...
...
arch/arm/mach-s3c2440/mach-anubis.c
浏览文件 @
f0af7245
...
@@ -414,7 +414,7 @@ static struct platform_device *anubis_devices[] __initdata = {
...
@@ -414,7 +414,7 @@ static struct platform_device *anubis_devices[] __initdata = {
&
anubis_device_sm501
,
&
anubis_device_sm501
,
};
};
static
struct
clk
*
anubis_clocks
[]
=
{
static
struct
clk
*
anubis_clocks
[]
__initdata
=
{
&
s3c24xx_dclk0
,
&
s3c24xx_dclk0
,
&
s3c24xx_dclk1
,
&
s3c24xx_dclk1
,
&
s3c24xx_clkout0
,
&
s3c24xx_clkout0
,
...
...
arch/arm/mach-s3c2440/mach-osiris.c
浏览文件 @
f0af7245
...
@@ -341,7 +341,7 @@ static struct platform_device *osiris_devices[] __initdata = {
...
@@ -341,7 +341,7 @@ static struct platform_device *osiris_devices[] __initdata = {
&
osiris_pcmcia
,
&
osiris_pcmcia
,
};
};
static
struct
clk
*
osiris_clocks
[]
=
{
static
struct
clk
*
osiris_clocks
[]
__initdata
=
{
&
s3c24xx_dclk0
,
&
s3c24xx_dclk0
,
&
s3c24xx_dclk1
,
&
s3c24xx_dclk1
,
&
s3c24xx_clkout0
,
&
s3c24xx_clkout0
,
...
...
arch/arm/plat-s3c24xx/cpu.c
浏览文件 @
f0af7245
...
@@ -169,9 +169,7 @@ static struct map_desc s3c_iodesc[] __initdata = {
...
@@ -169,9 +169,7 @@ static struct map_desc s3c_iodesc[] __initdata = {
IODESC_ENT
(
UART
)
IODESC_ENT
(
UART
)
};
};
static
struct
cpu_table
*
__init
s3c_lookup_cpu
(
unsigned
long
idcode
)
static
struct
cpu_table
*
s3c_lookup_cpu
(
unsigned
long
idcode
)
{
{
struct
cpu_table
*
tab
;
struct
cpu_table
*
tab
;
int
count
;
int
count
;
...
...
drivers/serial/Kconfig
浏览文件 @
f0af7245
...
@@ -449,6 +449,7 @@ config SERIAL_CLPS711X_CONSOLE
...
@@ -449,6 +449,7 @@ config SERIAL_CLPS711X_CONSOLE
config SERIAL_SAMSUNG
config SERIAL_SAMSUNG
tristate "Samsung SoC serial support"
tristate "Samsung SoC serial support"
depends on ARM && PLAT_S3C24XX
depends on ARM && PLAT_S3C24XX
select SERIAL_CORE
help
help
Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
providing /dev/ttySAC0, 1 and 2 (note, some machines may not
providing /dev/ttySAC0, 1 and 2 (note, some machines may not
...
...
include/asm-arm/plat-s3c24xx/s3c2410.h
浏览文件 @
f0af7245
...
@@ -21,11 +21,11 @@ extern void s3c2410_init_uarts(struct s3c2410_uartcfg *cfg, int no);
...
@@ -21,11 +21,11 @@ extern void s3c2410_init_uarts(struct s3c2410_uartcfg *cfg, int no);
extern
void
s3c2410_init_clocks
(
int
xtal
);
extern
void
s3c2410_init_clocks
(
int
xtal
);
extern
int
s3c2410_baseclk_add
(
void
);
#else
#else
#define s3c2410_init_clocks NULL
#define s3c2410_init_clocks NULL
#define s3c2410_init_uarts NULL
#define s3c2410_init_uarts NULL
#define s3c2410_map_io NULL
#define s3c2410_map_io NULL
#define s3c2410_init NULL
#define s3c2410_init NULL
#endif
#endif
extern
int
s3c2410_baseclk_add
(
void
);
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录