From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v6 1/6] dt-bindings: sram: describe option to reserve parts of the memory Date: Thu, 16 Jan 2014 08:36:44 -0600 Message-ID: References: <27256277.YJ687suYy5@phil> <1433254.MeOmJHi2Mt@phil> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1433254.MeOmJHi2Mt@phil> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: =?ISO-8859-1?Q?Heiko_St=FCbner?= Cc: "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org" , Grant Likely , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Philipp Zabel , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Greg Kroah-Hartman , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell List-Id: devicetree@vger.kernel.org On Wed, Jan 15, 2014 at 3:40 PM, Heiko St=FCbner wrot= e: > Some SoCs need parts of their sram for special purposes. So while bei= ng part > of the peripheral, it should not be part of the genpool controlling t= he sram. > > Therefore add an option mmio-sram-reserved to keep arbitrary portions= of the > sram from general usage. > > Suggested-by: Rob Herring > Signed-off-by: Heiko Stuebner > Tested-by: Ulrich Prinz Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/misc/sram.txt | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/misc/sram.txt b/Docume= ntation/devicetree/bindings/misc/sram.txt > index 4d0a00e..09ee7a3 100644 > --- a/Documentation/devicetree/bindings/misc/sram.txt > +++ b/Documentation/devicetree/bindings/misc/sram.txt > @@ -8,9 +8,17 @@ Required properties: > > - reg : SRAM iomem address range > > +Optional properties: > + > +- mmio-sram-reserved: ordered list of reserved chunks inside the sra= m that > + should not be used by the operating system. > + Format is , , ...; with base being relative = to the > + reg property base. > + > Example: > > sram: sram@5c000000 { > compatible =3D "mmio-sram"; > reg =3D <0x5c000000 0x40000>; /* 256 KiB SRAM at address 0x5c= 000000 */ > + mmio-sram-reserved =3D <0x0 0x100>; /* reserve 0x5c000000-0x5= c000100 */ > }; > -- > 1.7.10.4 > > -- To unsubscribe from this list: send the line "unsubscribe devicetree" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html