From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Kozlowski Subject: Re: [PATCH v3 1/5] pinctrl: samsung: Add the support the multiple IORESOURCE_MEM for one pin-bank Date: Thu, 3 Nov 2016 21:12:46 +0200 Message-ID: <20161103191246.GA12945@kozik-lap> References: <1478155149-28527-1-git-send-email-cw00.choi@samsung.com> <1478155149-28527-2-git-send-email-cw00.choi@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <1478155149-28527-2-git-send-email-cw00.choi-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Chanwoo Choi Cc: krzk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, kgene-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, javier-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, catalin.marinas-5wv7dgnIgG8@public.gmane.org, will.deacon-5wv7dgnIgG8@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, jh80.chung-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, sw0312.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, jy0922.shim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, inki.dae-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, jonghwa3.lee-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, beomho.seo-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, jaewon02.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, human.hwang-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, ideal.song-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, ingi2.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, m.szyprowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, andi.shyti-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, chanwoo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, Tomasz Figa , Linus Walleij , linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-gpio@vger.kernel.org On Thu, Nov 03, 2016 at 03:39:05PM +0900, Chanwoo Choi wrote: > This patch supports the multiple IORESOURCE_MEM resources for one pin-bank. > In the pre-existing Exynos series, the registers of the gpio bank are included > in the one memory map. But, some gpio bank need to support the one more memory > map (IORESOURCE_MEM) because the registers of gpio bank are separated into > the different memory map. > > For example, > The both ALIVE and IMEM domain have the different memory base address. > The GFP[1-5] of exynos5433 are composed as following: > - ALIVE domain : WEINT_* registers > - IMEM domain : CON/DAT/PUD/DRV/CONPDN/PUDPDN register > > Cc: Tomasz Figa > Cc: Krzysztof Kozlowski > Cc: Sylwester Nawrocki > Cc: Kukjin Kim > Cc: Linus Walleij > Cc: Rob Herring > Cc: Mark Rutland > Cc: linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Suggested-by: Tomasz Figa > Signed-off-by: Chanwoo Choi > --- > .../bindings/pinctrl/samsung-pinctrl.txt | 19 ++++++++++ > drivers/pinctrl/samsung/pinctrl-exynos.c | 39 +++++++++------------ > drivers/pinctrl/samsung/pinctrl-exynos.h | 11 ++++++ > drivers/pinctrl/samsung/pinctrl-samsung.c | 40 ++++++++++++++-------- > drivers/pinctrl/samsung/pinctrl-samsung.h | 10 ++++-- > 5 files changed, 80 insertions(+), 39 deletions(-) > Hi, Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: krzk@kernel.org (Krzysztof Kozlowski) Date: Thu, 3 Nov 2016 21:12:46 +0200 Subject: [PATCH v3 1/5] pinctrl: samsung: Add the support the multiple IORESOURCE_MEM for one pin-bank In-Reply-To: <1478155149-28527-2-git-send-email-cw00.choi@samsung.com> References: <1478155149-28527-1-git-send-email-cw00.choi@samsung.com> <1478155149-28527-2-git-send-email-cw00.choi@samsung.com> Message-ID: <20161103191246.GA12945@kozik-lap> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Nov 03, 2016 at 03:39:05PM +0900, Chanwoo Choi wrote: > This patch supports the multiple IORESOURCE_MEM resources for one pin-bank. > In the pre-existing Exynos series, the registers of the gpio bank are included > in the one memory map. But, some gpio bank need to support the one more memory > map (IORESOURCE_MEM) because the registers of gpio bank are separated into > the different memory map. > > For example, > The both ALIVE and IMEM domain have the different memory base address. > The GFP[1-5] of exynos5433 are composed as following: > - ALIVE domain : WEINT_* registers > - IMEM domain : CON/DAT/PUD/DRV/CONPDN/PUDPDN register > > Cc: Tomasz Figa > Cc: Krzysztof Kozlowski > Cc: Sylwester Nawrocki > Cc: Kukjin Kim > Cc: Linus Walleij > Cc: Rob Herring > Cc: Mark Rutland > Cc: linux-gpio at vger.kernel.org > Suggested-by: Tomasz Figa > Signed-off-by: Chanwoo Choi > --- > .../bindings/pinctrl/samsung-pinctrl.txt | 19 ++++++++++ > drivers/pinctrl/samsung/pinctrl-exynos.c | 39 +++++++++------------ > drivers/pinctrl/samsung/pinctrl-exynos.h | 11 ++++++ > drivers/pinctrl/samsung/pinctrl-samsung.c | 40 ++++++++++++++-------- > drivers/pinctrl/samsung/pinctrl-samsung.h | 10 ++++-- > 5 files changed, 80 insertions(+), 39 deletions(-) > Hi, Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932908AbcKCTND (ORCPT ); Thu, 3 Nov 2016 15:13:03 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33128 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755282AbcKCTNB (ORCPT ); Thu, 3 Nov 2016 15:13:01 -0400 Date: Thu, 3 Nov 2016 21:12:46 +0200 From: Krzysztof Kozlowski To: Chanwoo Choi Cc: krzk@kernel.org, kgene@kernel.org, javier@osg.samsung.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, jh80.chung@samsung.com, sw0312.kim@samsung.com, jy0922.shim@samsung.com, inki.dae@samsung.com, jonghwa3.lee@samsung.com, beomho.seo@samsung.com, jaewon02.kim@samsung.com, human.hwang@samsung.com, ideal.song@samsung.com, ingi2.kim@samsung.com, m.szyprowski@samsung.com, a.hajda@samsung.com, s.nawrocki@samsung.com, andi.shyti@samsung.com, chanwoo@kernel.org, Tomasz Figa , Linus Walleij , linux-gpio@vger.kernel.org Subject: Re: [PATCH v3 1/5] pinctrl: samsung: Add the support the multiple IORESOURCE_MEM for one pin-bank Message-ID: <20161103191246.GA12945@kozik-lap> References: <1478155149-28527-1-git-send-email-cw00.choi@samsung.com> <1478155149-28527-2-git-send-email-cw00.choi@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1478155149-28527-2-git-send-email-cw00.choi@samsung.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 03, 2016 at 03:39:05PM +0900, Chanwoo Choi wrote: > This patch supports the multiple IORESOURCE_MEM resources for one pin-bank. > In the pre-existing Exynos series, the registers of the gpio bank are included > in the one memory map. But, some gpio bank need to support the one more memory > map (IORESOURCE_MEM) because the registers of gpio bank are separated into > the different memory map. > > For example, > The both ALIVE and IMEM domain have the different memory base address. > The GFP[1-5] of exynos5433 are composed as following: > - ALIVE domain : WEINT_* registers > - IMEM domain : CON/DAT/PUD/DRV/CONPDN/PUDPDN register > > Cc: Tomasz Figa > Cc: Krzysztof Kozlowski > Cc: Sylwester Nawrocki > Cc: Kukjin Kim > Cc: Linus Walleij > Cc: Rob Herring > Cc: Mark Rutland > Cc: linux-gpio@vger.kernel.org > Suggested-by: Tomasz Figa > Signed-off-by: Chanwoo Choi > --- > .../bindings/pinctrl/samsung-pinctrl.txt | 19 ++++++++++ > drivers/pinctrl/samsung/pinctrl-exynos.c | 39 +++++++++------------ > drivers/pinctrl/samsung/pinctrl-exynos.h | 11 ++++++ > drivers/pinctrl/samsung/pinctrl-samsung.c | 40 ++++++++++++++-------- > drivers/pinctrl/samsung/pinctrl-samsung.h | 10 ++++-- > 5 files changed, 80 insertions(+), 39 deletions(-) > Hi, Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof