All of lore.kernel.org
 help / color / mirror / Atom feed
From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: at91: sama5/dts: reduce the NFC command register map
Date: Thu, 2 Apr 2015 11:24:41 +0200	[thread overview]
Message-ID: <551D0AD9.1090307@atmel.com> (raw)
In-Reply-To: <1427955477-9176-1-git-send-email-josh.wu@atmel.com>

Le 02/04/2015 08:17, Josh Wu a ?crit :
> commit 111573ccd89b ("mtd: atmel_nand: check NFC busy flag by HSMC_SR
> instead of NFC cmd regs")

As this commit is not in Linus' tree yet, we can't point to its commit ID.

> check NFC busy by nfc SR instead of NFC cmd regs. So we don't need to
> map NFC cmd registers to include NFCBUSY bit.
> That means we only need map 0x08000000 instead of 0x10000000 for NFC
> cmd regs.
> 
> This patch reduce the NFC cmd regs map for sama5d3 & sama5d4.
> 
> Signed-off-by: Josh Wu <josh.wu@atmel.com>

Otherwise:
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

I'll modify the commit message to adapt the commit ID and send it when
the patch is merged (probably after 4.0-rc1).

Thanks, best regards,

> ---
> This patch is based on linux-next git repo.
> 
>  arch/arm/boot/dts/sama5d3.dtsi | 2 +-
>  arch/arm/boot/dts/sama5d4.dtsi | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index 261311b..5b2c235 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -1445,7 +1445,7 @@
>  				#address-cells = <1>;
>  				#size-cells = <1>;
>  				reg = <
> -					0x70000000 0x10000000	/* NFC Command Registers */
> +					0x70000000 0x08000000	/* NFC Command Registers */
>  					0xffffc000 0x00000070	/* NFC HSMC regs */
>  					0x00200000 0x00100000	/* NFC SRAM banks */
>  					>;
> diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
> index d986b41..87705ad 100644
> --- a/arch/arm/boot/dts/sama5d4.dtsi
> +++ b/arch/arm/boot/dts/sama5d4.dtsi
> @@ -294,7 +294,7 @@
>  				#address-cells = <1>;
>  				#size-cells = <1>;
>  				reg = <
> -					0x90000000 0x10000000	/* NFC Command Registers */
> +					0x90000000 0x08000000	/* NFC Command Registers */
>  					0xfc05c000 0x00000070	/* NFC HSMC regs */
>  					0x00100000 0x00100000	/* NFC SRAM banks */
>                                           >;
> 


-- 
Nicolas Ferre

WARNING: multiple messages have this Message-ID (diff)
From: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
To: Josh Wu <josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: Boris Brezillon
	<boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	Brian Norris
	<computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Alexandre Belloni
	<alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	Jean-Christophe Plagniol-Villard
	<plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH] ARM: at91: sama5/dts: reduce the NFC command register map
Date: Thu, 2 Apr 2015 11:24:41 +0200	[thread overview]
Message-ID: <551D0AD9.1090307@atmel.com> (raw)
In-Reply-To: <1427955477-9176-1-git-send-email-josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>

Le 02/04/2015 08:17, Josh Wu a écrit :
> commit 111573ccd89b ("mtd: atmel_nand: check NFC busy flag by HSMC_SR
> instead of NFC cmd regs")

As this commit is not in Linus' tree yet, we can't point to its commit ID.

> check NFC busy by nfc SR instead of NFC cmd regs. So we don't need to
> map NFC cmd registers to include NFCBUSY bit.
> That means we only need map 0x08000000 instead of 0x10000000 for NFC
> cmd regs.
> 
> This patch reduce the NFC cmd regs map for sama5d3 & sama5d4.
> 
> Signed-off-by: Josh Wu <josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>

Otherwise:
Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>

I'll modify the commit message to adapt the commit ID and send it when
the patch is merged (probably after 4.0-rc1).

Thanks, best regards,

> ---
> This patch is based on linux-next git repo.
> 
>  arch/arm/boot/dts/sama5d3.dtsi | 2 +-
>  arch/arm/boot/dts/sama5d4.dtsi | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index 261311b..5b2c235 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -1445,7 +1445,7 @@
>  				#address-cells = <1>;
>  				#size-cells = <1>;
>  				reg = <
> -					0x70000000 0x10000000	/* NFC Command Registers */
> +					0x70000000 0x08000000	/* NFC Command Registers */
>  					0xffffc000 0x00000070	/* NFC HSMC regs */
>  					0x00200000 0x00100000	/* NFC SRAM banks */
>  					>;
> diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
> index d986b41..87705ad 100644
> --- a/arch/arm/boot/dts/sama5d4.dtsi
> +++ b/arch/arm/boot/dts/sama5d4.dtsi
> @@ -294,7 +294,7 @@
>  				#address-cells = <1>;
>  				#size-cells = <1>;
>  				reg = <
> -					0x90000000 0x10000000	/* NFC Command Registers */
> +					0x90000000 0x08000000	/* NFC Command Registers */
>  					0xfc05c000 0x00000070	/* NFC HSMC regs */
>  					0x00100000 0x00100000	/* NFC SRAM banks */
>                                           >;
> 


-- 
Nicolas Ferre
--
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

  reply	other threads:[~2015-04-02  9:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-02  6:17 [PATCH] ARM: at91: sama5/dts: reduce the NFC command register map Josh Wu
2015-04-02  6:17 ` Josh Wu
2015-04-02  9:24 ` Nicolas Ferre [this message]
2015-04-02  9:24   ` Nicolas Ferre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=551D0AD9.1090307@atmel.com \
    --to=nicolas.ferre@atmel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.