All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Cc: Richard Weinberger <richard@nod.at>,
	Mark Rutland <mark.rutland@arm.com>,
	Rob Herring <robh@kernel.org>, Mans Rullgard <mans@mansr.com>,
	Arnd Bergmann <arnd@arndb.de>,
	linux-mtd <linux-mtd@lists.infradead.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH v1] mtd: nand: tango: Update DT binding description
Date: Thu, 29 Dec 2016 19:23:02 +0100	[thread overview]
Message-ID: <20161229192302.5c94ecdb@bbrezillon> (raw)
In-Reply-To: <ba47f2f1-bcdc-91e8-ed79-153931ccdad8@sigmadesigns.com>

On Mon, 19 Dec 2016 15:30:12 +0100
Marc Gonzalez <marc_gonzalez@sigmadesigns.com> wrote:

> Visually separate register ranges (address/size pairs) in reg prop.
> Change DMA channel name, for consistency with other drivers.
> 
> Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
> ---
>  Documentation/devicetree/bindings/mtd/tango-nand.txt | 6 +++---
>  drivers/mtd/nand/tango_nand.c                        | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/mtd/tango-nand.txt b/Documentation/devicetree/bindings/mtd/tango-nand.txt
> index ad5a02f2ac8c..cd1bf2ac9055 100644
> --- a/Documentation/devicetree/bindings/mtd/tango-nand.txt
> +++ b/Documentation/devicetree/bindings/mtd/tango-nand.txt
> @@ -5,7 +5,7 @@ Required properties:
>  - compatible: "sigma,smp8758-nand"
>  - reg: address/size of nfc_reg, nfc_mem, and pbus_reg
>  - dmas: reference to the DMA channel used by the controller
> -- dma-names: "nfc_sbox"
> +- dma-names: "rxtx"

You probably want to fix the driver accordingly ;-).

>  - clocks: reference to the system clock
>  - #address-cells: <1>
>  - #size-cells: <0>
> @@ -17,9 +17,9 @@ Example:
>  
>  	nandc: nand-controller@2c000 {
>  		compatible = "sigma,smp8758-nand";
> -		reg = <0x2c000 0x30 0x2d000 0x800 0x20000 0x1000>;
> +		reg = <0x2c000 0x30>, <0x2d000 0x800>, <0x20000 0x1000>;
>  		dmas = <&dma0 3>;
> -		dma-names = "nfc_sbox";
> +		dma-names = "rxtx";
>  		clocks = <&clkgen SYS_CLK>;
>  		#address-cells = <1>;
>  		#size-cells = <0>;
> diff --git a/drivers/mtd/nand/tango_nand.c b/drivers/mtd/nand/tango_nand.c
> index cc23db64f0ca..51dc88d6b8da 100644
> --- a/drivers/mtd/nand/tango_nand.c
> +++ b/drivers/mtd/nand/tango_nand.c
> @@ -629,7 +629,7 @@ static int tango_nand_probe(struct platform_device *pdev)
>  	if (IS_ERR(clk))
>  		return PTR_ERR(clk);
>  
> -	nfc->chan = dma_request_chan(&pdev->dev, "nfc_sbox");
> +	nfc->chan = dma_request_chan(&pdev->dev, "rxtx");
>  	if (IS_ERR(nfc->chan))
>  		return PTR_ERR(nfc->chan);
>  

WARNING: multiple messages have this Message-ID (diff)
From: boris.brezillon@free-electrons.com (Boris Brezillon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v1] mtd: nand: tango: Update DT binding description
Date: Thu, 29 Dec 2016 19:23:02 +0100	[thread overview]
Message-ID: <20161229192302.5c94ecdb@bbrezillon> (raw)
In-Reply-To: <ba47f2f1-bcdc-91e8-ed79-153931ccdad8@sigmadesigns.com>

On Mon, 19 Dec 2016 15:30:12 +0100
Marc Gonzalez <marc_gonzalez@sigmadesigns.com> wrote:

> Visually separate register ranges (address/size pairs) in reg prop.
> Change DMA channel name, for consistency with other drivers.
> 
> Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
> ---
>  Documentation/devicetree/bindings/mtd/tango-nand.txt | 6 +++---
>  drivers/mtd/nand/tango_nand.c                        | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/mtd/tango-nand.txt b/Documentation/devicetree/bindings/mtd/tango-nand.txt
> index ad5a02f2ac8c..cd1bf2ac9055 100644
> --- a/Documentation/devicetree/bindings/mtd/tango-nand.txt
> +++ b/Documentation/devicetree/bindings/mtd/tango-nand.txt
> @@ -5,7 +5,7 @@ Required properties:
>  - compatible: "sigma,smp8758-nand"
>  - reg: address/size of nfc_reg, nfc_mem, and pbus_reg
>  - dmas: reference to the DMA channel used by the controller
> -- dma-names: "nfc_sbox"
> +- dma-names: "rxtx"

You probably want to fix the driver accordingly ;-).

>  - clocks: reference to the system clock
>  - #address-cells: <1>
>  - #size-cells: <0>
> @@ -17,9 +17,9 @@ Example:
>  
>  	nandc: nand-controller at 2c000 {
>  		compatible = "sigma,smp8758-nand";
> -		reg = <0x2c000 0x30 0x2d000 0x800 0x20000 0x1000>;
> +		reg = <0x2c000 0x30>, <0x2d000 0x800>, <0x20000 0x1000>;
>  		dmas = <&dma0 3>;
> -		dma-names = "nfc_sbox";
> +		dma-names = "rxtx";
>  		clocks = <&clkgen SYS_CLK>;
>  		#address-cells = <1>;
>  		#size-cells = <0>;
> diff --git a/drivers/mtd/nand/tango_nand.c b/drivers/mtd/nand/tango_nand.c
> index cc23db64f0ca..51dc88d6b8da 100644
> --- a/drivers/mtd/nand/tango_nand.c
> +++ b/drivers/mtd/nand/tango_nand.c
> @@ -629,7 +629,7 @@ static int tango_nand_probe(struct platform_device *pdev)
>  	if (IS_ERR(clk))
>  		return PTR_ERR(clk);
>  
> -	nfc->chan = dma_request_chan(&pdev->dev, "nfc_sbox");
> +	nfc->chan = dma_request_chan(&pdev->dev, "rxtx");
>  	if (IS_ERR(nfc->chan))
>  		return PTR_ERR(nfc->chan);
>  

  reply	other threads:[~2016-12-29 18:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-19 14:30 [PATCH v1] mtd: nand: tango: Update DT binding description Marc Gonzalez
2016-12-19 14:30 ` Marc Gonzalez
2016-12-29 18:23 ` Boris Brezillon [this message]
2016-12-29 18:23   ` Boris Brezillon
2017-01-03  8:34   ` Marc Gonzalez
2017-01-03  8:34     ` Marc Gonzalez
2017-01-03  8:48     ` Boris Brezillon
2017-01-03  8:48       ` Boris Brezillon

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=20161229192302.5c94ecdb@bbrezillon \
    --to=boris.brezillon@free-electrons.com \
    --cc=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=mans@mansr.com \
    --cc=marc_gonzalez@sigmadesigns.com \
    --cc=mark.rutland@arm.com \
    --cc=richard@nod.at \
    --cc=robh@kernel.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.