devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 1/3] dt: bindings: brcmnand: Add support for flash-edu
@ 2020-01-22 20:41 Kamal Dasu
  2020-01-22 20:41 ` [PATCH V3 2/3] arch: mips: brcm: Add 7425 flash-edu support Kamal Dasu
  2020-01-23 13:54 ` [PATCH V3 1/3] dt: bindings: brcmnand: Add support for flash-edu Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Kamal Dasu @ 2020-01-22 20:41 UTC (permalink / raw)
  To: linux-kernel, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Rob Herring, Mark Rutland, Florian Fainelli,
	Ralf Baechle, Paul Burton, James Hogan, Brian Norris, Kamal Dasu,
	Sumit Semwal
  Cc: linux-mtd, devicetree

Adding support for EBI DMA unit (EDU).

Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
---
 .../devicetree/bindings/mtd/brcm,brcmnand.txt          | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt b/Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt
index 82156dc8f304..05651a654c66 100644
--- a/Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt
+++ b/Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt
@@ -35,11 +35,11 @@ Required properties:
                      (optional) NAND flash cache range (if at non-standard offset)
 - reg-names        : a list of the names corresponding to the previous register
                      ranges. Should contain "nand" and (optionally)
-                     "flash-dma" and/or "nand-cache".
-- interrupts       : The NAND CTLRDY interrupt and (if Flash DMA is available)
-                     FLASH_DMA_DONE
-- interrupt-names  : May be "nand_ctlrdy" or "flash_dma_done", if broken out as
-                     individual interrupts.
+                     "flash-dma" or "flash-edu" and/or "nand-cache".
+- interrupts       : The NAND CTLRDY interrupt, (if Flash DMA is available)
+                     FLASH_DMA_DONE and if EDU is avaialble and used FLASH_EDU_DONE
+- interrupt-names  : May be "nand_ctlrdy" or "flash_dma_done" or "flash_edu_done",
+                     if broken out as individual interrupts.
                      May be "nand", if the SoC has the individual NAND
                      interrupts multiplexed behind another custom piece of
                      hardware
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH V3 2/3] arch: mips: brcm: Add 7425 flash-edu support
  2020-01-22 20:41 [PATCH V3 1/3] dt: bindings: brcmnand: Add support for flash-edu Kamal Dasu
@ 2020-01-22 20:41 ` Kamal Dasu
  2020-01-22 20:46   ` Florian Fainelli
  2020-01-23 13:54 ` [PATCH V3 1/3] dt: bindings: brcmnand: Add support for flash-edu Rob Herring
  1 sibling, 1 reply; 5+ messages in thread
From: Kamal Dasu @ 2020-01-22 20:41 UTC (permalink / raw)
  To: linux-kernel, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Rob Herring, Mark Rutland, Florian Fainelli,
	Ralf Baechle, Paul Burton, James Hogan, Brian Norris, Kamal Dasu,
	Sumit Semwal
  Cc: bcm-kernel-feedback-list, linux-mips, devicetree

Nand controller v5.0 and v6.0 have nand edu blocks that enable
dma nand flash transfers. This allows for faster read and write
access.

Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
---
 arch/mips/boot/dts/brcm/bcm7425.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/boot/dts/brcm/bcm7425.dtsi b/arch/mips/boot/dts/brcm/bcm7425.dtsi
index 410e61ebaf9e..aa0b2d39c902 100644
--- a/arch/mips/boot/dts/brcm/bcm7425.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm7425.dtsi
@@ -403,8 +403,8 @@
 			compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand";
 			#address-cells = <1>;
 			#size-cells = <0>;
-			reg-names = "nand";
-			reg = <0x41b800 0x400>;
+			reg-names = "nand", "flash-edu";
+			reg = <0x41b800 0x400>, <0x41bc00 0x24>;
 			interrupt-parent = <&hif_l2_intc>;
 			interrupts = <24>;
 			status = "disabled";
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH V3 2/3] arch: mips: brcm: Add 7425 flash-edu support
  2020-01-22 20:41 ` [PATCH V3 2/3] arch: mips: brcm: Add 7425 flash-edu support Kamal Dasu
@ 2020-01-22 20:46   ` Florian Fainelli
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2020-01-22 20:46 UTC (permalink / raw)
  To: Kamal Dasu, linux-kernel, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Rob Herring, Mark Rutland, Florian Fainelli,
	Ralf Baechle, Paul Burton, James Hogan, Brian Norris,
	Sumit Semwal
  Cc: bcm-kernel-feedback-list, linux-mips, devicetree

On 1/22/20 12:41 PM, Kamal Dasu wrote:
> Nand controller v5.0 and v6.0 have nand edu blocks that enable
> dma nand flash transfers. This allows for faster read and write
> access.
> 
> Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>

You can send your patches with a cover letter (git format-patch
--cover-letter) and indicate what you changed between v2 and v3 in the
cover letter so as to make it easier for reviewers/maintainers to figure
out the differences and what to review specifically from the previous
version.

Thanks!

> ---
>  arch/mips/boot/dts/brcm/bcm7425.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/mips/boot/dts/brcm/bcm7425.dtsi b/arch/mips/boot/dts/brcm/bcm7425.dtsi
> index 410e61ebaf9e..aa0b2d39c902 100644
> --- a/arch/mips/boot/dts/brcm/bcm7425.dtsi
> +++ b/arch/mips/boot/dts/brcm/bcm7425.dtsi
> @@ -403,8 +403,8 @@
>  			compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand";
>  			#address-cells = <1>;
>  			#size-cells = <0>;
> -			reg-names = "nand";
> -			reg = <0x41b800 0x400>;
> +			reg-names = "nand", "flash-edu";
> +			reg = <0x41b800 0x400>, <0x41bc00 0x24>;
>  			interrupt-parent = <&hif_l2_intc>;
>  			interrupts = <24>;
>  			status = "disabled";
> 


-- 
Florian

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH V3 1/3] dt: bindings: brcmnand: Add support for flash-edu
  2020-01-22 20:41 [PATCH V3 1/3] dt: bindings: brcmnand: Add support for flash-edu Kamal Dasu
  2020-01-22 20:41 ` [PATCH V3 2/3] arch: mips: brcm: Add 7425 flash-edu support Kamal Dasu
@ 2020-01-23 13:54 ` Rob Herring
  2020-01-23 23:09   ` Kamal Dasu
  1 sibling, 1 reply; 5+ messages in thread
From: Rob Herring @ 2020-01-23 13:54 UTC (permalink / raw)
  To: Kamal Dasu
  Cc: linux-kernel, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Brian Norris, Kamal Dasu, Sumit Semwal,
	linux-mtd, devicetree

On Wed, 22 Jan 2020 15:41:09 -0500, Kamal Dasu wrote:
> Adding support for EBI DMA unit (EDU).
> 
> Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
> ---
>  .../devicetree/bindings/mtd/brcm,brcmnand.txt          | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 

Please add Acked-by/Reviewed-by tags when posting new versions. However,
there's no need to repost patches *only* to add the tags. The upstream
maintainer will do that for acks received on the version they apply.

If a tag was not added on purpose, please state why and what changed.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH V3 1/3] dt: bindings: brcmnand: Add support for flash-edu
  2020-01-23 13:54 ` [PATCH V3 1/3] dt: bindings: brcmnand: Add support for flash-edu Rob Herring
@ 2020-01-23 23:09   ` Kamal Dasu
  0 siblings, 0 replies; 5+ messages in thread
From: Kamal Dasu @ 2020-01-23 23:09 UTC (permalink / raw)
  To: Rob Herring
  Cc: linux-kernel, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Brian Norris, Sumit Semwal, linux-mtd,
	devicetree

Rob, 

Added tags to  latest v4 patch set.

Thank You
Kamal

> On Jan 23, 2020, at 8:54 AM, Rob Herring <robh@kernel.org> wrote:
> 
> On Wed, 22 Jan 2020 15:41:09 -0500, Kamal Dasu wrote:
>> Adding support for EBI DMA unit (EDU).
>> 
>> Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
>> ---
>> .../devicetree/bindings/mtd/brcm,brcmnand.txt          | 10 +++++-----
>> 1 file changed, 5 insertions(+), 5 deletions(-)
>> 
> 
> Please add Acked-by/Reviewed-by tags when posting new versions. However,
> there's no need to repost patches *only* to add the tags. The upstream
> maintainer will do that for acks received on the version they apply.
> 
> If a tag was not added on purpose, please state why and what changed.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-23 23:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22 20:41 [PATCH V3 1/3] dt: bindings: brcmnand: Add support for flash-edu Kamal Dasu
2020-01-22 20:41 ` [PATCH V3 2/3] arch: mips: brcm: Add 7425 flash-edu support Kamal Dasu
2020-01-22 20:46   ` Florian Fainelli
2020-01-23 13:54 ` [PATCH V3 1/3] dt: bindings: brcmnand: Add support for flash-edu Rob Herring
2020-01-23 23:09   ` Kamal Dasu

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).