devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: nand: denali: reduce the register space in the example
@ 2017-09-14  7:17 Masahiro Yamada
  2017-09-14  8:04 ` Oleksij Rempel
       [not found] ` <1505373456-24047-1-git-send-email-yamada.masahiro-uWyLwvC0a2jby3iVrkZq2A@public.gmane.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Masahiro Yamada @ 2017-09-14  7:17 UTC (permalink / raw)
  To: linux-mtd
  Cc: Mark Rutland, devicetree, Richard Weinberger, Oleksij Rempel,
	Boris Brezillon, Dinh Nguyen, linux-kernel, Masahiro Yamada,
	Rob Herring, Cyrille Pitchen, Brian Norris, David Woodhouse,
	Marek Vasut

This example allocates too much for register regions.  Especially,
there are only two registers in the "nand_data" interface of this
hardware (ADDR: 0x00, DATA: 0x10).

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Documentation/devicetree/bindings/mtd/denali-nand.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mtd/denali-nand.txt b/Documentation/devicetree/bindings/mtd/denali-nand.txt
index 504291d..0ee8edb 100644
--- a/Documentation/devicetree/bindings/mtd/denali-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/denali-nand.txt
@@ -29,7 +29,7 @@ nand: nand@ff900000 {
 	#address-cells = <1>;
 	#size-cells = <1>;
 	compatible = "altr,socfpga-denali-nand";
-	reg = <0xff900000 0x100000>, <0xffb80000 0x10000>;
+	reg = <0xff900000 0x20>, <0xffb80000 0x1000>;
 	reg-names = "nand_data", "denali_reg";
 	interrupts = <0 144 4>;
 };
-- 
2.7.4


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2017-09-21 22:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-14  7:17 [PATCH] dt-bindings: nand: denali: reduce the register space in the example Masahiro Yamada
2017-09-14  8:04 ` Oleksij Rempel
     [not found]   ` <3c17c272-40ec-4eeb-0dc3-59a64400e6f8-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2017-09-14  8:16     ` Masahiro Yamada
2017-09-14  9:06       ` Oleksij Rempel
     [not found]         ` <630e651e-3d38-7a39-0327-e9b398d97e2d-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2017-09-21  5:26           ` Masahiro Yamada
     [not found]             ` <CAK7LNATRT4NYShu9MHPwfnxFC8k-rTak_bS-PrBmS+m5TUA72g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-21  6:09               ` Oleksij Rempel
2017-09-21 11:10                 ` Masahiro Yamada
     [not found] ` <1505373456-24047-1-git-send-email-yamada.masahiro-uWyLwvC0a2jby3iVrkZq2A@public.gmane.org>
2017-09-21 22:55   ` Rob Herring

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