Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
0f58487b
Commit
0f58487b
authored
May 15, 2012
by
Kukjin Kim
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'next/cleanup-plat-s5p' into next/devel-exynos5250-1
parents
36be5051
199642bf
Changes
35
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
707 additions
and
997 deletions
+707
-997
arch/arm/Kconfig
arch/arm/Kconfig
+0
-1
arch/arm/Makefile
arch/arm/Makefile
+1
-1
arch/arm/mach-exynos/Kconfig
arch/arm/mach-exynos/Kconfig
+6
-4
arch/arm/mach-exynos/Makefile
arch/arm/mach-exynos/Makefile
+1
-1
arch/arm/mach-exynos/clock-exynos4.c
arch/arm/mach-exynos/clock-exynos4.c
+39
-40
arch/arm/mach-exynos/clock-exynos4.h
arch/arm/mach-exynos/clock-exynos4.h
+2
-0
arch/arm/mach-exynos/clock-exynos4210.c
arch/arm/mach-exynos/clock-exynos4210.c
+11
-0
arch/arm/mach-exynos/clock-exynos4212.c
arch/arm/mach-exynos/clock-exynos4212.c
+27
-1
arch/arm/mach-exynos/clock-exynos5.c
arch/arm/mach-exynos/clock-exynos5.c
+90
-0
arch/arm/mach-exynos/dev-sysmmu.c
arch/arm/mach-exynos/dev-sysmmu.c
+249
-208
arch/arm/mach-exynos/include/mach/irqs.h
arch/arm/mach-exynos/include/mach/irqs.h
+7
-18
arch/arm/mach-exynos/include/mach/map.h
arch/arm/mach-exynos/include/mach/map.h
+38
-0
arch/arm/mach-exynos/include/mach/regs-clock.h
arch/arm/mach-exynos/include/mach/regs-clock.h
+5
-0
arch/arm/mach-exynos/include/mach/regs-sysmmu.h
arch/arm/mach-exynos/include/mach/regs-sysmmu.h
+0
-28
arch/arm/mach-exynos/include/mach/sysmmu.h
arch/arm/mach-exynos/include/mach/sysmmu.h
+54
-34
arch/arm/mach-exynos/mach-armlex4210.c
arch/arm/mach-exynos/mach-armlex4210.c
+0
-1
arch/arm/mach-exynos/mach-smdkv310.c
arch/arm/mach-exynos/mach-smdkv310.c
+0
-1
arch/arm/plat-s5p/Kconfig
arch/arm/plat-s5p/Kconfig
+0
-140
arch/arm/plat-s5p/Makefile
arch/arm/plat-s5p/Makefile
+0
-28
arch/arm/plat-s5p/sysmmu.c
arch/arm/plat-s5p/sysmmu.c
+0
-313
arch/arm/plat-samsung/Kconfig
arch/arm/plat-samsung/Kconfig
+140
-0
arch/arm/plat-samsung/Makefile
arch/arm/plat-samsung/Makefile
+13
-0
arch/arm/plat-samsung/include/plat/devs.h
arch/arm/plat-samsung/include/plat/devs.h
+0
-1
arch/arm/plat-samsung/include/plat/sysmmu.h
arch/arm/plat-samsung/include/plat/sysmmu.h
+0
-95
arch/arm/plat-samsung/s5p-clock.c
arch/arm/plat-samsung/s5p-clock.c
+1
-2
arch/arm/plat-samsung/s5p-dev-mfc.c
arch/arm/plat-samsung/s5p-dev-mfc.c
+1
-3
arch/arm/plat-samsung/s5p-dev-uart.c
arch/arm/plat-samsung/s5p-dev-uart.c
+15
-63
arch/arm/plat-samsung/s5p-irq-eint.c
arch/arm/plat-samsung/s5p-irq-eint.c
+1
-2
arch/arm/plat-samsung/s5p-irq-gpioint.c
arch/arm/plat-samsung/s5p-irq-gpioint.c
+1
-2
arch/arm/plat-samsung/s5p-irq-pm.c
arch/arm/plat-samsung/s5p-irq-pm.c
+1
-2
arch/arm/plat-samsung/s5p-irq.c
arch/arm/plat-samsung/s5p-irq.c
+1
-2
arch/arm/plat-samsung/s5p-pm.c
arch/arm/plat-samsung/s5p-pm.c
+1
-2
arch/arm/plat-samsung/s5p-sleep.S
arch/arm/plat-samsung/s5p-sleep.S
+1
-2
arch/arm/plat-samsung/s5p-time.c
arch/arm/plat-samsung/s5p-time.c
+1
-2
arch/arm/plat-samsung/setup-mipiphy.c
arch/arm/plat-samsung/setup-mipiphy.c
+0
-0
No files found.
arch/arm/Kconfig
View file @
0f58487b
...
@@ -1088,7 +1088,6 @@ source "arch/arm/mach-sa1100/Kconfig"
...
@@ -1088,7 +1088,6 @@ source "arch/arm/mach-sa1100/Kconfig"
source "arch/arm/plat-samsung/Kconfig"
source "arch/arm/plat-samsung/Kconfig"
source "arch/arm/plat-s3c24xx/Kconfig"
source "arch/arm/plat-s3c24xx/Kconfig"
source "arch/arm/plat-s5p/Kconfig"
source "arch/arm/plat-spear/Kconfig"
source "arch/arm/plat-spear/Kconfig"
...
...
arch/arm/Makefile
View file @
0f58487b
...
@@ -209,7 +209,7 @@ plat-$(CONFIG_PLAT_NOMADIK) := nomadik
...
@@ -209,7 +209,7 @@ plat-$(CONFIG_PLAT_NOMADIK) := nomadik
plat-$(CONFIG_PLAT_ORION)
:=
orion
plat-$(CONFIG_PLAT_ORION)
:=
orion
plat-$(CONFIG_PLAT_PXA)
:=
pxa
plat-$(CONFIG_PLAT_PXA)
:=
pxa
plat-$(CONFIG_PLAT_S3C24XX)
:=
s3c24xx samsung
plat-$(CONFIG_PLAT_S3C24XX)
:=
s3c24xx samsung
plat-$(CONFIG_PLAT_S5P)
:=
s
5p s
amsung
plat-$(CONFIG_PLAT_S5P)
:=
samsung
plat-$(CONFIG_PLAT_SPEAR)
:=
spear
plat-$(CONFIG_PLAT_SPEAR)
:=
spear
plat-$(CONFIG_PLAT_VERSATILE)
:=
versatile
plat-$(CONFIG_PLAT_VERSATILE)
:=
versatile
...
...
arch/arm/mach-exynos/Kconfig
View file @
0f58487b
...
@@ -85,10 +85,10 @@ config EXYNOS4_SETUP_FIMD0
...
@@ -85,10 +85,10 @@ config EXYNOS4_SETUP_FIMD0
help
help
Common setup code for FIMD0.
Common setup code for FIMD0.
config EXYNOS
4
_DEV_SYSMMU
config EXYNOS_DEV_SYSMMU
bool
bool
help
help
Common setup code for SYSTEM MMU in EXYNOS
4
Common setup code for SYSTEM MMU in EXYNOS
platforms
config EXYNOS4_DEV_DWMCI
config EXYNOS4_DEV_DWMCI
bool
bool
...
@@ -200,12 +200,12 @@ config MACH_SMDKV310
...
@@ -200,12 +200,12 @@ config MACH_SMDKV310
select S3C_DEV_HSMMC2
select S3C_DEV_HSMMC2
select S3C_DEV_HSMMC3
select S3C_DEV_HSMMC3
select SAMSUNG_DEV_BACKLIGHT
select SAMSUNG_DEV_BACKLIGHT
select EXYNOS_DEV_SYSMMU
select EXYNOS4_DEV_AHCI
select EXYNOS4_DEV_AHCI
select SAMSUNG_DEV_KEYPAD
select SAMSUNG_DEV_KEYPAD
select EXYNOS4_DEV_DMA
select EXYNOS4_DEV_DMA
select SAMSUNG_DEV_PWM
select SAMSUNG_DEV_PWM
select EXYNOS4_DEV_USB_OHCI
select EXYNOS4_DEV_USB_OHCI
select EXYNOS4_DEV_SYSMMU
select EXYNOS4_SETUP_FIMD0
select EXYNOS4_SETUP_FIMD0
select EXYNOS4_SETUP_I2C1
select EXYNOS4_SETUP_I2C1
select EXYNOS4_SETUP_KEYPAD
select EXYNOS4_SETUP_KEYPAD
...
@@ -224,7 +224,6 @@ config MACH_ARMLEX4210
...
@@ -224,7 +224,6 @@ config MACH_ARMLEX4210
select S3C_DEV_HSMMC3
select S3C_DEV_HSMMC3
select EXYNOS4_DEV_AHCI
select EXYNOS4_DEV_AHCI
select EXYNOS4_DEV_DMA
select EXYNOS4_DEV_DMA
select EXYNOS4_DEV_SYSMMU
select EXYNOS4_SETUP_SDHCI
select EXYNOS4_SETUP_SDHCI
help
help
Machine support for Samsung ARMLEX4210 based on EXYNOS4210
Machine support for Samsung ARMLEX4210 based on EXYNOS4210
...
@@ -254,6 +253,7 @@ config MACH_UNIVERSAL_C210
...
@@ -254,6 +253,7 @@ config MACH_UNIVERSAL_C210
select S5P_DEV_MFC
select S5P_DEV_MFC
select S5P_DEV_ONENAND
select S5P_DEV_ONENAND
select S5P_DEV_TV
select S5P_DEV_TV
select EXYNOS_DEV_SYSMMU
select EXYNOS4_DEV_DMA
select EXYNOS4_DEV_DMA
select EXYNOS4_SETUP_FIMD0
select EXYNOS4_SETUP_FIMD0
select EXYNOS4_SETUP_I2C1
select EXYNOS4_SETUP_I2C1
...
@@ -325,6 +325,7 @@ config MACH_ORIGEN
...
@@ -325,6 +325,7 @@ config MACH_ORIGEN
select S5P_DEV_USB_EHCI
select S5P_DEV_USB_EHCI
select SAMSUNG_DEV_BACKLIGHT
select SAMSUNG_DEV_BACKLIGHT
select SAMSUNG_DEV_PWM
select SAMSUNG_DEV_PWM
select EXYNOS_DEV_SYSMMU
select EXYNOS4_DEV_DMA
select EXYNOS4_DEV_DMA
select EXYNOS4_DEV_USB_OHCI
select EXYNOS4_DEV_USB_OHCI
select EXYNOS4_SETUP_FIMD0
select EXYNOS4_SETUP_FIMD0
...
@@ -348,6 +349,7 @@ config MACH_SMDK4212
...
@@ -348,6 +349,7 @@ config MACH_SMDK4212
select SAMSUNG_DEV_BACKLIGHT
select SAMSUNG_DEV_BACKLIGHT
select SAMSUNG_DEV_KEYPAD
select SAMSUNG_DEV_KEYPAD
select SAMSUNG_DEV_PWM
select SAMSUNG_DEV_PWM
select EXYNOS_DEV_SYSMMU
select EXYNOS4_DEV_DMA
select EXYNOS4_DEV_DMA
select EXYNOS4_SETUP_I2C1
select EXYNOS4_SETUP_I2C1
select EXYNOS4_SETUP_I2C3
select EXYNOS4_SETUP_I2C3
...
...
arch/arm/mach-exynos/Makefile
View file @
0f58487b
...
@@ -50,7 +50,7 @@ obj-$(CONFIG_MACH_EXYNOS5_DT) += mach-exynos5-dt.o
...
@@ -50,7 +50,7 @@ obj-$(CONFIG_MACH_EXYNOS5_DT) += mach-exynos5-dt.o
obj-y
+=
dev-uart.o
obj-y
+=
dev-uart.o
obj-$(CONFIG_ARCH_EXYNOS4)
+=
dev-audio.o
obj-$(CONFIG_ARCH_EXYNOS4)
+=
dev-audio.o
obj-$(CONFIG_EXYNOS4_DEV_AHCI)
+=
dev-ahci.o
obj-$(CONFIG_EXYNOS4_DEV_AHCI)
+=
dev-ahci.o
obj-$(CONFIG_EXYNOS
4_DEV_SYSMMU)
+=
dev-sysmmu.o
obj-$(CONFIG_EXYNOS
_DEV_SYSMMU)
+=
dev-sysmmu.o
obj-$(CONFIG_EXYNOS4_DEV_DWMCI)
+=
dev-dwmci.o
obj-$(CONFIG_EXYNOS4_DEV_DWMCI)
+=
dev-dwmci.o
obj-$(CONFIG_EXYNOS4_DEV_DMA)
+=
dma.o
obj-$(CONFIG_EXYNOS4_DEV_DMA)
+=
dma.o
obj-$(CONFIG_EXYNOS4_DEV_USB_OHCI)
+=
dev-ohci.o
obj-$(CONFIG_EXYNOS4_DEV_USB_OHCI)
+=
dev-ohci.o
...
...
arch/arm/mach-exynos/clock-exynos4.c
View file @
0f58487b
...
@@ -168,7 +168,7 @@ static int exynos4_clk_ip_tv_ctrl(struct clk *clk, int enable)
...
@@ -168,7 +168,7 @@ static int exynos4_clk_ip_tv_ctrl(struct clk *clk, int enable)
return
s5p_gatectrl
(
EXYNOS4_CLKGATE_IP_TV
,
clk
,
enable
);
return
s5p_gatectrl
(
EXYNOS4_CLKGATE_IP_TV
,
clk
,
enable
);
}
}
static
int
exynos4_clk_ip_image_ctrl
(
struct
clk
*
clk
,
int
enable
)
int
exynos4_clk_ip_image_ctrl
(
struct
clk
*
clk
,
int
enable
)
{
{
return
s5p_gatectrl
(
EXYNOS4_CLKGATE_IP_IMAGE
,
clk
,
enable
);
return
s5p_gatectrl
(
EXYNOS4_CLKGATE_IP_IMAGE
,
clk
,
enable
);
}
}
...
@@ -198,6 +198,11 @@ static int exynos4_clk_ip_perir_ctrl(struct clk *clk, int enable)
...
@@ -198,6 +198,11 @@ static int exynos4_clk_ip_perir_ctrl(struct clk *clk, int enable)
return
s5p_gatectrl
(
EXYNOS4_CLKGATE_IP_PERIR
,
clk
,
enable
);
return
s5p_gatectrl
(
EXYNOS4_CLKGATE_IP_PERIR
,
clk
,
enable
);
}
}
int
exynos4_clk_ip_dmc_ctrl
(
struct
clk
*
clk
,
int
enable
)
{
return
s5p_gatectrl
(
EXYNOS4_CLKGATE_IP_DMC
,
clk
,
enable
);
}
static
int
exynos4_clk_hdmiphy_ctrl
(
struct
clk
*
clk
,
int
enable
)
static
int
exynos4_clk_hdmiphy_ctrl
(
struct
clk
*
clk
,
int
enable
)
{
{
return
s5p_gatectrl
(
S5P_HDMI_PHY_CONTROL
,
clk
,
enable
);
return
s5p_gatectrl
(
S5P_HDMI_PHY_CONTROL
,
clk
,
enable
);
...
@@ -678,61 +683,55 @@ static struct clk exynos4_init_clocks_off[] = {
...
@@ -678,61 +683,55 @@ static struct clk exynos4_init_clocks_off[] = {
.
enable
=
exynos4_clk_ip_peril_ctrl
,
.
enable
=
exynos4_clk_ip_peril_ctrl
,
.
ctrlbit
=
(
1
<<
14
),
.
ctrlbit
=
(
1
<<
14
),
},
{
},
{
.
name
=
"SYSMMU_MDMA"
,
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
mfc_l
,
0
),
.
enable
=
exynos4_clk_ip_mfc_ctrl
,
.
ctrlbit
=
(
1
<<
1
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
mfc_r
,
1
),
.
enable
=
exynos4_clk_ip_mfc_ctrl
,
.
ctrlbit
=
(
1
<<
2
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
tv
,
2
),
.
enable
=
exynos4_clk_ip_tv_ctrl
,
.
ctrlbit
=
(
1
<<
4
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
jpeg
,
3
),
.
enable
=
exynos4_clk_ip_cam_ctrl
,
.
ctrlbit
=
(
1
<<
11
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
rot
,
4
),
.
enable
=
exynos4_clk_ip_image_ctrl
,
.
enable
=
exynos4_clk_ip_image_ctrl
,
.
ctrlbit
=
(
1
<<
5
),
.
ctrlbit
=
(
1
<<
4
),
},
{
},
{
.
name
=
"SYSMMU_FIMC0"
,
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
fimc0
,
5
),
.
enable
=
exynos4_clk_ip_cam_ctrl
,
.
enable
=
exynos4_clk_ip_cam_ctrl
,
.
ctrlbit
=
(
1
<<
7
),
.
ctrlbit
=
(
1
<<
7
),
},
{
},
{
.
name
=
"SYSMMU_FIMC1"
,
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
fimc1
,
6
),
.
enable
=
exynos4_clk_ip_cam_ctrl
,
.
enable
=
exynos4_clk_ip_cam_ctrl
,
.
ctrlbit
=
(
1
<<
8
),
.
ctrlbit
=
(
1
<<
8
),
},
{
},
{
.
name
=
"SYSMMU_FIMC2"
,
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
fimc2
,
7
),
.
enable
=
exynos4_clk_ip_cam_ctrl
,
.
enable
=
exynos4_clk_ip_cam_ctrl
,
.
ctrlbit
=
(
1
<<
9
),
.
ctrlbit
=
(
1
<<
9
),
},
{
},
{
.
name
=
"SYSMMU_FIMC3"
,
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
fimc3
,
8
),
.
enable
=
exynos4_clk_ip_cam_ctrl
,
.
enable
=
exynos4_clk_ip_cam_ctrl
,
.
ctrlbit
=
(
1
<<
10
),
.
ctrlbit
=
(
1
<<
10
),
},
{
},
{
.
name
=
"SYSMMU_JPEG"
,
.
name
=
SYSMMU_CLOCK_NAME
,
.
enable
=
exynos4_clk_ip_cam_ctrl
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
fimd0
,
10
),
.
ctrlbit
=
(
1
<<
11
),
},
{
.
name
=
"SYSMMU_FIMD0"
,
.
enable
=
exynos4_clk_ip_lcd0_ctrl
,
.
enable
=
exynos4_clk_ip_lcd0_ctrl
,
.
ctrlbit
=
(
1
<<
4
),
.
ctrlbit
=
(
1
<<
4
),
},
{
.
name
=
"SYSMMU_FIMD1"
,
.
enable
=
exynos4_clk_ip_lcd1_ctrl
,
.
ctrlbit
=
(
1
<<
4
),
},
{
.
name
=
"SYSMMU_PCIe"
,
.
enable
=
exynos4_clk_ip_fsys_ctrl
,
.
ctrlbit
=
(
1
<<
18
),
},
{
.
name
=
"SYSMMU_G2D"
,
.
enable
=
exynos4_clk_ip_image_ctrl
,
.
ctrlbit
=
(
1
<<
3
),
},
{
.
name
=
"SYSMMU_ROTATOR"
,
.
enable
=
exynos4_clk_ip_image_ctrl
,
.
ctrlbit
=
(
1
<<
4
),
},
{
.
name
=
"SYSMMU_TV"
,
.
enable
=
exynos4_clk_ip_tv_ctrl
,
.
ctrlbit
=
(
1
<<
4
),
},
{
.
name
=
"SYSMMU_MFC_L"
,
.
enable
=
exynos4_clk_ip_mfc_ctrl
,
.
ctrlbit
=
(
1
<<
1
),
},
{
.
name
=
"SYSMMU_MFC_R"
,
.
enable
=
exynos4_clk_ip_mfc_ctrl
,
.
ctrlbit
=
(
1
<<
2
),
}
}
};
};
...
...
arch/arm/mach-exynos/clock-exynos4.h
View file @
0f58487b
...
@@ -26,5 +26,7 @@ extern struct clk *exynos4_clkset_group_list[];
...
@@ -26,5 +26,7 @@ extern struct clk *exynos4_clkset_group_list[];
extern
int
exynos4_clksrc_mask_fsys_ctrl
(
struct
clk
*
clk
,
int
enable
);
extern
int
exynos4_clksrc_mask_fsys_ctrl
(
struct
clk
*
clk
,
int
enable
);
extern
int
exynos4_clk_ip_fsys_ctrl
(
struct
clk
*
clk
,
int
enable
);
extern
int
exynos4_clk_ip_fsys_ctrl
(
struct
clk
*
clk
,
int
enable
);
extern
int
exynos4_clk_ip_lcd1_ctrl
(
struct
clk
*
clk
,
int
enable
);
extern
int
exynos4_clk_ip_lcd1_ctrl
(
struct
clk
*
clk
,
int
enable
);
extern
int
exynos4_clk_ip_image_ctrl
(
struct
clk
*
clk
,
int
enable
);
extern
int
exynos4_clk_ip_dmc_ctrl
(
struct
clk
*
clk
,
int
enable
);
#endif
/* __ASM_ARCH_CLOCK_H */
#endif
/* __ASM_ARCH_CLOCK_H */
arch/arm/mach-exynos/clock-exynos4210.c
View file @
0f58487b
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
#include <mach/hardware.h>
#include <mach/hardware.h>
#include <mach/map.h>
#include <mach/map.h>
#include <mach/regs-clock.h>
#include <mach/regs-clock.h>
#include <mach/sysmmu.h>
#include "common.h"
#include "common.h"
#include "clock-exynos4.h"
#include "clock-exynos4.h"
...
@@ -94,6 +95,16 @@ static struct clk init_clocks_off[] = {
...
@@ -94,6 +95,16 @@ static struct clk init_clocks_off[] = {
.
devname
=
"exynos4-fb.1"
,
.
devname
=
"exynos4-fb.1"
,
.
enable
=
exynos4_clk_ip_lcd1_ctrl
,
.
enable
=
exynos4_clk_ip_lcd1_ctrl
,
.
ctrlbit
=
(
1
<<
0
),
.
ctrlbit
=
(
1
<<
0
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
2
d
,
14
),
.
enable
=
exynos4_clk_ip_image_ctrl
,
.
ctrlbit
=
(
1
<<
3
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
fimd1
,
11
),
.
enable
=
exynos4_clk_ip_lcd1_ctrl
,
.
ctrlbit
=
(
1
<<
4
),
},
},
};
};
...
...
arch/arm/mach-exynos/clock-exynos4212.c
View file @
0f58487b
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
#include <mach/hardware.h>
#include <mach/hardware.h>
#include <mach/map.h>
#include <mach/map.h>
#include <mach/regs-clock.h>
#include <mach/regs-clock.h>
#include <mach/sysmmu.h>
#include "common.h"
#include "common.h"
#include "clock-exynos4.h"
#include "clock-exynos4.h"
...
@@ -39,6 +40,16 @@ static struct sleep_save exynos4212_clock_save[] = {
...
@@ -39,6 +40,16 @@ static struct sleep_save exynos4212_clock_save[] = {
};
};
#endif
#endif
static
int
exynos4212_clk_ip_isp0_ctrl
(
struct
clk
*
clk
,
int
enable
)
{
return
s5p_gatectrl
(
EXYNOS4_CLKGATE_IP_ISP0
,
clk
,
enable
);
}
static
int
exynos4212_clk_ip_isp1_ctrl
(
struct
clk
*
clk
,
int
enable
)
{
return
s5p_gatectrl
(
EXYNOS4_CLKGATE_IP_ISP1
,
clk
,
enable
);
}
static
struct
clk
*
clk_src_mpll_user_list
[]
=
{
static
struct
clk
*
clk_src_mpll_user_list
[]
=
{
[
0
]
=
&
clk_fin_mpll
,
[
0
]
=
&
clk_fin_mpll
,
[
1
]
=
&
exynos4_clk_mout_mpll
.
clk
,
[
1
]
=
&
exynos4_clk_mout_mpll
.
clk
,
...
@@ -66,7 +77,22 @@ static struct clksrc_clk clksrcs[] = {
...
@@ -66,7 +77,22 @@ static struct clksrc_clk clksrcs[] = {
};
};
static
struct
clk
init_clocks_off
[]
=
{
static
struct
clk
init_clocks_off
[]
=
{
/* nothing here yet */
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
2
d
,
14
),
.
enable
=
exynos4_clk_ip_dmc_ctrl
,
.
ctrlbit
=
(
1
<<
24
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
isp
,
9
),
.
enable
=
exynos4212_clk_ip_isp0_ctrl
,
.
ctrlbit
=
(
7
<<
8
),
},
{
.
name
=
SYSMMU_CLOCK_NAME2
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
isp
,
9
),
.
enable
=
exynos4212_clk_ip_isp1_ctrl
,
.
ctrlbit
=
(
1
<<
4
),
}
};
};
#ifdef CONFIG_PM_SLEEP
#ifdef CONFIG_PM_SLEEP
...
...
arch/arm/mach-exynos/clock-exynos5.c
View file @
0f58487b
...
@@ -82,6 +82,11 @@ static int exynos5_clksrc_mask_peric0_ctrl(struct clk *clk, int enable)
...
@@ -82,6 +82,11 @@ static int exynos5_clksrc_mask_peric0_ctrl(struct clk *clk, int enable)
return
s5p_gatectrl
(
EXYNOS5_CLKSRC_MASK_PERIC0
,
clk
,
enable
);
return
s5p_gatectrl
(
EXYNOS5_CLKSRC_MASK_PERIC0
,
clk
,
enable
);
}
}
static
int
exynos5_clk_ip_acp_ctrl
(
struct
clk
*
clk
,
int
enable
)
{
return
s5p_gatectrl
(
EXYNOS5_CLKGATE_IP_ACP
,
clk
,
enable
);
}
static
int
exynos5_clk_ip_core_ctrl
(
struct
clk
*
clk
,
int
enable
)
static
int
exynos5_clk_ip_core_ctrl
(
struct
clk
*
clk
,
int
enable
)
{
{
return
s5p_gatectrl
(
EXYNOS5_CLKGATE_IP_CORE
,
clk
,
enable
);
return
s5p_gatectrl
(
EXYNOS5_CLKGATE_IP_CORE
,
clk
,
enable
);
...
@@ -127,6 +132,21 @@ static int exynos5_clk_ip_peris_ctrl(struct clk *clk, int enable)
...
@@ -127,6 +132,21 @@ static int exynos5_clk_ip_peris_ctrl(struct clk *clk, int enable)
return
s5p_gatectrl
(
EXYNOS5_CLKGATE_IP_PERIS
,
clk
,
enable
);
return
s5p_gatectrl
(
EXYNOS5_CLKGATE_IP_PERIS
,
clk
,
enable
);
}
}
static
int
exynos5_clk_ip_gscl_ctrl
(
struct
clk
*
clk
,
int
enable
)
{
return
s5p_gatectrl
(
EXYNOS5_CLKGATE_IP_GSCL
,
clk
,
enable
);
}
static
int
exynos5_clk_ip_isp0_ctrl
(
struct
clk
*
clk
,
int
enable
)
{
return
s5p_gatectrl
(
EXYNOS5_CLKGATE_IP_ISP0
,
clk
,
enable
);
}
static
int
exynos5_clk_ip_isp1_ctrl
(
struct
clk
*
clk
,
int
enable
)
{
return
s5p_gatectrl
(
EXYNOS5_CLKGATE_IP_ISP1
,
clk
,
enable
);
}
/* Core list of CMU_CPU side */
/* Core list of CMU_CPU side */
static
struct
clksrc_clk
exynos5_clk_mout_apll
=
{
static
struct
clksrc_clk
exynos5_clk_mout_apll
=
{
...
@@ -630,6 +650,76 @@ static struct clk exynos5_init_clocks_off[] = {
...
@@ -630,6 +650,76 @@ static struct clk exynos5_init_clocks_off[] = {
.
parent
=
&
exynos5_clk_aclk_66
.
clk
,
.
parent
=
&
exynos5_clk_aclk_66
.
clk
,
.
enable
=
exynos5_clk_ip_peric_ctrl
,
.
enable
=
exynos5_clk_ip_peric_ctrl
,
.
ctrlbit
=
(
1
<<
14
),
.
ctrlbit
=
(
1
<<
14
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
mfc_l
,
0
),
.
enable
=
&
exynos5_clk_ip_mfc_ctrl
,
.
ctrlbit
=
(
1
<<
1
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
mfc_r
,
1
),
.
enable
=
&
exynos5_clk_ip_mfc_ctrl
,
.
ctrlbit
=
(
1
<<
2
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
tv
,
2
),
.
enable
=
&
exynos5_clk_ip_disp1_ctrl
,
.
ctrlbit
=
(
1
<<
9
)
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
jpeg
,
3
),
.
enable
=
&
exynos5_clk_ip_gen_ctrl
,
.
ctrlbit
=
(
1
<<
7
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
rot
,
4
),
.
enable
=
&
exynos5_clk_ip_gen_ctrl
,
.
ctrlbit
=
(
1
<<
6
)
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
gsc0
,
5
),
.
enable
=
&
exynos5_clk_ip_gscl_ctrl
,
.
ctrlbit
=
(
1
<<
7
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
gsc1
,
6
),
.
enable
=
&
exynos5_clk_ip_gscl_ctrl
,
.
ctrlbit
=
(
1
<<
8
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
gsc2
,
7
),
.
enable
=
&
exynos5_clk_ip_gscl_ctrl
,
.
ctrlbit
=
(
1
<<
9
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
gsc3
,
8
),
.
enable
=
&
exynos5_clk_ip_gscl_ctrl
,
.
ctrlbit
=
(
1
<<
10
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
isp
,
9
),
.
enable
=
&
exynos5_clk_ip_isp0_ctrl
,
.
ctrlbit
=
(
0x3F
<<
8
),
},
{
.
name
=
SYSMMU_CLOCK_NAME2
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
isp
,
9
),
.
enable
=
&
exynos5_clk_ip_isp1_ctrl
,
.
ctrlbit
=
(
0xF
<<
4
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
camif0
,
12
),
.
enable
=
&
exynos5_clk_ip_gscl_ctrl
,
.
ctrlbit
=
(
1
<<
11
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
camif1
,
13
),
.
enable
=
&
exynos5_clk_ip_gscl_ctrl
,
.
ctrlbit
=
(
1
<<
12
),
},
{
.
name
=
SYSMMU_CLOCK_NAME
,
.
devname
=
SYSMMU_CLOCK_DEVNAME
(
2
d
,
14
),
.
enable
=
&
exynos5_clk_ip_acp_ctrl
,
.
ctrlbit
=
(
1
<<
7
)
}
}
};
};
...
...
arch/arm/mach-exynos/dev-sysmmu.c
View file @
0f58487b
This diff is collapsed.
Click to expand it.
arch/arm/mach-exynos/include/mach/irqs.h
View file @
0f58487b
...
@@ -154,6 +154,13 @@
...
@@ -154,6 +154,13 @@
#define EXYNOS4_IRQ_SYSMMU_MFC_M1_0 COMBINER_IRQ(5, 6)
#define EXYNOS4_IRQ_SYSMMU_MFC_M1_0 COMBINER_IRQ(5, 6)
#define EXYNOS4_IRQ_SYSMMU_PCIE_0 COMBINER_IRQ(5, 7)
#define EXYNOS4_IRQ_SYSMMU_PCIE_0 COMBINER_IRQ(5, 7)
#define EXYNOS4_IRQ_SYSMMU_FIMC_LITE0_0 COMBINER_IRQ(16, 0)
#define EXYNOS4_IRQ_SYSMMU_FIMC_LITE1_0 COMBINER_IRQ(16, 1)
#define EXYNOS4_IRQ_SYSMMU_FIMC_ISP_0 COMBINER_IRQ(16, 2)
#define EXYNOS4_IRQ_SYSMMU_FIMC_DRC_0 COMBINER_IRQ(16, 3)
#define EXYNOS4_IRQ_SYSMMU_FIMC_FD_0 COMBINER_IRQ(16, 4)
#define EXYNOS4_IRQ_SYSMMU_FIMC_CX_0 COMBINER_IRQ(16, 5)
#define EXYNOS4_IRQ_FIMD0_FIFO COMBINER_IRQ(11, 0)
#define EXYNOS4_IRQ_FIMD0_FIFO COMBINER_IRQ(11, 0)
#define EXYNOS4_IRQ_FIMD0_VSYNC COMBINER_IRQ(11, 1)
#define EXYNOS4_IRQ_FIMD0_VSYNC COMBINER_IRQ(11, 1)
#define EXYNOS4_IRQ_FIMD0_SYSTEM COMBINER_IRQ(11, 2)
#define EXYNOS4_IRQ_FIMD0_SYSTEM COMBINER_IRQ(11, 2)
...
@@ -220,24 +227,6 @@
...
@@ -220,24 +227,6 @@
#define IRQ_KEYPAD EXYNOS4_IRQ_KEYPAD
#define IRQ_KEYPAD EXYNOS4_IRQ_KEYPAD
#define IRQ_PMU EXYNOS4_IRQ_PMU
#define IRQ_PMU EXYNOS4_IRQ_PMU
#define IRQ_SYSMMU_MDMA0_0 EXYNOS4_IRQ_SYSMMU_MDMA0_0
#define IRQ_SYSMMU_SSS_0 EXYNOS4_IRQ_SYSMMU_SSS_0
#define IRQ_SYSMMU_FIMC0_0 EXYNOS4_IRQ_SYSMMU_FIMC0_0
#define IRQ_SYSMMU_FIMC1_0 EXYNOS4_IRQ_SYSMMU_FIMC1_0
#define IRQ_SYSMMU_FIMC2_0 EXYNOS4_IRQ_SYSMMU_FIMC2_0
#define IRQ_SYSMMU_FIMC3_0 EXYNOS4_IRQ_SYSMMU_FIMC3_0
#define IRQ_SYSMMU_JPEG_0 EXYNOS4_IRQ_SYSMMU_JPEG_0
#define IRQ_SYSMMU_2D_0 EXYNOS4_IRQ_SYSMMU_2D_0
#define IRQ_SYSMMU_ROTATOR_0 EXYNOS4_IRQ_SYSMMU_ROTATOR_0
#define IRQ_SYSMMU_MDMA1_0 EXYNOS4_IRQ_SYSMMU_MDMA1_0
#define IRQ_SYSMMU_LCD0_M0_0 EXYNOS4_IRQ_SYSMMU_LCD0_M0_0
#define IRQ_SYSMMU_LCD1_M1_0 EXYNOS4_IRQ_SYSMMU_LCD1_M1_0
#define IRQ_SYSMMU_TV_M0_0 EXYNOS4_IRQ_SYSMMU_TV_M0_0
#define IRQ_SYSMMU_MFC_M0_0 EXYNOS4_IRQ_SYSMMU_MFC_M0_0
#define IRQ_SYSMMU_MFC_M1_0 EXYNOS4_IRQ_SYSMMU_MFC_M1_0
#define IRQ_SYSMMU_PCIE_0 EXYNOS4_IRQ_SYSMMU_PCIE_0
#define IRQ_FIMD0_FIFO EXYNOS4_IRQ_FIMD0_FIFO
#define IRQ_FIMD0_FIFO EXYNOS4_IRQ_FIMD0_FIFO
#define IRQ_FIMD0_VSYNC EXYNOS4_IRQ_FIMD0_VSYNC
#define IRQ_FIMD0_VSYNC EXYNOS4_IRQ_FIMD0_VSYNC
#define IRQ_FIMD0_SYSTEM EXYNOS4_IRQ_FIMD0_SYSTEM
#define IRQ_FIMD0_SYSTEM EXYNOS4_IRQ_FIMD0_SYSTEM
...
...
arch/arm/mach-exynos/include/mach/map.h
View file @
0f58487b
...
@@ -95,6 +95,7 @@
...
@@ -95,6 +95,7 @@
#define EXYNOS5_PA_PDMA1 0x121B0000
#define EXYNOS5_PA_PDMA1 0x121B0000
#define EXYNOS4_PA_SYSMMU_MDMA 0x10A40000
#define EXYNOS4_PA_SYSMMU_MDMA 0x10A40000
#define EXYNOS4_PA_SYSMMU_2D_ACP 0x10A40000
#define EXYNOS4_PA_SYSMMU_SSS 0x10A50000
#define EXYNOS4_PA_SYSMMU_SSS 0x10A50000
#define EXYNOS4_PA_SYSMMU_FIMC0 0x11A20000
#define EXYNOS4_PA_SYSMMU_FIMC0 0x11A20000
#define EXYNOS4_PA_SYSMMU_FIMC1 0x11A30000
#define EXYNOS4_PA_SYSMMU_FIMC1 0x11A30000
...
@@ -103,6 +104,12 @@
...
@@ -103,6 +104,12 @@
#define EXYNOS4_PA_SYSMMU_JPEG 0x11A60000
#define EXYNOS4_PA_SYSMMU_JPEG 0x11A60000
#define EXYNOS4_PA_SYSMMU_FIMD0 0x11E20000
#define EXYNOS4_PA_SYSMMU_FIMD0 0x11E20000
#define EXYNOS4_PA_SYSMMU_FIMD1 0x12220000
#define EXYNOS4_PA_SYSMMU_FIMD1 0x12220000
#define EXYNOS4_PA_SYSMMU_FIMC_ISP 0x12260000
#define EXYNOS4_PA_SYSMMU_FIMC_DRC 0x12270000
#define EXYNOS4_PA_SYSMMU_FIMC_FD 0x122A0000
#define EXYNOS4_PA_SYSMMU_ISPCPU 0x122B0000
#define EXYNOS4_PA_SYSMMU_FIMC_LITE0 0x123B0000
#define EXYNOS4_PA_SYSMMU_FIMC_LITE1 0x123C0000
#define EXYNOS4_PA_SYSMMU_PCIe 0x12620000
#define EXYNOS4_PA_SYSMMU_PCIe 0x12620000
#define EXYNOS4_PA_SYSMMU_G2D 0x12A20000
#define EXYNOS4_PA_SYSMMU_G2D 0x12A20000
#define EXYNOS4_PA_SYSMMU_ROTATOR 0x12A30000
#define EXYNOS4_PA_SYSMMU_ROTATOR 0x12A30000
...
@@ -110,6 +117,37 @@
...
@@ -110,6 +117,37 @@
#define EXYNOS4_PA_SYSMMU_TV 0x12E20000
#define EXYNOS4_PA_SYSMMU_TV 0x12E20000
#define EXYNOS4_PA_SYSMMU_MFC_L 0x13620000
#define EXYNOS4_PA_SYSMMU_MFC_L 0x13620000
#define EXYNOS4_PA_SYSMMU_MFC_R 0x13630000
#define EXYNOS4_PA_SYSMMU_MFC_R 0x13630000
#define EXYNOS5_PA_SYSMMU_MDMA1 0x10A40000
#define EXYNOS5_PA_SYSMMU_SSS 0x10A50000
#define EXYNOS5_PA_SYSMMU_2D 0x10A60000
#define EXYNOS5_PA_SYSMMU_MFC_L 0x11200000
#define EXYNOS5_PA_SYSMMU_MFC_R 0x11210000
#define EXYNOS5_PA_SYSMMU_ROTATOR 0x11D40000
#define EXYNOS5_PA_SYSMMU_MDMA2 0x11D50000
#define EXYNOS5_PA_SYSMMU_JPEG 0x11F20000
#define EXYNOS5_PA_SYSMMU_IOP 0x12360000
#define EXYNOS5_PA_SYSMMU_RTIC 0x12370000
#define EXYNOS5_PA_SYSMMU_GPS 0x12630000
#define EXYNOS5_PA_SYSMMU_ISP 0x13260000
#define EXYNOS5_PA_SYSMMU_DRC 0x12370000
#define EXYNOS5_PA_SYSMMU_SCALERC 0x13280000
#define EXYNOS5_PA_SYSMMU_SCALERP 0x13290000
#define EXYNOS5_PA_SYSMMU_FD 0x132A0000
#define EXYNOS5_PA_SYSMMU_ISPCPU 0x132B0000
#define EXYNOS5_PA_SYSMMU_ODC 0x132C0000
#define EXYNOS5_PA_SYSMMU_DIS0 0x132D0000
#define EXYNOS5_PA_SYSMMU_DIS1 0x132E0000
#define EXYNOS5_PA_SYSMMU_3DNR 0x132F0000
#define EXYNOS5_PA_SYSMMU_LITE0 0x13C40000
#define EXYNOS5_PA_SYSMMU_LITE1 0x13C50000
#define EXYNOS5_PA_SYSMMU_GSC0 0x13E80000
#define EXYNOS5_PA_SYSMMU_GSC1 0x13E90000
#define EXYNOS5_PA_SYSMMU_GSC2 0x13EA0000
#define EXYNOS5_PA_SYSMMU_GSC3 0x13EB0000
#define EXYNOS5_PA_SYSMMU_FIMD1 0x14640000
#define EXYNOS5_PA_SYSMMU_TV 0x14650000
#define EXYNOS4_PA_SPI0 0x13920000
#define EXYNOS4_PA_SPI0 0x13920000
#define EXYNOS4_PA_SPI1 0x13930000
#define EXYNOS4_PA_SPI1 0x13930000
#define EXYNOS4_PA_SPI2 0x13940000
#define EXYNOS4_PA_SPI2 0x13940000
...
...
arch/arm/mach-exynos/include/mach/regs-clock.h
View file @
0f58487b
...
@@ -135,6 +135,9 @@
...
@@ -135,6 +135,9 @@
#define EXYNOS4_CLKGATE_SCLKCPU EXYNOS_CLKREG(0x14800)
#define EXYNOS4_CLKGATE_SCLKCPU EXYNOS_CLKREG(0x14800)
#define EXYNOS4_CLKGATE_IP_CPU EXYNOS_CLKREG(0x14900)
#define EXYNOS4_CLKGATE_IP_CPU EXYNOS_CLKREG(0x14900)
#define EXYNOS4_CLKGATE_IP_ISP0 EXYNOS_CLKREG(0x18800)
#define EXYNOS4_CLKGATE_IP_ISP1 EXYNOS_CLKREG(0x18804)
#define EXYNOS4_APLL_LOCKTIME (0x1C20)
/* 300us */
#define EXYNOS4_APLL_LOCKTIME (0x1C20)
/* 300us */
#define EXYNOS4_APLLCON0_ENABLE_SHIFT (31)
#define EXYNOS4_APLLCON0_ENABLE_SHIFT (31)
...
@@ -303,6 +306,8 @@
...
@@ -303,6 +306,8 @@
#define EXYNOS5_CLKDIV_PERIC0 EXYNOS_CLKREG(0x10558)
#define EXYNOS5_CLKDIV_PERIC0 EXYNOS_CLKREG(0x10558)
#define EXYNOS5_CLKGATE_IP_ACP EXYNOS_CLKREG(0x08800)
#define EXYNOS5_CLKGATE_IP_ACP EXYNOS_CLKREG(0x08800)
#define EXYNOS5_CLKGATE_IP_ISP0 EXYNOS_CLKREG(0x0C800)
#define EXYNOS5_CLKGATE_IP_ISP1 EXYNOS_CLKREG(0x0C804)
#define EXYNOS5_CLKGATE_IP_GSCL EXYNOS_CLKREG(0x10920)
#define EXYNOS5_CLKGATE_IP_GSCL EXYNOS_CLKREG(0x10920)
#define EXYNOS5_CLKGATE_IP_DISP1 EXYNOS_CLKREG(0x10928)
#define EXYNOS5_CLKGATE_IP_DISP1 EXYNOS_CLKREG(0x10928)
#define EXYNOS5_CLKGATE_IP_MFC EXYNOS_CLKREG(0x1092C)
#define EXYNOS5_CLKGATE_IP_MFC EXYNOS_CLKREG(0x1092C)
...
...
arch/arm/mach-exynos/include/mach/regs-sysmmu.h
deleted
100644 → 0
View file @
36be5051
/* linux/arch/arm/mach-exynos4/include/mach/regs-sysmmu.h
*
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* EXYNOS4 - System MMU register
*
* 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.
*/
#ifndef __ASM_ARCH_REGS_SYSMMU_H
#define __ASM_ARCH_REGS_SYSMMU_H __FILE__
#define S5P_MMU_CTRL 0x000
#define S5P_MMU_CFG 0x004
#define S5P_MMU_STATUS 0x008
#define S5P_MMU_FLUSH 0x00C
#define S5P_PT_BASE_ADDR 0x014
#define S5P_INT_STATUS 0x018
#define S5P_INT_CLEAR 0x01C
#define S5P_PAGE_FAULT_ADDR 0x024
#define S5P_AW_FAULT_ADDR 0x028
#define S5P_AR_FAULT_ADDR 0x02C
#define S5P_DEFAULT_SLAVE_ADDR 0x030
#endif
/* __ASM_ARCH_REGS_SYSMMU_H */
arch/arm/mach-exynos/include/mach/sysmmu.h
View file @
0f58487b
/* linux/arch/arm/mach-exynos4/include/mach/sysmmu.h
/*
*
* Copyright (c) 2011-2012 Samsung Electronics Co., Ltd.
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
* http://www.samsung.com
*
*
*
Samsung sysmmu driver for EXYNOS4
*
EXYNOS - System MMU support
*
*
* 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 version 2 as
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
* published by the Free Software Foundation.
*/
*/
#ifndef __ASM_ARM_ARCH_SYSMMU_H
#ifndef _ARM_MACH_EXYNOS_SYSMMU_H_
#define __ASM_ARM_ARCH_SYSMMU_H __FILE__
#define _ARM_MACH_EXYNOS_SYSMMU_H_
enum
exynos4_sysmmu_ips
{
struct
sysmmu_platform_data
{
SYSMMU_MDMA
,
char
*
dbgname
;
SYSMMU_SSS
,
/* comma(,) separated list of clock names for clock gating */
SYSMMU_FIMC0
,
char
*
clockname
;
SYSMMU_FIMC1
,
SYSMMU_FIMC2
,
SYSMMU_FIMC3
,
SYSMMU_JPEG
,
SYSMMU_FIMD0
,
SYSMMU_FIMD1
,
SYSMMU_PCIe
,
SYSMMU_G2D
,
SYSMMU_ROTATOR
,
SYSMMU_MDMA2
,
SYSMMU_TV
,
SYSMMU_MFC_L
,
SYSMMU_MFC_R
,
EXYNOS4_SYSMMU_TOTAL_IPNUM
,
};
};
#define S5P_SYSMMU_TOTAL_IPNUM EXYNOS4_SYSMMU_TOTAL_IPNUM
#define SYSMMU_DEVNAME_BASE "exynos-sysmmu"
#define SYSMMU_CLOCK_NAME "sysmmu"
#define SYSMMU_CLOCK_NAME2 "sysmmu_mc"
#ifdef CONFIG_EXYNOS_DEV_SYSMMU
#include <linux/device.h>
struct
platform_device
;
#define SYSMMU_PLATDEV(ipname) exynos_device_sysmmu_##ipname
extern
struct
platform_device
SYSMMU_PLATDEV
(
mfc_l
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
mfc_r
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
tv
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
jpeg
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
rot
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
fimc0
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
fimc1
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
fimc2
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
fimc3
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
gsc0
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
gsc1
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
gsc2
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
gsc3
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
isp
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
fimd0
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
fimd1
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
camif0
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
camif1
);
extern
struct
platform_device
SYSMMU_PLATDEV
(
2
d
);
extern
const
char
*
sysmmu_ips_name
[
EXYNOS4_SYSMMU_TOTAL_IPNUM
];
#ifdef CONFIG_IOMMU_API
static
inline
void
platform_set_sysmmu
(
struct
device
*
sysmmu
,
struct
device
*
dev
)
{
dev
->
archdata
.
iommu
=
sysmmu
;
}
#endif
typedef
enum
exynos4_sysmmu_ips
sysmmu_ips
;
#else
/* !CONFIG_EXYNOS_DEV_SYSMMU */
#define platform_set_sysmmu(dev, sysmmu) do { } while (0)
#endif
void
sysmmu_clk_init
(
struct
device
*
dev
,
sysmmu_ips
ips
);
#define SYSMMU_CLOCK_DEVNAME(ipname, id) (SYSMMU_DEVNAME_BASE "." #id)
void
sysmmu_clk_enable
(
sysmmu_ips
ips
);
void
sysmmu_clk_disable
(
sysmmu_ips
ips
);
#endif
/* _
_ASM_ARM_ARCH_SYSMMU_H
*/
#endif
/* _
ARM_MACH_EXYNOS_SYSMMU_H_
*/
arch/arm/mach-exynos/mach-armlex4210.c
View file @
0f58487b
...
@@ -157,7 +157,6 @@ static struct platform_device *armlex4210_devices[] __initdata = {
...
@@ -157,7 +157,6 @@ static struct platform_device *armlex4210_devices[] __initdata = {
&
s3c_device_hsmmc3
,
&
s3c_device_hsmmc3
,
&
s3c_device_rtc
,
&
s3c_device_rtc
,
&
s3c_device_wdt
,
&
s3c_device_wdt
,
&
exynos4_device_sysmmu
,
&
samsung_asoc_dma
,
&
samsung_asoc_dma
,
&
armlex4210_smsc911x
,
&
armlex4210_smsc911x
,
&
exynos4_device_ahci
,
&
exynos4_device_ahci
,
...
...
arch/arm/mach-exynos/mach-smdkv310.c
View file @
0f58487b
...
@@ -281,7 +281,6 @@ static struct platform_device *smdkv310_devices[] __initdata = {
...
@@ -281,7 +281,6 @@ static struct platform_device *smdkv310_devices[] __initdata = {
&
s5p_device_mfc_l
,
&
s5p_device_mfc_l
,
&
s5p_device_mfc_r
,
&
s5p_device_mfc_r
,
&
exynos4_device_spdif
,
&
exynos4_device_spdif
,
&
exynos4_device_sysmmu
,
&
samsung_asoc_dma
,
&
samsung_asoc_dma
,
&
samsung_asoc_idma
,
&
samsung_asoc_idma
,
&
s5p_device_fimd0
,
&
s5p_device_fimd0
,
...
...
arch/arm/plat-s5p/Kconfig
deleted
100644 → 0
View file @
36be5051
# arch/arm/plat-s5p/Kconfig
#
# Copyright (c) 2009 Samsung Electronics Co., Ltd.
# http://www.samsung.com/
#
# Licensed under GPLv2
config PLAT_S5P
bool
depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS)
default y
select ARM_VIC if !ARCH_EXYNOS
select ARM_GIC if ARCH_EXYNOS
select GIC_NON_BANKED if ARCH_EXYNOS4
select NO_IOPORT
select ARCH_REQUIRE_GPIOLIB
select S3C_GPIO_TRACK
select S5P_GPIO_DRVSTR
select SAMSUNG_GPIOLIB_4BIT
select PLAT_SAMSUNG
select SAMSUNG_CLKSRC
select SAMSUNG_IRQ_VIC_TIMER
help
Base platform code for Samsung's S5P series SoC.
config S5P_EXT_INT
bool
help
Use the external interrupts (other than GPIO interrupts.)
Note: Do not choose this for S5P6440 and S5P6450.
config S5P_GPIO_INT
bool
help
Common code for the GPIO interrupts (other than external interrupts.)
config S5P_HRT
bool
select SAMSUNG_DEV_PWM
help
Use the High Resolution timer support
config S5P_DEV_UART
def_bool y
depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210)
config S5P_PM
bool
help
Common code for power management support on S5P and newer SoCs
Note: Do not select this for S5P6440 and S5P6450.
comment "System MMU"
config S5P_SYSTEM_MMU
bool "S5P SYSTEM MMU"
depends on ARCH_EXYNOS4
help
Say Y here if you want to enable System MMU
config S5P_SLEEP
bool
help
Internal config node to apply common S5P sleep management code.
Can be selected by S5P and newer SoCs with similar sleep procedure.
config S5P_DEV_FIMC0
bool
help
Compile in platform device definitions for FIMC controller 0
config S5P_DEV_FIMC1
bool
help
Compile in platform device definitions for FIMC controller 1
config S5P_DEV_FIMC2
bool
help
Compile in platform device definitions for FIMC controller 2
config S5P_DEV_FIMC3
bool
help
Compile in platform device definitions for FIMC controller 3
config S5P_DEV_JPEG
bool
help
Compile in platform device definitions for JPEG codec
config S5P_DEV_G2D
bool
help
Compile in platform device definitions for G2D device
config S5P_DEV_FIMD0
bool
help
Compile in platform device definitions for FIMD controller 0
config S5P_DEV_I2C_HDMIPHY
bool
help
Compile in platform device definitions for I2C HDMIPHY controller
config S5P_DEV_MFC
bool
help
Compile in platform device definitions for MFC
config S5P_DEV_ONENAND
bool
help
Compile in platform device definition for OneNAND controller
config S5P_DEV_CSIS0
bool
help
Compile in platform device definitions for MIPI-CSIS channel 0
config S5P_DEV_CSIS1
bool
help
Compile in platform device definitions for MIPI-CSIS channel 1
config S5P_DEV_TV
bool
help
Compile in platform device definition for TV interface
config S5P_DEV_USB_EHCI
bool
help
Compile in platform device definition for USB EHCI
config S5P_SETUP_MIPIPHY
bool
help
Compile in common setup code for MIPI-CSIS and MIPI-DSIM devices
arch/arm/plat-s5p/Makefile
deleted
100644 → 0
View file @
36be5051
# arch/arm/plat-s5p/Makefile
#
# Copyright (c) 2009 Samsung Electronics Co., Ltd.
# http://www.samsung.com/
#
# Licensed under GPLv2
obj-y
:=
obj-m
:=
obj-n
:=
dummy.o
obj-
:=
# Core files
obj-y
+=
clock.o
obj-y
+=
irq.o
obj-$(CONFIG_S5P_EXT_INT)
+=
irq-eint.o
obj-$(CONFIG_S5P_GPIO_INT)
+=
irq-gpioint.o
obj-$(CONFIG_S5P_SYSTEM_MMU)
+=
sysmmu.o
obj-$(CONFIG_S5P_PM)
+=
pm.o irq-pm.o
obj-$(CONFIG_S5P_SLEEP)
+=
sleep.o
obj-$(CONFIG_S5P_HRT)
+=
s5p-time.o
# devices
obj-$(CONFIG_S5P_DEV_UART)
+=
dev-uart.o
obj-$(CONFIG_S5P_DEV_MFC)
+=
dev-mfc.o
obj-$(CONFIG_S5P_SETUP_MIPIPHY)
+=
setup-mipiphy.o
arch/arm/plat-s5p/sysmmu.c
deleted
100644 → 0
View file @
36be5051
/* linux/arch/arm/plat-s5p/sysmmu.c
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* 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/io.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/export.h>
#include <asm/pgtable.h>
#include <mach/map.h>
#include <mach/regs-sysmmu.h>
#include <plat/sysmmu.h>
#define CTRL_ENABLE 0x5
#define CTRL_BLOCK 0x7
#define CTRL_DISABLE 0x0
static
struct
device
*
dev
;
static
unsigned
short
fault_reg_offset
[
SYSMMU_FAULTS_NUM
]
=
{
S5P_PAGE_FAULT_ADDR
,
S5P_AR_FAULT_ADDR
,
S5P_AW_FAULT_ADDR
,
S5P_DEFAULT_SLAVE_ADDR
,
S5P_AR_FAULT_ADDR
,
S5P_AR_FAULT_ADDR
,
S5P_AW_FAULT_ADDR
,
S5P_AW_FAULT_ADDR
};
static
char
*
sysmmu_fault_name
[
SYSMMU_FAULTS_NUM
]
=
{
"PAGE FAULT"
,
"AR MULTI-HIT FAULT"
,
"AW MULTI-HIT FAULT"
,
"BUS ERROR"
,
"AR SECURITY PROTECTION FAULT"
,
"AR ACCESS PROTECTION FAULT"
,
"AW SECURITY PROTECTION FAULT"
,
"AW ACCESS PROTECTION FAULT"
};
static
int
(
*
fault_handlers
[
S5P_SYSMMU_TOTAL_IPNUM
])(
enum
S5P_SYSMMU_INTERRUPT_TYPE
itype
,
unsigned
long
pgtable_base
,
unsigned
long
fault_addr
);
/*
* If adjacent 2 bits are true, the system MMU is enabled.
* The system MMU is disabled, otherwise.
*/
static
unsigned
long
sysmmu_states
;
static
inline
void
set_sysmmu_active
(
sysmmu_ips
ips
)
{
sysmmu_states
|=
3
<<
(
ips
*
2
);
}
static
inline
void
set_sysmmu_inactive
(
sysmmu_ips
ips
)
{
sysmmu_states
&=
~
(
3
<<
(
ips
*
2
));
}
static
inline
int
is_sysmmu_active
(
sysmmu_ips
ips
)
{
return
sysmmu_states
&
(
3
<<
(
ips
*
2
));
}
static
void
__iomem
*
sysmmusfrs
[
S5P_SYSMMU_TOTAL_IPNUM
];
static
inline
void
sysmmu_block
(
sysmmu_ips
ips
)
{
__raw_writel
(
CTRL_BLOCK
,
sysmmusfrs
[
ips
]
+
S5P_MMU_CTRL
);
dev_dbg
(
dev
,
"%s is blocked.
\n
"
,
sysmmu_ips_name
[
ips
]);
}
static
inline
void
sysmmu_unblock
(
sysmmu_ips
ips
)
{
__raw_writel
(
CTRL_ENABLE
,
sysmmusfrs
[
ips
]
+
S5P_MMU_CTRL
);
dev_dbg
(
dev
,
"%s is unblocked.
\n
"
,
sysmmu_ips_name
[
ips
]);
}
static
inline
void
__sysmmu_tlb_invalidate
(
sysmmu_ips
ips
)
{
__raw_writel
(
0x1
,
sysmmusfrs
[
ips
]
+
S5P_MMU_FLUSH
);
dev_dbg
(
dev
,
"TLB of %s is invalidated.
\n
"
,
sysmmu_ips_name
[
ips
]);
}
static
inline
void
__sysmmu_set_ptbase
(
sysmmu_ips
ips
,
unsigned
long
pgd
)
{
if
(
unlikely
(
pgd
==
0
))
{
pgd
=
(
unsigned
long
)
ZERO_PAGE
(
0
);
__raw_writel
(
0x20
,
sysmmusfrs
[
ips
]
+
S5P_MMU_CFG
);
/* 4KB LV1 */
}
else
{
__raw_writel
(
0x0
,
sysmmusfrs
[
ips
]
+
S5P_MMU_CFG
);
/* 16KB LV1 */
}
__raw_writel
(
pgd
,
sysmmusfrs
[
ips
]
+
S5P_PT_BASE_ADDR
);
dev_dbg
(
dev
,
"Page table base of %s is initialized with 0x%08lX.
\n
"
,
sysmmu_ips_name
[
ips
],
pgd
);
__sysmmu_tlb_invalidate
(
ips
);
}
void
sysmmu_set_fault_handler
(
sysmmu_ips
ips
,
int
(
*
handler
)(
enum
S5P_SYSMMU_INTERRUPT_TYPE
itype
,
unsigned
long
pgtable_base
,
unsigned
long
fault_addr
))
{
BUG_ON
(
!
((
ips
>=
SYSMMU_MDMA
)
&&
(
ips
<
S5P_SYSMMU_TOTAL_IPNUM
)));
fault_handlers
[
ips
]
=
handler
;
}
static
irqreturn_t
s5p_sysmmu_irq
(
int
irq
,
void
*
dev_id
)
{
/* SYSMMU is in blocked when interrupt occurred. */
unsigned
long
base
=
0
;
sysmmu_ips
ips
=
(
sysmmu_ips
)
dev_id
;
enum
S5P_SYSMMU_INTERRUPT_TYPE
itype
;
itype
=
(
enum
S5P_SYSMMU_INTERRUPT_TYPE
)
__ffs
(
__raw_readl
(
sysmmusfrs
[
ips
]
+
S5P_INT_STATUS
));
BUG_ON
(
!
((
itype
>=
0
)
&&
(
itype
<
8
)));
dev_alert
(
dev
,
"%s occurred by %s.
\n
"
,
sysmmu_fault_name
[
itype
],
sysmmu_ips_name
[
ips
]);
if
(
fault_handlers
[
ips
])
{
unsigned
long
addr
;
base
=
__raw_readl
(
sysmmusfrs
[
ips
]
+
S5P_PT_BASE_ADDR
);
addr
=
__raw_readl
(
sysmmusfrs
[
ips
]
+
fault_reg_offset
[
itype
]);
if
(
fault_handlers
[
ips
](
itype
,
base
,
addr
))
{
__raw_writel
(
1
<<
itype
,
sysmmusfrs
[
ips
]
+
S5P_INT_CLEAR
);
dev_notice
(
dev
,
"%s from %s is resolved."
" Retrying translation.
\n
"
,
sysmmu_fault_name
[
itype
],
sysmmu_ips_name
[
ips
]);
}
else
{
base
=
0
;
}
}
sysmmu_unblock
(
ips
);
if
(
!
base
)
dev_notice
(
dev
,
"%s from %s is not handled.
\n
"
,
sysmmu_fault_name
[
itype
],
sysmmu_ips_name
[
ips
]);
return
IRQ_HANDLED
;
}
void
s5p_sysmmu_set_tablebase_pgd
(
sysmmu_ips
ips
,
unsigned
long
pgd
)
{
if
(
is_sysmmu_active
(
ips
))
{
sysmmu_block
(
ips
);
__sysmmu_set_ptbase
(
ips
,
pgd
);
sysmmu_unblock
(
ips
);
}
else
{
dev_dbg
(
dev
,
"%s is disabled. "
"Skipping initializing page table base.
\n
"
,
sysmmu_ips_name
[
ips
]);
}
}
void
s5p_sysmmu_enable
(
sysmmu_ips
ips
,
unsigned
long
pgd
)
{
if
(
!
is_sysmmu_active
(
ips
))
{
sysmmu_clk_enable
(
ips
);
__sysmmu_set_ptbase
(
ips
,
pgd
);
__raw_writel
(
CTRL_ENABLE
,
sysmmusfrs
[
ips
]
+
S5P_MMU_CTRL
);
set_sysmmu_active
(
ips
);
dev_dbg
(
dev
,
"%s is enabled.
\n
"
,
sysmmu_ips_name
[
ips
]);
}
else
{
dev_dbg
(
dev
,
"%s is already enabled.
\n
"
,
sysmmu_ips_name
[
ips
]);
}
}
void
s5p_sysmmu_disable
(
sysmmu_ips
ips
)
{
if
(
is_sysmmu_active
(
ips
))
{
__raw_writel
(
CTRL_DISABLE
,
sysmmusfrs
[
ips
]
+
S5P_MMU_CTRL
);
set_sysmmu_inactive
(
ips
);
sysmmu_clk_disable
(
ips
);
dev_dbg
(
dev
,
"%s is disabled.
\n
"
,
sysmmu_ips_name
[
ips
]);
}
else
{
dev_dbg
(
dev
,
"%s is already disabled.
\n
"
,
sysmmu_ips_name
[
ips
]);
}
}
void
s5p_sysmmu_tlb_invalidate
(
sysmmu_ips
ips
)
{
if
(
is_sysmmu_active
(
ips
))
{
sysmmu_block
(
ips
);
__sysmmu_tlb_invalidate
(
ips
);
sysmmu_unblock
(
ips
);
}
else
{
dev_dbg
(
dev
,
"%s is disabled. "
"Skipping invalidating TLB.
\n
"
,
sysmmu_ips_name
[
ips
]);
}
}
static
int
s5p_sysmmu_probe
(
struct
platform_device
*
pdev
)
{
int
i
,
ret
;
struct
resource
*
res
,
*
mem
;
dev
=
&
pdev
->
dev
;
for
(
i
=
0
;
i
<
S5P_SYSMMU_TOTAL_IPNUM
;
i
++
)
{
int
irq
;
sysmmu_clk_init
(
dev
,
i
);
sysmmu_clk_disable
(
i
);
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
i
);
if
(
!
res
)
{
dev_err
(
dev
,
"Failed to get the resource of %s.
\n
"
,
sysmmu_ips_name
[
i
]);
ret
=
-
ENODEV
;
goto
err_res
;
}
mem
=
request_mem_region
(
res
->
start
,
resource_size
(
res
),
pdev
->
name
);
if
(
!
mem
)
{
dev_err
(
dev
,
"Failed to request the memory region of %s.
\n
"
,
sysmmu_ips_name
[
i
]);
ret
=
-
EBUSY
;
goto
err_res
;
}
sysmmusfrs
[
i
]
=
ioremap
(
res
->
start
,
resource_size
(
res
));
if
(
!
sysmmusfrs
[
i
])
{
dev_err
(
dev
,
"Failed to ioremap() for %s.
\n
"
,
sysmmu_ips_name
[
i
]);
ret
=
-
ENXIO
;
goto
err_reg
;
}
irq
=
platform_get_irq
(
pdev
,
i
);
if
(
irq
<=
0
)
{
dev_err
(
dev
,
"Failed to get the IRQ resource of %s.
\n
"
,
sysmmu_ips_name
[
i
]);
ret
=
-
ENOENT
;
goto
err_map
;
}
if
(
request_irq
(
irq
,
s5p_sysmmu_irq
,
IRQF_DISABLED
,
pdev
->
name
,
(
void
*
)
i
))
{
dev_err
(
dev
,
"Failed to request IRQ for %s.
\n
"
,
sysmmu_ips_name
[
i
]);
ret
=
-
ENOENT
;
goto
err_map
;
}
}
return
0
;
err_map:
iounmap
(
sysmmusfrs
[
i
]);
err_reg:
release_mem_region
(
mem
->
start
,
resource_size
(
mem
));
err_res:
return
ret
;
}
static
int
s5p_sysmmu_remove
(
struct
platform_device
*
pdev
)
{
return
0
;
}
int
s5p_sysmmu_runtime_suspend
(
struct
device
*
dev
)
{
return
0
;
}
int
s5p_sysmmu_runtime_resume
(
struct
device
*
dev
)
{
return
0
;
}
const
struct
dev_pm_ops
s5p_sysmmu_pm_ops
=
{
.
runtime_suspend
=
s5p_sysmmu_runtime_suspend
,
.
runtime_resume
=
s5p_sysmmu_runtime_resume
,
};
static
struct
platform_driver
s5p_sysmmu_driver
=
{
.
probe
=
s5p_sysmmu_probe
,
.
remove
=
s5p_sysmmu_remove
,
.
driver
=
{
.
owner
=
THIS_MODULE
,
.
name
=
"s5p-sysmmu"
,
.
pm
=
&
s5p_sysmmu_pm_ops
,
}
};
static
int
__init
s5p_sysmmu_init
(
void
)
{
return
platform_driver_register
(
&
s5p_sysmmu_driver
);
}
arch_initcall
(
s5p_sysmmu_init
);
arch/arm/plat-samsung/Kconfig
View file @
0f58487b
...
@@ -13,6 +13,24 @@ config PLAT_SAMSUNG
...
@@ -13,6 +13,24 @@ config PLAT_SAMSUNG
help
help
Base platform code for all Samsung SoC based systems
Base platform code for all Samsung SoC based systems
config PLAT_S5P
bool
depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS)
default y
select ARM_VIC if !ARCH_EXYNOS
select ARM_GIC if ARCH_EXYNOS
select GIC_NON_BANKED if ARCH_EXYNOS4
select NO_IOPORT
select ARCH_REQUIRE_GPIOLIB
select S3C_GPIO_TRACK
select S5P_GPIO_DRVSTR
select SAMSUNG_GPIOLIB_4BIT
select PLAT_SAMSUNG
select SAMSUNG_CLKSRC
select SAMSUNG_IRQ_VIC_TIMER
help
Base platform code for Samsung's S5P series SoC.
if PLAT_SAMSUNG
if PLAT_SAMSUNG
# boot configurations
# boot configurations
...
@@ -50,6 +68,14 @@ config S3C_LOWLEVEL_UART_PORT
...
@@ -50,6 +68,14 @@ config S3C_LOWLEVEL_UART_PORT
this configuration should be between zero and two. The port
this configuration should be between zero and two. The port
must have been initialised by the boot-loader before use.
must have been initialised by the boot-loader before use.
# timer options
config S5P_HRT
bool
select SAMSUNG_DEV_PWM
help
Use the High Resolution timer support
# clock options
# clock options
config SAMSUNG_CLKSRC
config SAMSUNG_CLKSRC
...
@@ -58,6 +84,11 @@ config SAMSUNG_CLKSRC
...
@@ -58,6 +84,11 @@ config SAMSUNG_CLKSRC
Select the clock code for the clksrc implementation
Select the clock code for the clksrc implementation
used by newer systems such as the S3C64XX.
used by newer systems such as the S3C64XX.
config S5P_CLOCK
def_bool (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS)
help
Support common clock part for ARCH_S5P and ARCH_EXYNOS SoCs
# options for IRQ support
# options for IRQ support
config SAMSUNG_IRQ_VIC_TIMER
config SAMSUNG_IRQ_VIC_TIMER
...
@@ -65,6 +96,22 @@ config SAMSUNG_IRQ_VIC_TIMER
...
@@ -65,6 +96,22 @@ config SAMSUNG_IRQ_VIC_TIMER
help
help
Internal configuration to build the VIC timer interrupt code.
Internal configuration to build the VIC timer interrupt code.
config S5P_IRQ
def_bool (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS)
help
Support common interrup part for ARCH_S5P and ARCH_EXYNOS SoCs
config S5P_EXT_INT
bool
help
Use the external interrupts (other than GPIO interrupts.)
Note: Do not choose this for S5P6440 and S5P6450.
config S5P_GPIO_INT
bool
help
Common code for the GPIO interrupts (other than external interrupts.)
# options for gpio configuration support
# options for gpio configuration support
config SAMSUNG_GPIOLIB_4BIT
config SAMSUNG_GPIOLIB_4BIT
...
@@ -117,6 +164,12 @@ config S3C_GPIO_TRACK
...
@@ -117,6 +164,12 @@ config S3C_GPIO_TRACK
Internal configuration option to enable the s3c specific gpio
Internal configuration option to enable the s3c specific gpio
chip tracking if the platform requires it.
chip tracking if the platform requires it.
# uart options
config S5P_DEV_UART
def_bool y
depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210)
# ADC driver
# ADC driver
config S3C_ADC
config S3C_ADC
...
@@ -274,6 +327,76 @@ config SAMSUNG_DEV_BACKLIGHT
...
@@ -274,6 +327,76 @@ config SAMSUNG_DEV_BACKLIGHT
help
help
Compile in platform device definition LCD backlight with PWM Timer
Compile in platform device definition LCD backlight with PWM Timer
config S5P_DEV_CSIS0
bool
help
Compile in platform device definitions for MIPI-CSIS channel 0
config S5P_DEV_CSIS1
bool
help
Compile in platform device definitions for MIPI-CSIS channel 1
config S5P_DEV_FIMC0
bool
help
Compile in platform device definitions for FIMC controller 0
config S5P_DEV_FIMC1
bool
help
Compile in platform device definitions for FIMC controller 1
config S5P_DEV_FIMC2
bool
help
Compile in platform device definitions for FIMC controller 2
config S5P_DEV_FIMC3
bool
help
Compile in platform device definitions for FIMC controller 3
config S5P_DEV_FIMD0
bool
help
Compile in platform device definitions for FIMD controller 0
config S5P_DEV_G2D
bool
help
Compile in platform device definitions for G2D device
config S5P_DEV_I2C_HDMIPHY
bool
help
Compile in platform device definitions for I2C HDMIPHY controller
config S5P_DEV_JPEG
bool
help
Compile in platform device definitions for JPEG codec
config S5P_DEV_MFC
bool
help
Compile in setup memory (init) code for MFC
config S5P_DEV_ONENAND
bool
help
Compile in platform device definition for OneNAND controller
config S5P_DEV_TV
bool
help
Compile in platform device definition for TV interface
config S5P_DEV_USB_EHCI
bool
help
Compile in platform device definition for USB EHCI
config S3C24XX_PWM
config S3C24XX_PWM
bool "PWM device support"
bool "PWM device support"
select HAVE_PWM
select HAVE_PWM
...
@@ -281,6 +404,11 @@ config S3C24XX_PWM
...
@@ -281,6 +404,11 @@ config S3C24XX_PWM
Support for exporting the PWM timer blocks via the pwm device
Support for exporting the PWM timer blocks via the pwm device
system
system
config S5P_SETUP_MIPIPHY
bool
help
Compile in common setup code for MIPI-CSIS and MIPI-DSIM devices
# DMA
# DMA
config S3C_DMA
config S3C_DMA
...
@@ -351,6 +479,18 @@ config SAMSUNG_WAKEMASK
...
@@ -351,6 +479,18 @@ config SAMSUNG_WAKEMASK
and above. This code allows a set of interrupt to wakeup-mask
and above. This code allows a set of interrupt to wakeup-mask
mappings. See <plat/wakeup-mask.h>
mappings. See <plat/wakeup-mask.h>
config S5P_PM
bool
help
Common code for power management support on S5P and newer SoCs
Note: Do not select this for S5P6440 and S5P6450.
config S5P_SLEEP
bool
help
Internal config node to apply common S5P sleep management code.
Can be selected by S5P and newer SoCs with similar sleep procedure.
comment "Power Domain"
comment "Power Domain"
config SAMSUNG_PD
config SAMSUNG_PD
...
...
arch/arm/plat-samsung/Makefile
View file @
0f58487b
...
@@ -13,12 +13,18 @@ obj- :=
...
@@ -13,12 +13,18 @@ obj- :=
obj-y
+=
init.o cpu.o
obj-y
+=
init.o cpu.o
obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET)
+=
time.o
obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET)
+=
time.o
obj-$(CONFIG_S5P_HRT)
+=
s5p-time.o
obj-y
+=
clock.o
obj-y
+=
clock.o
obj-y
+=
pwm-clock.o
obj-y
+=
pwm-clock.o
obj-$(CONFIG_SAMSUNG_CLKSRC)
+=
clock-clksrc.o
obj-$(CONFIG_SAMSUNG_CLKSRC)
+=
clock-clksrc.o
obj-$(CONFIG_S5P_CLOCK)
+=
s5p-clock.o
obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER)
+=
irq-vic-timer.o
obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER)
+=
irq-vic-timer.o
obj-$(CONFIG_S5P_IRQ)
+=
s5p-irq.o
obj-$(CONFIG_S5P_EXT_INT)
+=
s5p-irq-eint.o
obj-$(CONFIG_S5P_GPIO_INT)
+=
s5p-irq-gpioint.o
# ADC
# ADC
...
@@ -30,9 +36,13 @@ obj-y += platformdata.o
...
@@ -30,9 +36,13 @@ obj-y += platformdata.o
obj-y
+=
devs.o
obj-y
+=
devs.o
obj-y
+=
dev-uart.o
obj-y
+=
dev-uart.o
obj-$(CONFIG_S5P_DEV_MFC)
+=
s5p-dev-mfc.o
obj-$(CONFIG_S5P_DEV_UART)
+=
s5p-dev-uart.o
obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT)
+=
dev-backlight.o
obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT)
+=
dev-backlight.o
obj-$(CONFIG_S5P_SETUP_MIPIPHY)
+=
setup-mipiphy.o
# DMA support
# DMA support
obj-$(CONFIG_S3C_DMA)
+=
dma.o s3c-dma-ops.o
obj-$(CONFIG_S3C_DMA)
+=
dma.o s3c-dma-ops.o
...
@@ -47,6 +57,9 @@ obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
...
@@ -47,6 +57,9 @@ obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
obj-$(CONFIG_SAMSUNG_WAKEMASK)
+=
wakeup-mask.o
obj-$(CONFIG_SAMSUNG_WAKEMASK)
+=
wakeup-mask.o
obj-$(CONFIG_S5P_PM)
+=
s5p-pm.o s5p-irq-pm.o
obj-$(CONFIG_S5P_SLEEP)
+=
s5p-sleep.o
# PD support
# PD support
obj-$(CONFIG_SAMSUNG_PD)
+=
pd.o
obj-$(CONFIG_SAMSUNG_PD)
+=
pd.o
...
...
arch/arm/plat-samsung/include/plat/devs.h
View file @
0f58487b
...
@@ -133,7 +133,6 @@ extern struct platform_device exynos4_device_pcm1;
...
@@ -133,7 +133,6 @@ extern struct platform_device exynos4_device_pcm1;
extern
struct
platform_device
exynos4_device_pcm2
;
extern
struct
platform_device
exynos4_device_pcm2
;
extern
struct
platform_device
exynos4_device_pd
[];
extern
struct
platform_device
exynos4_device_pd
[];
extern
struct
platform_device
exynos4_device_spdif
;
extern
struct
platform_device
exynos4_device_spdif
;
extern
struct
platform_device
exynos4_device_sysmmu
;
extern
struct
platform_device
samsung_asoc_dma
;
extern
struct
platform_device
samsung_asoc_dma
;
extern
struct
platform_device
samsung_asoc_idma
;
extern
struct
platform_device
samsung_asoc_idma
;
...
...
arch/arm/plat-samsung/include/plat/sysmmu.h
deleted
100644 → 0
View file @
36be5051
/* linux/arch/arm/plat-samsung/include/plat/sysmmu.h
*
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Samsung System MMU driver for S5P platform
*
* 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.
*/
#ifndef __PLAT_SAMSUNG_SYSMMU_H
#define __PLAT_SAMSUNG_SYSMMU_H __FILE__
enum
S5P_SYSMMU_INTERRUPT_TYPE
{
SYSMMU_PAGEFAULT
,
SYSMMU_AR_MULTIHIT
,
SYSMMU_AW_MULTIHIT
,
SYSMMU_BUSERROR
,
SYSMMU_AR_SECURITY
,
SYSMMU_AR_ACCESS
,
SYSMMU_AW_SECURITY
,
SYSMMU_AW_PROTECTION
,
/* 7 */
SYSMMU_FAULTS_NUM
};
#ifdef CONFIG_S5P_SYSTEM_MMU
#include <mach/sysmmu.h>
/**
* s5p_sysmmu_enable() - enable system mmu of ip
* @ips: The ip connected system mmu.
* #pgd: Base physical address of the 1st level page table
*
* This function enable system mmu to transfer address
* from virtual address to physical address
*/
void
s5p_sysmmu_enable
(
sysmmu_ips
ips
,
unsigned
long
pgd
);
/**
* s5p_sysmmu_disable() - disable sysmmu mmu of ip
* @ips: The ip connected system mmu.
*
* This function disable system mmu to transfer address
* from virtual address to physical address
*/
void
s5p_sysmmu_disable
(
sysmmu_ips
ips
);
/**
* s5p_sysmmu_set_tablebase_pgd() - set page table base address to refer page table
* @ips: The ip connected system mmu.
* @pgd: The page table base address.
*
* This function set page table base address
* When system mmu transfer address from virtaul address to physical address,
* system mmu refer address information from page table
*/
void
s5p_sysmmu_set_tablebase_pgd
(
sysmmu_ips
ips
,
unsigned
long
pgd
);
/**
* s5p_sysmmu_tlb_invalidate() - flush all TLB entry in system mmu
* @ips: The ip connected system mmu.
*
* This function flush all TLB entry in system mmu
*/
void
s5p_sysmmu_tlb_invalidate
(
sysmmu_ips
ips
);
/** s5p_sysmmu_set_fault_handler() - Fault handler for System MMUs
* @itype: type of fault.
* @pgtable_base: the physical address of page table base. This is 0 if @ips is
* SYSMMU_BUSERROR.
* @fault_addr: the device (virtual) address that the System MMU tried to
* translated. This is 0 if @ips is SYSMMU_BUSERROR.
* Called when interrupt occurred by the System MMUs
* The device drivers of peripheral devices that has a System MMU can implement
* a fault handler to resolve address translation fault by System MMU.
* The meanings of return value and parameters are described below.
* return value: non-zero if the fault is correctly resolved.
* zero if the fault is not handled.
*/
void
s5p_sysmmu_set_fault_handler
(
sysmmu_ips
ips
,
int
(
*
handler
)(
enum
S5P_SYSMMU_INTERRUPT_TYPE
itype
,
unsigned
long
pgtable_base
,
unsigned
long
fault_addr
));
#else
#define s5p_sysmmu_enable(ips, pgd) do { } while (0)
#define s5p_sysmmu_disable(ips) do { } while (0)
#define s5p_sysmmu_set_tablebase_pgd(ips, pgd) do { } while (0)
#define s5p_sysmmu_tlb_invalidate(ips) do { } while (0)
#define s5p_sysmmu_set_fault_handler(ips, handler) do { } while (0)
#endif
#endif
/* __ASM_PLAT_SYSMMU_H */
arch/arm/plat-s
5p/
clock.c
→
arch/arm/plat-s
amsung/s5p-
clock.c
View file @
0f58487b
/* linux/arch/arm/plat-s5p/clock.c
/*
*
* Copyright 2009 Samsung Electronics Co., Ltd.
* Copyright 2009 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
* http://www.samsung.com/
*
*
...
...
arch/arm/plat-s
5p/
dev-mfc.c
→
arch/arm/plat-s
amsung/s5p-
dev-mfc.c
View file @
0f58487b
/* linux/arch/arm/plat-s5p/dev-mfc.c
/*
*
* Copyright (C) 2010-2011 Samsung Electronics Co.Ltd
* Copyright (C) 2010-2011 Samsung Electronics Co.Ltd
*
*
* Base S5P MFC resource and device definitions
* Base S5P MFC resource and device definitions
...
@@ -9,7 +8,6 @@
...
@@ -9,7 +8,6 @@
* published by the Free Software Foundation.
* published by the Free Software Foundation.
*/
*/
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/platform_device.h>
...
...
arch/arm/plat-s
5p/
dev-uart.c
→
arch/arm/plat-s
amsung/s5p-
dev-uart.c
View file @
0f58487b
/* linux/arch/arm/plat-s5p/dev-uart.c
/*
*
* Copyright (c) 2009,2012 Samsung Electronics Co., Ltd.
* Copyright (c) 2009 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
* http://www.samsung.com/
*
*
* Base S5P UART resource and device definitions
* Base S5P UART resource and device definitions
...
@@ -14,6 +13,7 @@
...
@@ -14,6 +13,7 @@
#include <linux/types.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/list.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/platform_device.h>
#include <asm/mach/arch.h>
#include <asm/mach/arch.h>
...
@@ -26,86 +26,38 @@
...
@@ -26,86 +26,38 @@
/* Serial port registrations */
/* Serial port registrations */
static
struct
resource
s5p_uart0_resource
[]
=
{
static
struct
resource
s5p_uart0_resource
[]
=
{
[
0
]
=
{
[
0
]
=
DEFINE_RES_MEM
(
S5P_PA_UART0
,
S5P_SZ_UART
),
.
start
=
S5P_PA_UART0
,
[
1
]
=
DEFINE_RES_IRQ
(
IRQ_UART0
),
.
end
=
S5P_PA_UART0
+
S5P_SZ_UART
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
.
start
=
IRQ_UART0
,
.
end
=
IRQ_UART0
,
.
flags
=
IORESOURCE_IRQ
,
},
};
};
static
struct
resource
s5p_uart1_resource
[]
=
{
static
struct
resource
s5p_uart1_resource
[]
=
{
[
0
]
=
{
[
0
]
=
DEFINE_RES_MEM
(
S5P_PA_UART1
,
S5P_SZ_UART
),
.
start
=
S5P_PA_UART1
,
[
1
]
=
DEFINE_RES_IRQ
(
IRQ_UART1
),
.
end
=
S5P_PA_UART1
+
S5P_SZ_UART
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
.
start
=
IRQ_UART1
,
.
end
=
IRQ_UART1
,
.
flags
=
IORESOURCE_IRQ
,
},
};
};
static
struct
resource
s5p_uart2_resource
[]
=
{
static
struct
resource
s5p_uart2_resource
[]
=
{
[
0
]
=
{
[
0
]
=
DEFINE_RES_MEM
(
S5P_PA_UART2
,
S5P_SZ_UART
),
.
start
=
S5P_PA_UART2
,
[
1
]
=
DEFINE_RES_IRQ
(
IRQ_UART2
),
.
end
=
S5P_PA_UART2
+
S5P_SZ_UART
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
.
start
=
IRQ_UART2
,
.
end
=
IRQ_UART2
,
.
flags
=
IORESOURCE_IRQ
,
},
};
};
static
struct
resource
s5p_uart3_resource
[]
=
{
static
struct
resource
s5p_uart3_resource
[]
=
{
#if CONFIG_SERIAL_SAMSUNG_UARTS > 3
#if CONFIG_SERIAL_SAMSUNG_UARTS > 3
[
0
]
=
{
[
0
]
=
DEFINE_RES_MEM
(
S5P_PA_UART3
,
S5P_SZ_UART
),
.
start
=
S5P_PA_UART3
,
[
1
]
=
DEFINE_RES_IRQ
(
IRQ_UART3
),
.
end
=
S5P_PA_UART3
+
S5P_SZ_UART
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
.
start
=
IRQ_UART3
,
.
end
=
IRQ_UART3
,
.
flags
=
IORESOURCE_IRQ
,
},
#endif
#endif
};
};
static
struct
resource
s5p_uart4_resource
[]
=
{
static
struct
resource
s5p_uart4_resource
[]
=
{
#if CONFIG_SERIAL_SAMSUNG_UARTS > 4
#if CONFIG_SERIAL_SAMSUNG_UARTS > 4
[
0
]
=
{
[
0
]
=
DEFINE_RES_MEM
(
S5P_PA_UART4
,
S5P_SZ_UART
),
.
start
=
S5P_PA_UART4
,
[
1
]
=
DEFINE_RES_IRQ
(
IRQ_UART4
),
.
end
=
S5P_PA_UART4
+
S5P_SZ_UART
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
.
start
=
IRQ_UART4
,
.
end
=
IRQ_UART4
,
.
flags
=
IORESOURCE_IRQ
,
},
#endif
#endif
};
};
static
struct
resource
s5p_uart5_resource
[]
=
{
static
struct
resource
s5p_uart5_resource
[]
=
{
#if CONFIG_SERIAL_SAMSUNG_UARTS > 5
#if CONFIG_SERIAL_SAMSUNG_UARTS > 5
[
0
]
=
{
[
0
]
=
DEFINE_RES_MEM
(
S5P_PA_UART5
,
S5P_SZ_UART
),
.
start
=
S5P_PA_UART5
,
[
1
]
=
DEFINE_RES_IRQ
(
IRQ_UART5
),
.
end
=
S5P_PA_UART5
+
S5P_SZ_UART
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
.
start
=
IRQ_UART5
,
.
end
=
IRQ_UART5
,
.
flags
=
IORESOURCE_IRQ
,
},
#endif
#endif
};
};
...
...
arch/arm/plat-s
5p/
irq-eint.c
→
arch/arm/plat-s
amsung/s5p-
irq-eint.c
View file @
0f58487b
/* linux/arch/arm/plat-s5p/irq-eint.c
/*
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com
* http://www.samsung.com
*
*
...
...
arch/arm/plat-s
5p/
irq-gpioint.c
→
arch/arm/plat-s
amsung/s5p-
irq-gpioint.c
View file @
0f58487b
/* linux/arch/arm/plat-s5p/irq-gpioint.c
/*
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* Author: Kyungmin Park <kyungmin.park@samsung.com>
* Author: Kyungmin Park <kyungmin.park@samsung.com>
* Author: Joonyoung Shim <jy0922.shim@samsung.com>
* Author: Joonyoung Shim <jy0922.shim@samsung.com>
...
...
arch/arm/plat-s
5p/
irq-pm.c
→
arch/arm/plat-s
amsung/s5p-
irq-pm.c
View file @
0f58487b
/* linux/arch/arm/plat-s5p/irq-pm.c
/*
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com
* http://www.samsung.com
*
*
...
...
arch/arm/plat-s
5p/
irq.c
→
arch/arm/plat-s
amsung/s5p-
irq.c
View file @
0f58487b
/* arch/arm/plat-s5p/irq.c
/*
*
* Copyright (c) 2009 Samsung Electronics Co., Ltd.
* Copyright (c) 2009 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
* http://www.samsung.com/
*
*
...
...
arch/arm/plat-s
5p/
pm.c
→
arch/arm/plat-s
amsung/s5p-
pm.c
View file @
0f58487b
/* linux/arch/arm/plat-s5p/pm.c
/*
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com
* http://www.samsung.com
*
*
...
...
arch/arm/plat-s
5p/
sleep.S
→
arch/arm/plat-s
amsung/s5p-
sleep.S
View file @
0f58487b
/*
linux
/
arch
/
arm
/
plat
-
s5p
/
sleep.S
/*
*
*
Copyright
(
c
)
2011
Samsung
Electronics
Co
.
,
Ltd
.
*
Copyright
(
c
)
2011
Samsung
Electronics
Co
.
,
Ltd
.
*
http
:
//
www
.
samsung
.
com
*
http
:
//
www
.
samsung
.
com
*
*
...
...
arch/arm/plat-s
5p
/s5p-time.c
→
arch/arm/plat-s
amsung
/s5p-time.c
View file @
0f58487b
/* linux/arch/arm/plat-s5p/s5p-time.c
/*
*
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
* http://www.samsung.com/
*
*
...
...
arch/arm/plat-s
5p
/setup-mipiphy.c
→
arch/arm/plat-s
amsung
/setup-mipiphy.c
View file @
0f58487b
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment