diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2010-12-29 20:44:13 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-12-29 20:44:13 -0500 |
commit | 724c35cf530651f68f5958dc02e0b49ac6661226 (patch) | |
tree | 7511b55f0efc07495a559f48b3071a34f0bfaff3 /arch/arm | |
parent | 57ca51514905b7aea532977e4e87e989d33bfcbb (diff) | |
parent | 3bbef1b912df64a86a86e402d7686a8ed38abaf4 (diff) |
Merge branch 'next-s5p' into for-next-new
Diffstat (limited to 'arch/arm')
22 files changed, 289 insertions, 92 deletions
diff --git a/arch/arm/mach-s5p6442/include/mach/map.h b/arch/arm/mach-s5p6442/include/mach/map.h index 31fb2e68d527..203dd5a18bd5 100644 --- a/arch/arm/mach-s5p6442/include/mach/map.h +++ b/arch/arm/mach-s5p6442/include/mach/map.h | |||
@@ -28,6 +28,9 @@ | |||
28 | #define S5P6442_PA_VIC1 (0xE4100000) | 28 | #define S5P6442_PA_VIC1 (0xE4100000) |
29 | #define S5P6442_PA_VIC2 (0xE4200000) | 29 | #define S5P6442_PA_VIC2 (0xE4200000) |
30 | 30 | ||
31 | #define S5P6442_PA_SROMC (0xE7000000) | ||
32 | #define S5P_PA_SROMC S5P6442_PA_SROMC | ||
33 | |||
31 | #define S5P6442_PA_MDMA 0xE8000000 | 34 | #define S5P6442_PA_MDMA 0xE8000000 |
32 | #define S5P6442_PA_PDMA 0xE9000000 | 35 | #define S5P6442_PA_PDMA 0xE9000000 |
33 | 36 | ||
diff --git a/arch/arm/mach-s5p64x0/include/mach/map.h b/arch/arm/mach-s5p64x0/include/mach/map.h index 4d3d332152d0..a9365e5ba614 100644 --- a/arch/arm/mach-s5p64x0/include/mach/map.h +++ b/arch/arm/mach-s5p64x0/include/mach/map.h | |||
@@ -29,6 +29,9 @@ | |||
29 | #define S5P64X0_PA_VIC0 (0xE4000000) | 29 | #define S5P64X0_PA_VIC0 (0xE4000000) |
30 | #define S5P64X0_PA_VIC1 (0xE4100000) | 30 | #define S5P64X0_PA_VIC1 (0xE4100000) |
31 | 31 | ||
32 | #define S5P64X0_PA_SROMC (0xE7000000) | ||
33 | #define S5P_PA_SROMC S5P64X0_PA_SROMC | ||
34 | |||
32 | #define S5P64X0_PA_PDMA (0xE9000000) | 35 | #define S5P64X0_PA_PDMA (0xE9000000) |
33 | 36 | ||
34 | #define S5P64X0_PA_TIMER (0xEA000000) | 37 | #define S5P64X0_PA_TIMER (0xEA000000) |
diff --git a/arch/arm/mach-s5pc100/include/mach/map.h b/arch/arm/mach-s5pc100/include/mach/map.h index 32e9cab5c864..328467b346aa 100644 --- a/arch/arm/mach-s5pc100/include/mach/map.h +++ b/arch/arm/mach-s5pc100/include/mach/map.h | |||
@@ -55,6 +55,8 @@ | |||
55 | #define S5PC100_VA_VIC_OFFSET 0x10000 | 55 | #define S5PC100_VA_VIC_OFFSET 0x10000 |
56 | #define S5PC1XX_VA_VIC(x) (S5PC100_VA_VIC + ((x) * S5PC100_VA_VIC_OFFSET)) | 56 | #define S5PC1XX_VA_VIC(x) (S5PC100_VA_VIC + ((x) * S5PC100_VA_VIC_OFFSET)) |
57 | 57 | ||
58 | #define S5PC100_PA_SROMC (0xE7000000) | ||
59 | #define S5P_PA_SROMC S5PC100_PA_SROMC | ||
58 | 60 | ||
59 | #define S5PC100_PA_ONENAND (0xE7100000) | 61 | #define S5PC100_PA_ONENAND (0xE7100000) |
60 | 62 | ||
diff --git a/arch/arm/mach-s5pv210/clock.c b/arch/arm/mach-s5pv210/clock.c index b774ff1805db..dab6ef3b6ca9 100644 --- a/arch/arm/mach-s5pv210/clock.c +++ b/arch/arm/mach-s5pv210/clock.c | |||
@@ -525,6 +525,12 @@ static struct clk init_clocks[] = { | |||
525 | .parent = &clk_pclk_psys.clk, | 525 | .parent = &clk_pclk_psys.clk, |
526 | .enable = s5pv210_clk_ip3_ctrl, | 526 | .enable = s5pv210_clk_ip3_ctrl, |
527 | .ctrlbit = (1 << 20), | 527 | .ctrlbit = (1 << 20), |
528 | }, { | ||
529 | .name = "sromc", | ||
530 | .id = -1, | ||
531 | .parent = &clk_hclk_psys.clk, | ||
532 | .enable = s5pv210_clk_ip1_ctrl, | ||
533 | .ctrlbit = (1 << 26), | ||
528 | }, | 534 | }, |
529 | }; | 535 | }; |
530 | 536 | ||
diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c index 8eb480e201b0..61e6c24b90ac 100644 --- a/arch/arm/mach-s5pv210/cpu.c +++ b/arch/arm/mach-s5pv210/cpu.c | |||
@@ -81,11 +81,6 @@ static struct map_desc s5pv210_iodesc[] __initdata = { | |||
81 | .length = SZ_512K, | 81 | .length = SZ_512K, |
82 | .type = MT_DEVICE, | 82 | .type = MT_DEVICE, |
83 | }, { | 83 | }, { |
84 | .virtual = (unsigned long)S5P_VA_SROMC, | ||
85 | .pfn = __phys_to_pfn(S5PV210_PA_SROMC), | ||
86 | .length = SZ_4K, | ||
87 | .type = MT_DEVICE, | ||
88 | }, { | ||
89 | .virtual = (unsigned long)S5P_VA_DMC0, | 84 | .virtual = (unsigned long)S5P_VA_DMC0, |
90 | .pfn = __phys_to_pfn(S5PV210_PA_DMC0), | 85 | .pfn = __phys_to_pfn(S5PV210_PA_DMC0), |
91 | .length = SZ_4K, | 86 | .length = SZ_4K, |
diff --git a/arch/arm/mach-s5pv210/include/mach/irqs.h b/arch/arm/mach-s5pv210/include/mach/irqs.h index 119b95fdc3ce..26710b35ef87 100644 --- a/arch/arm/mach-s5pv210/include/mach/irqs.h +++ b/arch/arm/mach-s5pv210/include/mach/irqs.h | |||
@@ -65,7 +65,7 @@ | |||
65 | #define IRQ_HSMMC0 S5P_IRQ_VIC1(26) | 65 | #define IRQ_HSMMC0 S5P_IRQ_VIC1(26) |
66 | #define IRQ_HSMMC1 S5P_IRQ_VIC1(27) | 66 | #define IRQ_HSMMC1 S5P_IRQ_VIC1(27) |
67 | #define IRQ_HSMMC2 S5P_IRQ_VIC1(28) | 67 | #define IRQ_HSMMC2 S5P_IRQ_VIC1(28) |
68 | #define IRQ_MIPICSI S5P_IRQ_VIC1(29) | 68 | #define IRQ_MIPI_CSIS S5P_IRQ_VIC1(29) |
69 | #define IRQ_MIPIDSI S5P_IRQ_VIC1(30) | 69 | #define IRQ_MIPIDSI S5P_IRQ_VIC1(30) |
70 | #define IRQ_ONENAND_AUDI S5P_IRQ_VIC1(31) | 70 | #define IRQ_ONENAND_AUDI S5P_IRQ_VIC1(31) |
71 | 71 | ||
@@ -132,5 +132,6 @@ | |||
132 | #define IRQ_LCD_FIFO IRQ_LCD0 | 132 | #define IRQ_LCD_FIFO IRQ_LCD0 |
133 | #define IRQ_LCD_VSYNC IRQ_LCD1 | 133 | #define IRQ_LCD_VSYNC IRQ_LCD1 |
134 | #define IRQ_LCD_SYSTEM IRQ_LCD2 | 134 | #define IRQ_LCD_SYSTEM IRQ_LCD2 |
135 | #define IRQ_MIPI_CSIS0 IRQ_MIPI_CSIS | ||
135 | 136 | ||
136 | #endif /* ASM_ARCH_IRQS_H */ | 137 | #endif /* ASM_ARCH_IRQS_H */ |
diff --git a/arch/arm/mach-s5pv210/include/mach/map.h b/arch/arm/mach-s5pv210/include/mach/map.h index 861d7fe11fc9..3611492ad681 100644 --- a/arch/arm/mach-s5pv210/include/mach/map.h +++ b/arch/arm/mach-s5pv210/include/mach/map.h | |||
@@ -16,6 +16,8 @@ | |||
16 | #include <plat/map-base.h> | 16 | #include <plat/map-base.h> |
17 | #include <plat/map-s5p.h> | 17 | #include <plat/map-s5p.h> |
18 | 18 | ||
19 | #define S5PV210_PA_SROM_BANK5 (0xA8000000) | ||
20 | |||
19 | #define S5PC110_PA_ONENAND (0xB0000000) | 21 | #define S5PC110_PA_ONENAND (0xB0000000) |
20 | #define S5P_PA_ONENAND S5PC110_PA_ONENAND | 22 | #define S5P_PA_ONENAND S5PC110_PA_ONENAND |
21 | 23 | ||
@@ -60,6 +62,7 @@ | |||
60 | #define S3C_VA_UARTx(x) (S3C_VA_UART + ((x) * S3C_UART_OFFSET)) | 62 | #define S3C_VA_UARTx(x) (S3C_VA_UART + ((x) * S3C_UART_OFFSET)) |
61 | 63 | ||
62 | #define S5PV210_PA_SROMC (0xE8000000) | 64 | #define S5PV210_PA_SROMC (0xE8000000) |
65 | #define S5P_PA_SROMC S5PV210_PA_SROMC | ||
63 | 66 | ||
64 | #define S5PV210_PA_CFCON (0xE8200000) | 67 | #define S5PV210_PA_CFCON (0xE8200000) |
65 | 68 | ||
@@ -107,6 +110,8 @@ | |||
107 | #define S5PV210_PA_DMC0 (0xF0000000) | 110 | #define S5PV210_PA_DMC0 (0xF0000000) |
108 | #define S5PV210_PA_DMC1 (0xF1400000) | 111 | #define S5PV210_PA_DMC1 (0xF1400000) |
109 | 112 | ||
113 | #define S5PV210_PA_MIPI_CSIS 0xFA600000 | ||
114 | |||
110 | /* compatibiltiy defines. */ | 115 | /* compatibiltiy defines. */ |
111 | #define S3C_PA_UART S5PV210_PA_UART | 116 | #define S3C_PA_UART S5PV210_PA_UART |
112 | #define S3C_PA_HSMMC0 S5PV210_PA_HSMMC(0) | 117 | #define S3C_PA_HSMMC0 S5PV210_PA_HSMMC(0) |
@@ -123,6 +128,7 @@ | |||
123 | #define S5P_PA_FIMC0 S5PV210_PA_FIMC0 | 128 | #define S5P_PA_FIMC0 S5PV210_PA_FIMC0 |
124 | #define S5P_PA_FIMC1 S5PV210_PA_FIMC1 | 129 | #define S5P_PA_FIMC1 S5PV210_PA_FIMC1 |
125 | #define S5P_PA_FIMC2 S5PV210_PA_FIMC2 | 130 | #define S5P_PA_FIMC2 S5PV210_PA_FIMC2 |
131 | #define S5P_PA_MIPI_CSIS0 S5PV210_PA_MIPI_CSIS | ||
126 | 132 | ||
127 | #define SAMSUNG_PA_ADC S5PV210_PA_ADC | 133 | #define SAMSUNG_PA_ADC S5PV210_PA_ADC |
128 | #define SAMSUNG_PA_CFCON S5PV210_PA_CFCON | 134 | #define SAMSUNG_PA_CFCON S5PV210_PA_CFCON |
diff --git a/arch/arm/mach-s5pv210/include/mach/regs-clock.h b/arch/arm/mach-s5pv210/include/mach/regs-clock.h index ebaabe021af9..4c45b74def5f 100644 --- a/arch/arm/mach-s5pv210/include/mach/regs-clock.h +++ b/arch/arm/mach-s5pv210/include/mach/regs-clock.h | |||
@@ -161,7 +161,7 @@ | |||
161 | #define S5P_MDNIE_SEL S5P_CLKREG(0x7008) | 161 | #define S5P_MDNIE_SEL S5P_CLKREG(0x7008) |
162 | #define S5P_MIPI_PHY_CON0 S5P_CLKREG(0x7200) | 162 | #define S5P_MIPI_PHY_CON0 S5P_CLKREG(0x7200) |
163 | #define S5P_MIPI_PHY_CON1 S5P_CLKREG(0x7204) | 163 | #define S5P_MIPI_PHY_CON1 S5P_CLKREG(0x7204) |
164 | #define S5P_MIPI_CONTROL S5P_CLKREG(0xE814) | 164 | #define S5P_MIPI_DPHY_CONTROL S5P_CLKREG(0xE814) |
165 | 165 | ||
166 | #define S5P_IDLE_CFG_TL_MASK (3 << 30) | 166 | #define S5P_IDLE_CFG_TL_MASK (3 << 30) |
167 | #define S5P_IDLE_CFG_TM_MASK (3 << 28) | 167 | #define S5P_IDLE_CFG_TM_MASK (3 << 28) |
@@ -195,9 +195,6 @@ | |||
195 | #define S5P_OTHERS_RET_UART (1 << 28) | 195 | #define S5P_OTHERS_RET_UART (1 << 28) |
196 | #define S5P_OTHERS_USB_SIG_MASK (1 << 16) | 196 | #define S5P_OTHERS_USB_SIG_MASK (1 << 16) |
197 | 197 | ||
198 | /* MIPI */ | ||
199 | #define S5P_MIPI_DPHY_EN (3) | ||
200 | |||
201 | /* S5P_DAC_CONTROL */ | 198 | /* S5P_DAC_CONTROL */ |
202 | #define S5P_DAC_ENABLE (1) | 199 | #define S5P_DAC_ENABLE (1) |
203 | #define S5P_DAC_DISABLE (0) | 200 | #define S5P_DAC_DISABLE (0) |
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c index 82e635625073..3a59068e983a 100644 --- a/arch/arm/mach-s5pv210/mach-smdkv210.c +++ b/arch/arm/mach-s5pv210/mach-smdkv210.c | |||
@@ -14,6 +14,8 @@ | |||
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/serial_core.h> | 15 | #include <linux/serial_core.h> |
16 | #include <linux/sysdev.h> | 16 | #include <linux/sysdev.h> |
17 | #include <linux/dm9000.h> | ||
18 | #include <linux/gpio.h> | ||
17 | 19 | ||
18 | #include <asm/mach/arch.h> | 20 | #include <asm/mach/arch.h> |
19 | #include <asm/mach/map.h> | 21 | #include <asm/mach/map.h> |
@@ -24,6 +26,8 @@ | |||
24 | #include <mach/regs-clock.h> | 26 | #include <mach/regs-clock.h> |
25 | 27 | ||
26 | #include <plat/regs-serial.h> | 28 | #include <plat/regs-serial.h> |
29 | #include <plat/regs-srom.h> | ||
30 | #include <plat/gpio-cfg.h> | ||
27 | #include <plat/s5pv210.h> | 31 | #include <plat/s5pv210.h> |
28 | #include <plat/devs.h> | 32 | #include <plat/devs.h> |
29 | #include <plat/cpu.h> | 33 | #include <plat/cpu.h> |
@@ -102,6 +106,39 @@ static struct samsung_keypad_platdata smdkv210_keypad_data __initdata = { | |||
102 | .cols = 8, | 106 | .cols = 8, |
103 | }; | 107 | }; |
104 | 108 | ||
109 | static struct resource smdkv210_dm9000_resources[] = { | ||
110 | [0] = { | ||
111 | .start = S5PV210_PA_SROM_BANK5, | ||
112 | .end = S5PV210_PA_SROM_BANK5, | ||
113 | .flags = IORESOURCE_MEM, | ||
114 | }, | ||
115 | [1] = { | ||
116 | .start = S5PV210_PA_SROM_BANK5 + 2, | ||
117 | .end = S5PV210_PA_SROM_BANK5 + 2, | ||
118 | .flags = IORESOURCE_MEM, | ||
119 | }, | ||
120 | [2] = { | ||
121 | .start = IRQ_EINT(9), | ||
122 | .end = IRQ_EINT(9), | ||
123 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
124 | }, | ||
125 | }; | ||
126 | |||
127 | static struct dm9000_plat_data smdkv210_dm9000_platdata = { | ||
128 | .flags = DM9000_PLATF_16BITONLY | DM9000_PLATF_NO_EEPROM, | ||
129 | .dev_addr = { 0x00, 0x09, 0xc0, 0xff, 0xec, 0x48 }, | ||
130 | }; | ||
131 | |||
132 | struct platform_device smdkv210_dm9000 = { | ||
133 | .name = "dm9000", | ||
134 | .id = -1, | ||
135 | .num_resources = ARRAY_SIZE(smdkv210_dm9000_resources), | ||
136 | .resource = smdkv210_dm9000_resources, | ||
137 | .dev = { | ||
138 | .platform_data = &smdkv210_dm9000_platdata, | ||
139 | }, | ||
140 | }; | ||
141 | |||
105 | static struct platform_device *smdkv210_devices[] __initdata = { | 142 | static struct platform_device *smdkv210_devices[] __initdata = { |
106 | &s5pv210_device_iis0, | 143 | &s5pv210_device_iis0, |
107 | &s5pv210_device_ac97, | 144 | &s5pv210_device_ac97, |
@@ -119,8 +156,26 @@ static struct platform_device *smdkv210_devices[] __initdata = { | |||
119 | &s3c_device_rtc, | 156 | &s3c_device_rtc, |
120 | &s3c_device_ts, | 157 | &s3c_device_ts, |
121 | &s3c_device_wdt, | 158 | &s3c_device_wdt, |
159 | &smdkv210_dm9000, | ||
122 | }; | 160 | }; |
123 | 161 | ||
162 | static void __init smdkv210_dm9000_init(void) | ||
163 | { | ||
164 | unsigned int tmp; | ||
165 | |||
166 | gpio_request(S5PV210_MP01(5), "nCS5"); | ||
167 | s3c_gpio_cfgpin(S5PV210_MP01(5), S3C_GPIO_SFN(2)); | ||
168 | gpio_free(S5PV210_MP01(5)); | ||
169 | |||
170 | tmp = (5 << S5P_SROM_BCX__TACC__SHIFT); | ||
171 | __raw_writel(tmp, S5P_SROM_BC5); | ||
172 | |||
173 | tmp = __raw_readl(S5P_SROM_BW); | ||
174 | tmp &= (S5P_SROM_BW__CS_MASK << S5P_SROM_BW__NCS5__SHIFT); | ||
175 | tmp |= (1 << S5P_SROM_BW__NCS5__SHIFT); | ||
176 | __raw_writel(tmp, S5P_SROM_BW); | ||
177 | } | ||
178 | |||
124 | static struct i2c_board_info smdkv210_i2c_devs0[] __initdata = { | 179 | static struct i2c_board_info smdkv210_i2c_devs0[] __initdata = { |
125 | { I2C_BOARD_INFO("24c08", 0x50), }, /* Samsung S524AD0XD1 */ | 180 | { I2C_BOARD_INFO("24c08", 0x50), }, /* Samsung S524AD0XD1 */ |
126 | { I2C_BOARD_INFO("wm8580", 0x1b), }, | 181 | { I2C_BOARD_INFO("wm8580", 0x1b), }, |
@@ -151,6 +206,8 @@ static void __init smdkv210_machine_init(void) | |||
151 | { | 206 | { |
152 | s3c_pm_init(); | 207 | s3c_pm_init(); |
153 | 208 | ||
209 | smdkv210_dm9000_init(); | ||
210 | |||
154 | samsung_keypad_set_platdata(&smdkv210_keypad_data); | 211 | samsung_keypad_set_platdata(&smdkv210_keypad_data); |
155 | s3c24xx_ts_set_platdata(&s3c_ts_platform); | 212 | s3c24xx_ts_set_platdata(&s3c_ts_platform); |
156 | 213 | ||
diff --git a/arch/arm/mach-s5pv310/include/mach/irqs.h b/arch/arm/mach-s5pv310/include/mach/irqs.h index 3c05c58b5392..34f214444f27 100644 --- a/arch/arm/mach-s5pv310/include/mach/irqs.h +++ b/arch/arm/mach-s5pv310/include/mach/irqs.h | |||
@@ -86,6 +86,9 @@ | |||
86 | #define IRQ_HSMMC2 COMBINER_IRQ(29, 2) | 86 | #define IRQ_HSMMC2 COMBINER_IRQ(29, 2) |
87 | #define IRQ_HSMMC3 COMBINER_IRQ(29, 3) | 87 | #define IRQ_HSMMC3 COMBINER_IRQ(29, 3) |
88 | 88 | ||
89 | #define IRQ_MIPI_CSIS0 COMBINER_IRQ(30, 0) | ||
90 | #define IRQ_MIPI_CSIS1 COMBINER_IRQ(30, 1) | ||
91 | |||
89 | #define IRQ_ONENAND_AUDI COMBINER_IRQ(34, 0) | 92 | #define IRQ_ONENAND_AUDI COMBINER_IRQ(34, 0) |
90 | 93 | ||
91 | #define IRQ_EINT4 COMBINER_IRQ(37, 0) | 94 | #define IRQ_EINT4 COMBINER_IRQ(37, 0) |
diff --git a/arch/arm/mach-s5pv310/include/mach/map.h b/arch/arm/mach-s5pv310/include/mach/map.h index 53994467605d..0d0e7eb5b391 100644 --- a/arch/arm/mach-s5pv310/include/mach/map.h +++ b/arch/arm/mach-s5pv310/include/mach/map.h | |||
@@ -61,9 +61,13 @@ | |||
61 | #define S5PV310_PA_GPIO2 (0x11000000) | 61 | #define S5PV310_PA_GPIO2 (0x11000000) |
62 | #define S5PV310_PA_GPIO3 (0x03860000) | 62 | #define S5PV310_PA_GPIO3 (0x03860000) |
63 | 63 | ||
64 | #define S5PV310_PA_MIPI_CSIS0 0x11880000 | ||
65 | #define S5PV310_PA_MIPI_CSIS1 0x11890000 | ||
66 | |||
64 | #define S5PV310_PA_HSMMC(x) (0x12510000 + ((x) * 0x10000)) | 67 | #define S5PV310_PA_HSMMC(x) (0x12510000 + ((x) * 0x10000)) |
65 | 68 | ||
66 | #define S5PV310_PA_SROMC (0x12570000) | 69 | #define S5PV310_PA_SROMC (0x12570000) |
70 | #define S5P_PA_SROMC S5PV310_PA_SROMC | ||
67 | 71 | ||
68 | /* S/PDIF */ | 72 | /* S/PDIF */ |
69 | #define S5PV310_PA_SPDIF 0xE1100000 | 73 | #define S5PV310_PA_SPDIF 0xE1100000 |
@@ -116,5 +120,7 @@ | |||
116 | #define S3C_PA_IIC7 S5PV310_PA_IIC(7) | 120 | #define S3C_PA_IIC7 S5PV310_PA_IIC(7) |
117 | #define S3C_PA_RTC S5PV310_PA_RTC | 121 | #define S3C_PA_RTC S5PV310_PA_RTC |
118 | #define S3C_PA_WDT S5PV310_PA_WATCHDOG | 122 | #define S3C_PA_WDT S5PV310_PA_WATCHDOG |
123 | #define S5P_PA_MIPI_CSIS0 S5PV310_PA_MIPI_CSIS0 | ||
124 | #define S5P_PA_MIPI_CSIS1 S5PV310_PA_MIPI_CSIS1 | ||
119 | 125 | ||
120 | #endif /* __ASM_ARCH_MAP_H */ | 126 | #endif /* __ASM_ARCH_MAP_H */ |
diff --git a/arch/arm/mach-s5pv310/include/mach/regs-srom.h b/arch/arm/mach-s5pv310/include/mach/regs-srom.h deleted file mode 100644 index 1898b3e10550..000000000000 --- a/arch/arm/mach-s5pv310/include/mach/regs-srom.h +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | /* linux/arch/arm/mach-s5pv310/include/mach/regs-srom.h | ||
2 | * | ||
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | ||
4 | * http://www.samsung.com | ||
5 | * | ||
6 | * S5PV310 - SROMC register definitions | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | ||
12 | |||
13 | #ifndef __ASM_ARCH_REGS_SROM_H | ||
14 | #define __ASM_ARCH_REGS_SROM_H __FILE__ | ||
15 | |||
16 | #include <mach/map.h> | ||
17 | |||
18 | #define S5PV310_SROMREG(x) (S5P_VA_SROMC + (x)) | ||
19 | |||
20 | #define S5PV310_SROM_BW S5PV310_SROMREG(0x0) | ||
21 | #define S5PV310_SROM_BC0 S5PV310_SROMREG(0x4) | ||
22 | #define S5PV310_SROM_BC1 S5PV310_SROMREG(0x8) | ||
23 | #define S5PV310_SROM_BC2 S5PV310_SROMREG(0xc) | ||
24 | #define S5PV310_SROM_BC3 S5PV310_SROMREG(0x10) | ||
25 | |||
26 | /* one register BW holds 4 x 4-bit packed settings for NCS0 - NCS3 */ | ||
27 | |||
28 | #define S5PV310_SROM_BW__DATAWIDTH__SHIFT 0 | ||
29 | #define S5PV310_SROM_BW__ADDRMODE__SHIFT 1 | ||
30 | #define S5PV310_SROM_BW__WAITENABLE__SHIFT 2 | ||
31 | #define S5PV310_SROM_BW__BYTEENABLE__SHIFT 3 | ||
32 | |||
33 | #define S5PV310_SROM_BW__CS_MASK 0xf | ||
34 | |||
35 | #define S5PV310_SROM_BW__NCS0__SHIFT 0 | ||
36 | #define S5PV310_SROM_BW__NCS1__SHIFT 4 | ||
37 | #define S5PV310_SROM_BW__NCS2__SHIFT 8 | ||
38 | #define S5PV310_SROM_BW__NCS3__SHIFT 12 | ||
39 | |||
40 | /* applies to same to BCS0 - BCS3 */ | ||
41 | |||
42 | #define S5PV310_SROM_BCX__PMC__SHIFT 0 | ||
43 | #define S5PV310_SROM_BCX__TACP__SHIFT 4 | ||
44 | #define S5PV310_SROM_BCX__TCAH__SHIFT 8 | ||
45 | #define S5PV310_SROM_BCX__TCOH__SHIFT 12 | ||
46 | #define S5PV310_SROM_BCX__TACC__SHIFT 16 | ||
47 | #define S5PV310_SROM_BCX__TCOS__SHIFT 24 | ||
48 | #define S5PV310_SROM_BCX__TACS__SHIFT 28 | ||
49 | |||
50 | #endif /* __ASM_ARCH_REGS_SROM_H */ | ||
diff --git a/arch/arm/mach-s5pv310/mach-smdkc210.c b/arch/arm/mach-s5pv310/mach-smdkc210.c index 62c4d6204d2a..f3bc283df119 100644 --- a/arch/arm/mach-s5pv310/mach-smdkc210.c +++ b/arch/arm/mach-s5pv310/mach-smdkc210.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <asm/mach-types.h> | 20 | #include <asm/mach-types.h> |
21 | 21 | ||
22 | #include <plat/regs-serial.h> | 22 | #include <plat/regs-serial.h> |
23 | #include <plat/regs-srom.h> | ||
23 | #include <plat/s5pv310.h> | 24 | #include <plat/s5pv310.h> |
24 | #include <plat/cpu.h> | 25 | #include <plat/cpu.h> |
25 | #include <plat/devs.h> | 26 | #include <plat/devs.h> |
@@ -27,7 +28,6 @@ | |||
27 | #include <plat/iic.h> | 28 | #include <plat/iic.h> |
28 | 29 | ||
29 | #include <mach/map.h> | 30 | #include <mach/map.h> |
30 | #include <mach/regs-srom.h> | ||
31 | 31 | ||
32 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 32 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
33 | #define SMDKC210_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 33 | #define SMDKC210_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
@@ -163,23 +163,22 @@ static void __init smdkc210_smsc911x_init(void) | |||
163 | u32 cs1; | 163 | u32 cs1; |
164 | 164 | ||
165 | /* configure nCS1 width to 16 bits */ | 165 | /* configure nCS1 width to 16 bits */ |
166 | cs1 = __raw_readl(S5PV310_SROM_BW) & | 166 | cs1 = __raw_readl(S5P_SROM_BW) & |
167 | ~(S5PV310_SROM_BW__CS_MASK << | 167 | ~(S5P_SROM_BW__CS_MASK << S5P_SROM_BW__NCS1__SHIFT); |
168 | S5PV310_SROM_BW__NCS1__SHIFT); | 168 | cs1 |= ((1 << S5P_SROM_BW__DATAWIDTH__SHIFT) | |
169 | cs1 |= ((1 << S5PV310_SROM_BW__DATAWIDTH__SHIFT) | | 169 | (1 << S5P_SROM_BW__WAITENABLE__SHIFT) | |
170 | (1 << S5PV310_SROM_BW__WAITENABLE__SHIFT) | | 170 | (1 << S5P_SROM_BW__BYTEENABLE__SHIFT)) << |
171 | (1 << S5PV310_SROM_BW__BYTEENABLE__SHIFT)) << | 171 | S5P_SROM_BW__NCS1__SHIFT; |
172 | S5PV310_SROM_BW__NCS1__SHIFT; | 172 | __raw_writel(cs1, S5P_SROM_BW); |
173 | __raw_writel(cs1, S5PV310_SROM_BW); | ||
174 | 173 | ||
175 | /* set timing for nCS1 suitable for ethernet chip */ | 174 | /* set timing for nCS1 suitable for ethernet chip */ |
176 | __raw_writel((0x1 << S5PV310_SROM_BCX__PMC__SHIFT) | | 175 | __raw_writel((0x1 << S5P_SROM_BCX__PMC__SHIFT) | |
177 | (0x9 << S5PV310_SROM_BCX__TACP__SHIFT) | | 176 | (0x9 << S5P_SROM_BCX__TACP__SHIFT) | |
178 | (0xc << S5PV310_SROM_BCX__TCAH__SHIFT) | | 177 | (0xc << S5P_SROM_BCX__TCAH__SHIFT) | |
179 | (0x1 << S5PV310_SROM_BCX__TCOH__SHIFT) | | 178 | (0x1 << S5P_SROM_BCX__TCOH__SHIFT) | |
180 | (0x6 << S5PV310_SROM_BCX__TACC__SHIFT) | | 179 | (0x6 << S5P_SROM_BCX__TACC__SHIFT) | |
181 | (0x1 << S5PV310_SROM_BCX__TCOS__SHIFT) | | 180 | (0x1 << S5P_SROM_BCX__TCOS__SHIFT) | |
182 | (0x1 << S5PV310_SROM_BCX__TACS__SHIFT), S5PV310_SROM_BC1); | 181 | (0x1 << S5P_SROM_BCX__TACS__SHIFT), S5P_SROM_BC1); |
183 | } | 182 | } |
184 | 183 | ||
185 | static void __init smdkc210_map_io(void) | 184 | static void __init smdkc210_map_io(void) |
diff --git a/arch/arm/mach-s5pv310/mach-smdkv310.c b/arch/arm/mach-s5pv310/mach-smdkv310.c index d5eb607763f7..e4a826ac3c1d 100644 --- a/arch/arm/mach-s5pv310/mach-smdkv310.c +++ b/arch/arm/mach-s5pv310/mach-smdkv310.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <asm/mach-types.h> | 20 | #include <asm/mach-types.h> |
21 | 21 | ||
22 | #include <plat/regs-serial.h> | 22 | #include <plat/regs-serial.h> |
23 | #include <plat/regs-srom.h> | ||
23 | #include <plat/s5pv310.h> | 24 | #include <plat/s5pv310.h> |
24 | #include <plat/cpu.h> | 25 | #include <plat/cpu.h> |
25 | #include <plat/devs.h> | 26 | #include <plat/devs.h> |
@@ -27,7 +28,6 @@ | |||
27 | #include <plat/iic.h> | 28 | #include <plat/iic.h> |
28 | 29 | ||
29 | #include <mach/map.h> | 30 | #include <mach/map.h> |
30 | #include <mach/regs-srom.h> | ||
31 | 31 | ||
32 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 32 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
33 | #define SMDKV310_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 33 | #define SMDKV310_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
@@ -163,23 +163,22 @@ static void __init smdkv310_smsc911x_init(void) | |||
163 | u32 cs1; | 163 | u32 cs1; |
164 | 164 | ||
165 | /* configure nCS1 width to 16 bits */ | 165 | /* configure nCS1 width to 16 bits */ |
166 | cs1 = __raw_readl(S5PV310_SROM_BW) & | 166 | cs1 = __raw_readl(S5P_SROM_BW) & |
167 | ~(S5PV310_SROM_BW__CS_MASK << | 167 | ~(S5P_SROM_BW__CS_MASK << S5P_SROM_BW__NCS1__SHIFT); |
168 | S5PV310_SROM_BW__NCS1__SHIFT); | 168 | cs1 |= ((1 << S5P_SROM_BW__DATAWIDTH__SHIFT) | |
169 | cs1 |= ((1 << S5PV310_SROM_BW__DATAWIDTH__SHIFT) | | 169 | (1 << S5P_SROM_BW__WAITENABLE__SHIFT) | |
170 | (1 << S5PV310_SROM_BW__WAITENABLE__SHIFT) | | 170 | (1 << S5P_SROM_BW__BYTEENABLE__SHIFT)) << |
171 | (1 << S5PV310_SROM_BW__BYTEENABLE__SHIFT)) << | 171 | S5P_SROM_BW__NCS1__SHIFT; |
172 | S5PV310_SROM_BW__NCS1__SHIFT; | 172 | __raw_writel(cs1, S5P_SROM_BW); |
173 | __raw_writel(cs1, S5PV310_SROM_BW); | ||
174 | 173 | ||
175 | /* set timing for nCS1 suitable for ethernet chip */ | 174 | /* set timing for nCS1 suitable for ethernet chip */ |
176 | __raw_writel((0x1 << S5PV310_SROM_BCX__PMC__SHIFT) | | 175 | __raw_writel((0x1 << S5P_SROM_BCX__PMC__SHIFT) | |
177 | (0x9 << S5PV310_SROM_BCX__TACP__SHIFT) | | 176 | (0x9 << S5P_SROM_BCX__TACP__SHIFT) | |
178 | (0xc << S5PV310_SROM_BCX__TCAH__SHIFT) | | 177 | (0xc << S5P_SROM_BCX__TCAH__SHIFT) | |
179 | (0x1 << S5PV310_SROM_BCX__TCOH__SHIFT) | | 178 | (0x1 << S5P_SROM_BCX__TCOH__SHIFT) | |
180 | (0x6 << S5PV310_SROM_BCX__TACC__SHIFT) | | 179 | (0x6 << S5P_SROM_BCX__TACC__SHIFT) | |
181 | (0x1 << S5PV310_SROM_BCX__TCOS__SHIFT) | | 180 | (0x1 << S5P_SROM_BCX__TCOS__SHIFT) | |
182 | (0x1 << S5PV310_SROM_BCX__TACS__SHIFT), S5PV310_SROM_BC1); | 181 | (0x1 << S5P_SROM_BCX__TACS__SHIFT), S5P_SROM_BC1); |
183 | } | 182 | } |
184 | 183 | ||
185 | static void __init smdkv310_map_io(void) | 184 | static void __init smdkv310_map_io(void) |
diff --git a/arch/arm/plat-s5p/Kconfig b/arch/arm/plat-s5p/Kconfig index 65dbfa8e0a86..6a161f317a79 100644 --- a/arch/arm/plat-s5p/Kconfig +++ b/arch/arm/plat-s5p/Kconfig | |||
@@ -56,3 +56,13 @@ config S5P_DEV_ONENAND | |||
56 | bool | 56 | bool |
57 | help | 57 | help |
58 | Compile in platform device definition for OneNAND controller | 58 | Compile in platform device definition for OneNAND controller |
59 | |||
60 | config S5P_DEV_CSIS0 | ||
61 | bool | ||
62 | help | ||
63 | Compile in platform device definitions for MIPI-CSIS channel 0 | ||
64 | |||
65 | config S5P_DEV_CSIS1 | ||
66 | bool | ||
67 | help | ||
68 | Compile in platform device definitions for MIPI-CSIS channel 1 | ||
diff --git a/arch/arm/plat-s5p/Makefile b/arch/arm/plat-s5p/Makefile index de65238a7aef..2b7317378103 100644 --- a/arch/arm/plat-s5p/Makefile +++ b/arch/arm/plat-s5p/Makefile | |||
@@ -28,3 +28,5 @@ obj-$(CONFIG_S5P_DEV_FIMC0) += dev-fimc0.o | |||
28 | obj-$(CONFIG_S5P_DEV_FIMC1) += dev-fimc1.o | 28 | obj-$(CONFIG_S5P_DEV_FIMC1) += dev-fimc1.o |
29 | obj-$(CONFIG_S5P_DEV_FIMC2) += dev-fimc2.o | 29 | obj-$(CONFIG_S5P_DEV_FIMC2) += dev-fimc2.o |
30 | obj-$(CONFIG_S5P_DEV_ONENAND) += dev-onenand.o | 30 | obj-$(CONFIG_S5P_DEV_ONENAND) += dev-onenand.o |
31 | obj-$(CONFIG_S5P_DEV_CSIS0) += dev-csis0.o | ||
32 | obj-$(CONFIG_S5P_DEV_CSIS1) += dev-csis1.o | ||
diff --git a/arch/arm/plat-s5p/cpu.c b/arch/arm/plat-s5p/cpu.c index 74f7f5a5446c..047d31c1bbd8 100644 --- a/arch/arm/plat-s5p/cpu.c +++ b/arch/arm/plat-s5p/cpu.c | |||
@@ -108,6 +108,11 @@ static struct map_desc s5p_iodesc[] __initdata = { | |||
108 | .pfn = __phys_to_pfn(S3C_PA_WDT), | 108 | .pfn = __phys_to_pfn(S3C_PA_WDT), |
109 | .length = SZ_4K, | 109 | .length = SZ_4K, |
110 | .type = MT_DEVICE, | 110 | .type = MT_DEVICE, |
111 | }, { | ||
112 | .virtual = (unsigned long)S5P_VA_SROMC, | ||
113 | .pfn = __phys_to_pfn(S5P_PA_SROMC), | ||
114 | .length = SZ_4K, | ||
115 | .type = MT_DEVICE, | ||
111 | }, | 116 | }, |
112 | }; | 117 | }; |
113 | 118 | ||
diff --git a/arch/arm/plat-s5p/dev-csis0.c b/arch/arm/plat-s5p/dev-csis0.c new file mode 100644 index 000000000000..dfab1c85f54f --- /dev/null +++ b/arch/arm/plat-s5p/dev-csis0.c | |||
@@ -0,0 +1,34 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2010 Samsung Electronics | ||
3 | * | ||
4 | * S5P series device definition for MIPI-CSIS channel 0 | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #include <linux/kernel.h> | ||
12 | #include <linux/interrupt.h> | ||
13 | #include <linux/platform_device.h> | ||
14 | #include <mach/map.h> | ||
15 | |||
16 | static struct resource s5p_mipi_csis0_resource[] = { | ||
17 | [0] = { | ||
18 | .start = S5P_PA_MIPI_CSIS0, | ||
19 | .end = S5P_PA_MIPI_CSIS0 + SZ_4K - 1, | ||
20 | .flags = IORESOURCE_MEM, | ||
21 | }, | ||
22 | [1] = { | ||
23 | .start = IRQ_MIPI_CSIS0, | ||
24 | .end = IRQ_MIPI_CSIS0, | ||
25 | .flags = IORESOURCE_IRQ, | ||
26 | } | ||
27 | }; | ||
28 | |||
29 | struct platform_device s5p_device_mipi_csis0 = { | ||
30 | .name = "s5p-mipi-csis", | ||
31 | .id = 0, | ||
32 | .num_resources = ARRAY_SIZE(s5p_mipi_csis0_resource), | ||
33 | .resource = s5p_mipi_csis0_resource, | ||
34 | }; | ||
diff --git a/arch/arm/plat-s5p/dev-csis1.c b/arch/arm/plat-s5p/dev-csis1.c new file mode 100644 index 000000000000..e3053f27fbbf --- /dev/null +++ b/arch/arm/plat-s5p/dev-csis1.c | |||
@@ -0,0 +1,34 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2010 Samsung Electronics | ||
3 | * | ||
4 | * S5P series device definition for MIPI-CSIS channel 1 | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #include <linux/kernel.h> | ||
12 | #include <linux/interrupt.h> | ||
13 | #include <linux/platform_device.h> | ||
14 | #include <mach/map.h> | ||
15 | |||
16 | static struct resource s5p_mipi_csis1_resource[] = { | ||
17 | [0] = { | ||
18 | .start = S5P_PA_MIPI_CSIS1, | ||
19 | .end = S5P_PA_MIPI_CSIS1 + SZ_4K - 1, | ||
20 | .flags = IORESOURCE_MEM, | ||
21 | }, | ||
22 | [1] = { | ||
23 | .start = IRQ_MIPI_CSIS1, | ||
24 | .end = IRQ_MIPI_CSIS1, | ||
25 | .flags = IORESOURCE_IRQ, | ||
26 | }, | ||
27 | }; | ||
28 | |||
29 | struct platform_device s5p_device_mipi_csis1 = { | ||
30 | .name = "s5p-mipi-csis", | ||
31 | .id = 1, | ||
32 | .num_resources = ARRAY_SIZE(s5p_mipi_csis1_resource), | ||
33 | .resource = s5p_mipi_csis1_resource, | ||
34 | }; | ||
diff --git a/arch/arm/plat-s5p/include/plat/csis.h b/arch/arm/plat-s5p/include/plat/csis.h new file mode 100644 index 000000000000..51e308c7981d --- /dev/null +++ b/arch/arm/plat-s5p/include/plat/csis.h | |||
@@ -0,0 +1,28 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2010 Samsung Electronics | ||
3 | * | ||
4 | * S5P series MIPI CSI slave device support | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef PLAT_S5P_CSIS_H_ | ||
12 | #define PLAT_S5P_CSIS_H_ __FILE__ | ||
13 | |||
14 | /** | ||
15 | * struct s5p_platform_mipi_csis - platform data for MIPI-CSIS | ||
16 | * @clk_rate: bus clock frequency | ||
17 | * @lanes: number of data lanes used | ||
18 | * @alignment: data alignment in bits | ||
19 | * @hs_settle: HS-RX settle time | ||
20 | */ | ||
21 | struct s5p_platform_mipi_csis { | ||
22 | unsigned long clk_rate; | ||
23 | u8 lanes; | ||
24 | u8 alignment; | ||
25 | u8 hs_settle; | ||
26 | }; | ||
27 | |||
28 | #endif /* PLAT_S5P_CSIS_H_ */ | ||
diff --git a/arch/arm/plat-s5p/include/plat/regs-srom.h b/arch/arm/plat-s5p/include/plat/regs-srom.h new file mode 100644 index 000000000000..f121ab5e76cb --- /dev/null +++ b/arch/arm/plat-s5p/include/plat/regs-srom.h | |||
@@ -0,0 +1,54 @@ | |||
1 | /* linux/arch/arm/plat-s5p/include/plat/regs-srom.h | ||
2 | * | ||
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | ||
4 | * http://www.samsung.com | ||
5 | * | ||
6 | * S5P SROMC register definitions | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | ||
12 | |||
13 | #ifndef __ASM_PLAT_S5P_REGS_SROM_H | ||
14 | #define __ASM_PLAT_S5P_REGS_SROM_H __FILE__ | ||
15 | |||
16 | #include <mach/map.h> | ||
17 | |||
18 | #define S5P_SROMREG(x) (S5P_VA_SROMC + (x)) | ||
19 | |||
20 | #define S5P_SROM_BW S5P_SROMREG(0x0) | ||
21 | #define S5P_SROM_BC0 S5P_SROMREG(0x4) | ||
22 | #define S5P_SROM_BC1 S5P_SROMREG(0x8) | ||
23 | #define S5P_SROM_BC2 S5P_SROMREG(0xc) | ||
24 | #define S5P_SROM_BC3 S5P_SROMREG(0x10) | ||
25 | #define S5P_SROM_BC4 S5P_SROMREG(0x14) | ||
26 | #define S5P_SROM_BC5 S5P_SROMREG(0x18) | ||
27 | |||
28 | /* one register BW holds 4 x 4-bit packed settings for NCS0 - NCS3 */ | ||
29 | |||
30 | #define S5P_SROM_BW__DATAWIDTH__SHIFT 0 | ||
31 | #define S5P_SROM_BW__ADDRMODE__SHIFT 1 | ||
32 | #define S5P_SROM_BW__WAITENABLE__SHIFT 2 | ||
33 | #define S5P_SROM_BW__BYTEENABLE__SHIFT 3 | ||
34 | |||
35 | #define S5P_SROM_BW__CS_MASK 0xf | ||
36 | |||
37 | #define S5P_SROM_BW__NCS0__SHIFT 0 | ||
38 | #define S5P_SROM_BW__NCS1__SHIFT 4 | ||
39 | #define S5P_SROM_BW__NCS2__SHIFT 8 | ||
40 | #define S5P_SROM_BW__NCS3__SHIFT 12 | ||
41 | #define S5P_SROM_BW__NCS4__SHIFT 16 | ||
42 | #define S5P_SROM_BW__NCS5__SHIFT 20 | ||
43 | |||
44 | /* applies to same to BCS0 - BCS3 */ | ||
45 | |||
46 | #define S5P_SROM_BCX__PMC__SHIFT 0 | ||
47 | #define S5P_SROM_BCX__TACP__SHIFT 4 | ||
48 | #define S5P_SROM_BCX__TCAH__SHIFT 8 | ||
49 | #define S5P_SROM_BCX__TCOH__SHIFT 12 | ||
50 | #define S5P_SROM_BCX__TACC__SHIFT 16 | ||
51 | #define S5P_SROM_BCX__TCOS__SHIFT 24 | ||
52 | #define S5P_SROM_BCX__TACS__SHIFT 28 | ||
53 | |||
54 | #endif /* __ASM_PLAT_S5P_REGS_SROM_H */ | ||
diff --git a/arch/arm/plat-samsung/include/plat/devs.h b/arch/arm/plat-samsung/include/plat/devs.h index 126196e9983b..94794c816b0e 100644 --- a/arch/arm/plat-samsung/include/plat/devs.h +++ b/arch/arm/plat-samsung/include/plat/devs.h | |||
@@ -133,6 +133,9 @@ extern struct platform_device s5p_device_fimc0; | |||
133 | extern struct platform_device s5p_device_fimc1; | 133 | extern struct platform_device s5p_device_fimc1; |
134 | extern struct platform_device s5p_device_fimc2; | 134 | extern struct platform_device s5p_device_fimc2; |
135 | 135 | ||
136 | extern struct platform_device s5p_device_mipi_csis0; | ||
137 | extern struct platform_device s5p_device_mipi_csis1; | ||
138 | |||
136 | /* s3c2440 specific devices */ | 139 | /* s3c2440 specific devices */ |
137 | 140 | ||
138 | #ifdef CONFIG_CPU_S3C2440 | 141 | #ifdef CONFIG_CPU_S3C2440 |