From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomasz Figa Subject: Re: [PATCH v3 2/6] ARM: EXYNOS: Remove i2c sys configuration related code Date: Tue, 10 Jun 2014 15:52:41 +0200 Message-ID: <53970DA9.1060904@samsung.com> References: <1399706287-13919-1-git-send-email-y@samsung.com> <1399706419-13976-1-git-send-email-pankaj.dubey@samsung.com> <1399706419-13976-3-git-send-email-pankaj.dubey@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailout1.w1.samsung.com ([210.118.77.11]:56381 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752120AbaFJNw6 (ORCPT ); Tue, 10 Jun 2014 09:52:58 -0400 In-reply-to: <1399706419-13976-3-git-send-email-pankaj.dubey@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Pankaj Dubey , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: kgene.kim@samsung.com, arnd@arndb.de, Russell King Hi Pankaj, On 10.05.2014 09:20, Pankaj Dubey wrote: > Since all these code has been moved into i2c driver, now we can > safely remove them from machine files. > > CC: Russell King > Signed-off-by: Pankaj Dubey > --- > arch/arm/mach-exynos/exynos.c | 38 +------------------------------ > arch/arm/mach-exynos/include/mach/map.h | 3 --- > arch/arm/mach-exynos/pm.c | 10 -------- > arch/arm/mach-exynos/regs-sys.h | 22 ------------------ > 4 files changed, 1 insertion(+), 72 deletions(-) > delete mode 100644 arch/arm/mach-exynos/regs-sys.h > > diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c > index 59eb1f1..09063ee 100644 > --- a/arch/arm/mach-exynos/exynos.c > +++ b/arch/arm/mach-exynos/exynos.c > @@ -29,11 +29,11 @@ > #include > > #include > +#include > > #include "common.h" > #include "mfc.h" > #include "regs-pmu.h" > -#include "regs-sys.h" > > #define L2_AUX_VAL 0x7C470001 > #define L2_AUX_MASK 0xC200ffff > @@ -42,11 +42,6 @@ static struct regmap *exynos_pmu_regmap; > > static struct map_desc exynos4_iodesc[] __initdata = { > { > - .virtual = (unsigned long)S3C_VA_SYS, > - .pfn = __phys_to_pfn(EXYNOS4_PA_SYSCON), > - .length = SZ_64K, > - .type = MT_DEVICE, Rest of this patch doesn't touch anything related to Exynos4, but I boot-tested removing this on Exynos4412-based Trats2 board and it works, so Reviewed-by: Tomasz Figa Best regards, Tomasz From mboxrd@z Thu Jan 1 00:00:00 1970 From: t.figa@samsung.com (Tomasz Figa) Date: Tue, 10 Jun 2014 15:52:41 +0200 Subject: [PATCH v3 2/6] ARM: EXYNOS: Remove i2c sys configuration related code In-Reply-To: <1399706419-13976-3-git-send-email-pankaj.dubey@samsung.com> References: <1399706287-13919-1-git-send-email-y@samsung.com> <1399706419-13976-1-git-send-email-pankaj.dubey@samsung.com> <1399706419-13976-3-git-send-email-pankaj.dubey@samsung.com> Message-ID: <53970DA9.1060904@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Pankaj, On 10.05.2014 09:20, Pankaj Dubey wrote: > Since all these code has been moved into i2c driver, now we can > safely remove them from machine files. > > CC: Russell King > Signed-off-by: Pankaj Dubey > --- > arch/arm/mach-exynos/exynos.c | 38 +------------------------------ > arch/arm/mach-exynos/include/mach/map.h | 3 --- > arch/arm/mach-exynos/pm.c | 10 -------- > arch/arm/mach-exynos/regs-sys.h | 22 ------------------ > 4 files changed, 1 insertion(+), 72 deletions(-) > delete mode 100644 arch/arm/mach-exynos/regs-sys.h > > diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c > index 59eb1f1..09063ee 100644 > --- a/arch/arm/mach-exynos/exynos.c > +++ b/arch/arm/mach-exynos/exynos.c > @@ -29,11 +29,11 @@ > #include > > #include > +#include > > #include "common.h" > #include "mfc.h" > #include "regs-pmu.h" > -#include "regs-sys.h" > > #define L2_AUX_VAL 0x7C470001 > #define L2_AUX_MASK 0xC200ffff > @@ -42,11 +42,6 @@ static struct regmap *exynos_pmu_regmap; > > static struct map_desc exynos4_iodesc[] __initdata = { > { > - .virtual = (unsigned long)S3C_VA_SYS, > - .pfn = __phys_to_pfn(EXYNOS4_PA_SYSCON), > - .length = SZ_64K, > - .type = MT_DEVICE, Rest of this patch doesn't touch anything related to Exynos4, but I boot-tested removing this on Exynos4412-based Trats2 board and it works, so Reviewed-by: Tomasz Figa Best regards, Tomasz