* [PATCH] ARM: Exynos5: Remove i2c0 resource information and setting of device names
@ 2012-11-16 13:11 Thomas Abraham
2012-11-20 9:45 ` Kukjin Kim
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Abraham @ 2012-11-16 13:11 UTC (permalink / raw)
To: linux-arm-kernel
All Exynos5 based platforms support only device tree based boot and so the
unused non-dt code that sets i2c0 resource information and device names for
sdhci and i2c platform devices are removed.
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
---
arch/arm/mach-exynos/common.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index d067ce7..1efcc6f 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -336,23 +336,6 @@ static void __init exynos4_map_io(void)
static void __init exynos5_map_io(void)
{
iotable_init(exynos5_iodesc, ARRAY_SIZE(exynos5_iodesc));
-
- s3c_device_i2c0.resource[0].start = EXYNOS5_PA_IIC(0);
- s3c_device_i2c0.resource[0].end = EXYNOS5_PA_IIC(0) + SZ_4K - 1;
- s3c_device_i2c0.resource[1].start = EXYNOS5_IRQ_IIC;
- s3c_device_i2c0.resource[1].end = EXYNOS5_IRQ_IIC;
-
- s3c_sdhci_setname(0, "exynos4-sdhci");
- s3c_sdhci_setname(1, "exynos4-sdhci");
- s3c_sdhci_setname(2, "exynos4-sdhci");
- s3c_sdhci_setname(3, "exynos4-sdhci");
-
- /* The I2C bus controllers are directly compatible with s3c2440 */
- s3c_i2c0_setname("s3c2440-i2c");
- s3c_i2c1_setname("s3c2440-i2c");
- s3c_i2c2_setname("s3c2440-i2c");
-
- s3c64xx_spi_setname("exynos4210-spi");
}
static void __init exynos4_init_clocks(int xtal)
--
1.6.6.rc2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: Exynos5: Remove i2c0 resource information and setting of device names
2012-11-16 13:11 [PATCH] ARM: Exynos5: Remove i2c0 resource information and setting of device names Thomas Abraham
@ 2012-11-20 9:45 ` Kukjin Kim
0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2012-11-20 9:45 UTC (permalink / raw)
To: linux-arm-kernel
Thomas Abraham wrote:
>
> All Exynos5 based platforms support only device tree based boot and so the
> unused non-dt code that sets i2c0 resource information and device names
> for
> sdhci and i2c platform devices are removed.
>
> Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
> ---
> arch/arm/mach-exynos/common.c | 17 -----------------
> 1 files changed, 0 insertions(+), 17 deletions(-)
>
> diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
> index d067ce7..1efcc6f 100644
> --- a/arch/arm/mach-exynos/common.c
> +++ b/arch/arm/mach-exynos/common.c
> @@ -336,23 +336,6 @@ static void __init exynos4_map_io(void)
> static void __init exynos5_map_io(void)
> {
> iotable_init(exynos5_iodesc, ARRAY_SIZE(exynos5_iodesc));
> -
> - s3c_device_i2c0.resource[0].start = EXYNOS5_PA_IIC(0);
> - s3c_device_i2c0.resource[0].end = EXYNOS5_PA_IIC(0) + SZ_4K - 1;
> - s3c_device_i2c0.resource[1].start = EXYNOS5_IRQ_IIC;
> - s3c_device_i2c0.resource[1].end = EXYNOS5_IRQ_IIC;
> -
> - s3c_sdhci_setname(0, "exynos4-sdhci");
> - s3c_sdhci_setname(1, "exynos4-sdhci");
> - s3c_sdhci_setname(2, "exynos4-sdhci");
> - s3c_sdhci_setname(3, "exynos4-sdhci");
> -
> - /* The I2C bus controllers are directly compatible with s3c2440 */
> - s3c_i2c0_setname("s3c2440-i2c");
> - s3c_i2c1_setname("s3c2440-i2c");
> - s3c_i2c2_setname("s3c2440-i2c");
> -
> - s3c64xx_spi_setname("exynos4210-spi");
> }
>
> static void __init exynos4_init_clocks(int xtal)
> --
> 1.6.6.rc2
Applied, thanks.
K-Gene <kgene@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-20 9:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 13:11 [PATCH] ARM: Exynos5: Remove i2c0 resource information and setting of device names Thomas Abraham
2012-11-20 9:45 ` Kukjin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).