Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
b282e29b
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看板
提交
b282e29b
编写于
8月 14, 2009
作者:
B
Ben Dooks
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'next-s3c64xx-moves' into next-s3c
上级
c378aa27
c233d949
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
48 addition
and
24 deletion
+48
-24
arch/arm/mach-s3c2410/include/mach/map.h
arch/arm/mach-s3c2410/include/mach/map.h
+1
-0
arch/arm/mach-s3c24a0/include/mach/map.h
arch/arm/mach-s3c24a0/include/mach/map.h
+1
-0
arch/arm/mach-s3c6400/include/mach/map.h
arch/arm/mach-s3c6400/include/mach/map.h
+2
-0
arch/arm/mach-s3c6400/s3c6400.c
arch/arm/mach-s3c6400/s3c6400.c
+2
-0
arch/arm/mach-s3c6410/cpu.c
arch/arm/mach-s3c6410/cpu.c
+2
-0
arch/arm/plat-s3c/Makefile
arch/arm/plat-s3c/Makefile
+5
-1
arch/arm/plat-s3c/dev-nand.c
arch/arm/plat-s3c/dev-nand.c
+30
-0
arch/arm/plat-s3c/pwm.c
arch/arm/plat-s3c/pwm.c
+3
-2
arch/arm/plat-s3c24xx/Makefile
arch/arm/plat-s3c24xx/Makefile
+0
-1
arch/arm/plat-s3c24xx/devs.c
arch/arm/plat-s3c24xx/devs.c
+0
-19
arch/arm/plat-s3c64xx/Makefile
arch/arm/plat-s3c64xx/Makefile
+2
-1
arch/arm/plat-s3c64xx/dev-audio.c
arch/arm/plat-s3c64xx/dev-audio.c
+0
-0
未找到文件。
arch/arm/mach-s3c2410/include/mach/map.h
浏览文件 @
b282e29b
...
@@ -110,5 +110,6 @@
...
@@ -110,5 +110,6 @@
#define S3C_PA_UART S3C24XX_PA_UART
#define S3C_PA_UART S3C24XX_PA_UART
#define S3C_PA_USBHOST S3C2410_PA_USBHOST
#define S3C_PA_USBHOST S3C2410_PA_USBHOST
#define S3C_PA_HSMMC0 S3C2443_PA_HSMMC
#define S3C_PA_HSMMC0 S3C2443_PA_HSMMC
#define S3C_PA_NAND S3C24XX_PA_NAND
#endif
/* __ASM_ARCH_MAP_H */
#endif
/* __ASM_ARCH_MAP_H */
arch/arm/mach-s3c24a0/include/mach/map.h
浏览文件 @
b282e29b
...
@@ -81,5 +81,6 @@
...
@@ -81,5 +81,6 @@
#define S3C_PA_UART S3C24A0_PA_UART
#define S3C_PA_UART S3C24A0_PA_UART
#define S3C_PA_IIC S3C24A0_PA_IIC
#define S3C_PA_IIC S3C24A0_PA_IIC
#define S3C_PA_NAND S3C24XX_PA_NAND
#endif
/* __ASM_ARCH_24A0_MAP_H */
#endif
/* __ASM_ARCH_24A0_MAP_H */
arch/arm/mach-s3c6400/include/mach/map.h
浏览文件 @
b282e29b
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
#define S3C_VA_UART2 S3C_VA_UARTx(2)
#define S3C_VA_UART2 S3C_VA_UARTx(2)
#define S3C_VA_UART3 S3C_VA_UARTx(3)
#define S3C_VA_UART3 S3C_VA_UARTx(3)
#define S3C64XX_PA_NAND (0x70200000)
#define S3C64XX_PA_FB (0x77100000)
#define S3C64XX_PA_FB (0x77100000)
#define S3C64XX_PA_USB_HSOTG (0x7C000000)
#define S3C64XX_PA_USB_HSOTG (0x7C000000)
#define S3C64XX_PA_WATCHDOG (0x7E004000)
#define S3C64XX_PA_WATCHDOG (0x7E004000)
...
@@ -74,6 +75,7 @@
...
@@ -74,6 +75,7 @@
#define S3C_PA_HSMMC2 S3C64XX_PA_HSMMC2
#define S3C_PA_HSMMC2 S3C64XX_PA_HSMMC2
#define S3C_PA_IIC S3C64XX_PA_IIC0
#define S3C_PA_IIC S3C64XX_PA_IIC0
#define S3C_PA_IIC1 S3C64XX_PA_IIC1
#define S3C_PA_IIC1 S3C64XX_PA_IIC1
#define S3C_PA_NAND S3C64XX_PA_NAND
#define S3C_PA_FB S3C64XX_PA_FB
#define S3C_PA_FB S3C64XX_PA_FB
#define S3C_PA_USBHOST S3C64XX_PA_USBHOST
#define S3C_PA_USBHOST S3C64XX_PA_USBHOST
#define S3C_PA_USB_HSOTG S3C64XX_PA_USB_HSOTG
#define S3C_PA_USB_HSOTG S3C64XX_PA_USB_HSOTG
...
...
arch/arm/mach-s3c6400/s3c6400.c
浏览文件 @
b282e29b
...
@@ -48,6 +48,8 @@ void __init s3c6400_map_io(void)
...
@@ -48,6 +48,8 @@ void __init s3c6400_map_io(void)
/* the i2c devices are directly compatible with s3c2440 */
/* the i2c devices are directly compatible with s3c2440 */
s3c_i2c0_setname
(
"s3c2440-i2c"
);
s3c_i2c0_setname
(
"s3c2440-i2c"
);
s3c_device_nand
.
name
=
"s3c6400-nand"
;
}
}
void
__init
s3c6400_init_clocks
(
int
xtal
)
void
__init
s3c6400_init_clocks
(
int
xtal
)
...
...
arch/arm/mach-s3c6410/cpu.c
浏览文件 @
b282e29b
...
@@ -62,6 +62,8 @@ void __init s3c6410_map_io(void)
...
@@ -62,6 +62,8 @@ void __init s3c6410_map_io(void)
/* the i2c devices are directly compatible with s3c2440 */
/* the i2c devices are directly compatible with s3c2440 */
s3c_i2c0_setname
(
"s3c2440-i2c"
);
s3c_i2c0_setname
(
"s3c2440-i2c"
);
s3c_i2c1_setname
(
"s3c2440-i2c"
);
s3c_i2c1_setname
(
"s3c2440-i2c"
);
s3c_device_nand
.
name
=
"s3c6400-nand"
;
}
}
void
__init
s3c6410_init_clocks
(
int
xtal
)
void
__init
s3c6410_init_clocks
(
int
xtal
)
...
...
arch/arm/plat-s3c/Makefile
浏览文件 @
b282e29b
...
@@ -28,13 +28,17 @@ obj-$(CONFIG_PM) += pm.o
...
@@ -28,13 +28,17 @@ obj-$(CONFIG_PM) += pm.o
obj-$(CONFIG_PM)
+=
pm-gpio.o
obj-$(CONFIG_PM)
+=
pm-gpio.o
obj-$(CONFIG_S3C2410_PM_CHECK)
+=
pm-check.o
obj-$(CONFIG_S3C2410_PM_CHECK)
+=
pm-check.o
# PWM support
obj-$(CONFIG_HAVE_PWM)
+=
pwm.o
# devices
# devices
obj-$(CONFIG_S3C_DEV_HSMMC)
+=
dev-hsmmc.o
obj-$(CONFIG_S3C_DEV_HSMMC)
+=
dev-hsmmc.o
obj-$(CONFIG_S3C_DEV_HSMMC1)
+=
dev-hsmmc1.o
obj-$(CONFIG_S3C_DEV_HSMMC1)
+=
dev-hsmmc1.o
obj-y
+=
dev-i2c0.o
obj-y
+=
dev-i2c0.o
obj-$(CONFIG_S3C_DEV_I2C1)
+=
dev-i2c1.o
obj-$(CONFIG_S3C_DEV_I2C1)
+=
dev-i2c1.o
obj-$(CONFIG_SND_S3C64XX_SOC_I2S)
+=
dev-audio.o
obj-$(CONFIG_S3C_DEV_FB)
+=
dev-fb.o
obj-$(CONFIG_S3C_DEV_FB)
+=
dev-fb.o
obj-$(CONFIG_S3C_DEV_USB_HOST)
+=
dev-usb.o
obj-$(CONFIG_S3C_DEV_USB_HOST)
+=
dev-usb.o
obj-$(CONFIG_S3C_DEV_USB_HSOTG)
+=
dev-usb-hsotg.o
obj-$(CONFIG_S3C_DEV_USB_HSOTG)
+=
dev-usb-hsotg.o
obj-y
+=
dev-nand.o
arch/arm/plat-s3c/dev-nand.c
0 → 100644
浏览文件 @
b282e29b
/*
* S3C series device definition for nand device
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <mach/map.h>
#include <plat/devs.h>
static
struct
resource
s3c_nand_resource
[]
=
{
[
0
]
=
{
.
start
=
S3C_PA_NAND
,
.
end
=
S3C_PA_NAND
+
SZ_1M
,
.
flags
=
IORESOURCE_MEM
,
}
};
struct
platform_device
s3c_device_nand
=
{
.
name
=
"s3c2410-nand"
,
.
id
=
-
1
,
.
num_resources
=
ARRAY_SIZE
(
s3c_nand_resource
),
.
resource
=
s3c_nand_resource
,
};
EXPORT_SYMBOL
(
s3c_device_nand
);
arch/arm/plat-s3c
24xx
/pwm.c
→
arch/arm/plat-s3c/pwm.c
浏览文件 @
b282e29b
/* arch/arm/plat-s3c
24xx
/pwm.c
/* arch/arm/plat-s3c/pwm.c
*
*
* Copyright (c) 2007 Ben Dooks
* Copyright (c) 2007 Ben Dooks
* Copyright (c) 2008 Simtec Electronics
* Copyright (c) 2008 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>, <ben-linux@fluff.org>
* Ben Dooks <ben@simtec.co.uk>, <ben-linux@fluff.org>
*
*
* S3C
24XX
PWM device core
* S3C
series
PWM device core
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* it under the terms of the GNU General Public License as published by
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#include <linux/pwm.h>
#include <linux/pwm.h>
#include <mach/irqs.h>
#include <mach/irqs.h>
#include <mach/map.h>
#include <plat/devs.h>
#include <plat/devs.h>
#include <plat/regs-timer.h>
#include <plat/regs-timer.h>
...
...
arch/arm/plat-s3c24xx/Makefile
浏览文件 @
b282e29b
...
@@ -36,7 +36,6 @@ obj-$(CONFIG_PM_SIMTEC) += pm-simtec.o
...
@@ -36,7 +36,6 @@ obj-$(CONFIG_PM_SIMTEC) += pm-simtec.o
obj-$(CONFIG_PM)
+=
pm.o
obj-$(CONFIG_PM)
+=
pm.o
obj-$(CONFIG_PM)
+=
irq-pm.o
obj-$(CONFIG_PM)
+=
irq-pm.o
obj-$(CONFIG_PM)
+=
sleep.o
obj-$(CONFIG_PM)
+=
sleep.o
obj-$(CONFIG_S3C24XX_PWM)
+=
pwm.o
obj-$(CONFIG_S3C2410_CLOCK)
+=
s3c2410-clock.o
obj-$(CONFIG_S3C2410_CLOCK)
+=
s3c2410-clock.o
obj-$(CONFIG_S3C2410_DMA)
+=
dma.o
obj-$(CONFIG_S3C2410_DMA)
+=
dma.o
obj-$(CONFIG_S3C24XX_ADC)
+=
adc.o
obj-$(CONFIG_S3C24XX_ADC)
+=
adc.o
...
...
arch/arm/plat-s3c24xx/devs.c
浏览文件 @
b282e29b
...
@@ -182,25 +182,6 @@ void __init s3c24xx_fb_set_platdata(struct s3c2410fb_mach_info *pd)
...
@@ -182,25 +182,6 @@ void __init s3c24xx_fb_set_platdata(struct s3c2410fb_mach_info *pd)
}
}
}
}
/* NAND Controller */
static
struct
resource
s3c_nand_resource
[]
=
{
[
0
]
=
{
.
start
=
S3C24XX_PA_NAND
,
.
end
=
S3C24XX_PA_NAND
+
S3C24XX_SZ_NAND
-
1
,
.
flags
=
IORESOURCE_MEM
,
}
};
struct
platform_device
s3c_device_nand
=
{
.
name
=
"s3c2410-nand"
,
.
id
=
-
1
,
.
num_resources
=
ARRAY_SIZE
(
s3c_nand_resource
),
.
resource
=
s3c_nand_resource
,
};
EXPORT_SYMBOL
(
s3c_device_nand
);
/* USB Device (Gadget)*/
/* USB Device (Gadget)*/
static
struct
resource
s3c_usbgadget_resource
[]
=
{
static
struct
resource
s3c_usbgadget_resource
[]
=
{
...
...
arch/arm/plat-s3c64xx/Makefile
浏览文件 @
b282e29b
...
@@ -40,4 +40,5 @@ obj-$(CONFIG_S3C64XX_DMA) += dma.o
...
@@ -40,4 +40,5 @@ obj-$(CONFIG_S3C64XX_DMA) += dma.o
obj-$(CONFIG_S3C64XX_SETUP_I2C0)
+=
setup-i2c0.o
obj-$(CONFIG_S3C64XX_SETUP_I2C0)
+=
setup-i2c0.o
obj-$(CONFIG_S3C64XX_SETUP_I2C1)
+=
setup-i2c1.o
obj-$(CONFIG_S3C64XX_SETUP_I2C1)
+=
setup-i2c1.o
obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP)
+=
setup-fb-24bpp.o
obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP)
+=
setup-fb-24bpp.o
obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO)
+=
setup-sdhci-gpio.o
obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO)
+=
setup-sdhci-gpio.o
\ No newline at end of file
obj-$(CONFIG_SND_S3C24XX_SOC)
+=
dev-audio.o
arch/arm/plat-s3c/dev-audio.c
→
arch/arm/plat-s3c
64xx
/dev-audio.c
浏览文件 @
b282e29b
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录