aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorhuisung.kang <hs1218.kang@samsung.com>2010-09-10 00:19:34 -0700
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:45:29 -0800
commit9005ede2e7a52e0a819834b24ce65af7f0d5bd0b (patch)
tree2778593fcb45c01b007c8349c2968c4a88a35038 /arch/arm
parent499c00c2ca9592b50eba1ce59b31aed199573236 (diff)
downloadkernel_samsung_crespo-9005ede2e7a52e0a819834b24ce65af7f0d5bd0b.zip
kernel_samsung_crespo-9005ede2e7a52e0a819834b24ce65af7f0d5bd0b.tar.gz
kernel_samsung_crespo-9005ede2e7a52e0a819834b24ce65af7f0d5bd0b.tar.bz2
S5PC11X: PD: Add platform_device for power domain control
This patch add platform devices define for power domain control Change-Id: I0e14d90f3e7972cdcdc94bcb2cc2644e0f272f9b Signed-off-by: huisung.kang <hs1218.kang@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-s5pv210/include/mach/map.h48
-rw-r--r--arch/arm/plat-s5p/devs.c6
-rw-r--r--arch/arm/plat-samsung/include/plat/devs.h4
3 files changed, 52 insertions, 6 deletions
diff --git a/arch/arm/mach-s5pv210/include/mach/map.h b/arch/arm/mach-s5pv210/include/mach/map.h
index 087ef52..2cb65c2 100644
--- a/arch/arm/mach-s5pv210/include/mach/map.h
+++ b/arch/arm/mach-s5pv210/include/mach/map.h
@@ -145,6 +145,28 @@
#define S5PV210_PA_FIMC1 0xFB300000
#define S5PV210_PA_FIMC2 0xFB400000
+/* mfc */
+#define S5PV210_PA_MFC (0xF1700000)
+#define S5PV210_SZ_MFC SZ_1M
+#define S5P_PA_MFC S5PV210_PA_MFC
+#define S5P_SZ_MFC S5PV210_SZ_MFC
+
+
+/* jpeg */
+#define S5PV210_PA_JPEG (0xFB600000)
+#define S5P_PA_JPEG S5PV210_PA_JPEG
+#define S5P_SZ_JPEG SZ_1M
+
+/* rotator */
+#define S5PV210_PA_ROTATOR (0xFA300000)
+#define S5P_PA_ROTATOR S5PV210_PA_ROTATOR
+#define S5P_SZ_ROTATOR SZ_1M
+
+/* fimg2d */
+#define S5PV210_PA_FIMG2D (0xFA000000)
+#define S5P_PA_FIMG2D S5PV210_PA_FIMG2D
+#define S5P_SZ_FIMG2D SZ_1M
+
/* Compatibiltiy Defines */
#define S3C_PA_FB S5PV210_PA_FB
@@ -189,6 +211,32 @@
#define S5P_SZ_UART SZ_256
+/* CEC */
+#define S5PV210_PA_CEC (0xE1B00000)
+#define S5P_PA_CEC S5PV210_PA_CEC
+#define S5P_SZ_CEC SZ_4K
+
+/* TVOUT */
+#define S5PV210_PA_TVENC (0xF9000000)
+#define S5P_PA_TVENC S5PV210_PA_TVENC
+#define S5P_SZ_TVENC SZ_1M
+
+#define S5PV210_PA_VP (0xF9100000)
+#define S5P_PA_VP S5PV210_PA_VP
+#define S5P_SZ_VP SZ_1M
+
+#define S5PV210_PA_MIXER (0xF9200000)
+#define S5P_PA_MIXER S5PV210_PA_MIXER
+#define S5P_SZ_MIXER SZ_1M
+
+#define S5PV210_PA_HDMI (0xFA100000)
+#define S5P_PA_HDMI S5PV210_PA_HDMI
+#define S5P_SZ_HDMI SZ_1M
+
+#define S5PV210_I2C_HDMI_PHY (0xFA900000)
+#define S5P_I2C_HDMI_PHY S5PV210_I2C_HDMI_PHY
+#define S5P_I2C_HDMI_SZ_PHY SZ_1K
+
/* usb */
#define S3C_PA_OTG S5PV210_PA_OTG
#define S3C_SZ_OTG S5PV210_SZ_OTG
diff --git a/arch/arm/plat-s5p/devs.c b/arch/arm/plat-s5p/devs.c
index 9a242ef..5e1edbd 100644
--- a/arch/arm/plat-s5p/devs.c
+++ b/arch/arm/plat-s5p/devs.c
@@ -472,7 +472,6 @@ struct platform_device s3c_device_ipc = {
};
#endif
-#ifdef CONFIG_VIDEO_JPEG_V2
/* JPEG controller */
static struct resource s3c_jpeg_resource[] = {
[0] = {
@@ -493,9 +492,7 @@ struct platform_device s3c_device_jpeg = {
.num_resources = ARRAY_SIZE(s3c_jpeg_resource),
.resource = s3c_jpeg_resource,
};
-#endif /* CONFIG_VIDEO_JPEG_V2 */
-#ifdef CONFIG_VIDEO_ROTATOR
/* rotator interface */
static struct resource s5p_rotator_resource[] = {
[0] = {
@@ -516,9 +513,7 @@ struct platform_device s5p_device_rotator = {
.num_resources = ARRAY_SIZE(s5p_rotator_resource),
.resource = s5p_rotator_resource
};
-#endif
-#ifdef CONFIG_VIDEO_TV20
/* TVOUT interface */
static struct resource s5p_tvout_resources[] = {
[0] = {
@@ -596,7 +591,6 @@ struct platform_device s5p_device_hpd = {
.name = "s5p-hpd",
.id = -1,
};
-#endif
#ifdef CONFIG_USB_SUPPORT
#ifdef CONFIG_USB_ARCH_HAS_EHCI
diff --git a/arch/arm/plat-samsung/include/plat/devs.h b/arch/arm/plat-samsung/include/plat/devs.h
index 9792624..bd5eee7 100644
--- a/arch/arm/plat-samsung/include/plat/devs.h
+++ b/arch/arm/plat-samsung/include/plat/devs.h
@@ -103,6 +103,10 @@ extern struct platform_device s3c_device_android_usb;
extern struct platform_device s3c_device_usb_mass_storage;
extern struct platform_device s3c_device_usb_hsotg;
+extern struct platform_device s5p_device_rotator;
+extern struct platform_device s5p_device_tvout;
+extern struct platform_device s5p_device_g3d;
+
extern struct platform_device s5pv210_device_ac97;
extern struct platform_device s5pv210_device_pcm0;
extern struct platform_device s5pv210_device_pcm1;