From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 24 Nov 2015 10:32:02 +0100 From: Maxime Ripard To: Sugar Wu Cc: linux-sunxi , atx@atx.name, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, gpatchesrdh@mveas.com, mturquette@linaro.org, hdegoede@redhat.com, sboyd@codeaurora.org, mturquette@baylibre.com, emilio@elopez.com.ar, linux@arm.linux.org.uk, edubezval@gmail.com, rui.zhang@intel.com, wens@csie.org, galak@codeaurora.org, ijc+devicetree@hellion.org.uk, mark.rutland@arm.com, pawel.moll@arm.com, robh+dt@kernel.org Subject: Re: [linux-sunxi] Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node Message-ID: <20151124093202.GL32142@lukather> References: <20151123124356.GW32142@lukather> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9RXjJcDGNuBviZqz" In-Reply-To: List-ID: --9RXjJcDGNuBviZqz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 23, 2015 at 10:51:15PM -0800, Sugar Wu wrote: > On Monday, November 23, 2015 at 8:43:59 PM UTC+8, Maxime Ripard wrote: > > > > Hi,=20 > > > > On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote:=20 > > > Add a node describing the Security ID memory to the=20 > > > Allwinner H3 .dtsi file.=20 > > >=20 > > > Signed-off-by: Josef Gajdusek >=20 > > > ---=20 > > > arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++++++=20 > > > 1 file changed, 7 insertions(+)=20 > > >=20 > > > diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi=20 > > b/arch/arm/boot/dts/sun8i-h3.dtsi=20 > > > index 0faa38a..58de718 100644=20 > > > --- a/arch/arm/boot/dts/sun8i-h3.dtsi=20 > > > +++ b/arch/arm/boot/dts/sun8i-h3.dtsi=20 > > > @@ -359,6 +359,13 @@=20 > > > #size-cells =3D <0>;=20 > > > };=20 > > > =20 > > > + sid: eeprom@01c14000 {=20 > > > + compatible =3D "allwinner,sun4i-a10-sid";=20 > > > + reg =3D <0x01c14000 0x400>;=20 > > > > The datasheet says it's 256 bytes wide, while the size here is of 1kB,= =20 > > is it intentional?=20 >=20 > SID memory map is 0x01c14000 ~ 0x01c143FF, include 2048bits efuse space. > H3 efuse space is SID_SRAM, its range is 0x01c14200 ~ +0x100. Interesting, what is below the 0x200 registers? Thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --9RXjJcDGNuBviZqz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWVC6SAAoJEBx+YmzsjxAgwTAP/R45EtEM0V4qyz9Xbt7PVG4p lgawU8F23DNUZm1piP9JGY/MYxUGTS1E2N3kzAnvfCXUTw9+jns57qQrOIuYTmwQ td8D/Cnvm7xAeFCatj4k/Gs3h5YnbJ0WA8098p+0MxOZI/0VxlMALaNVhPd32piJ +5mBPnV6vc7yjq7tP7GMwpyTgn6jeyLXRyTx8bCrQx99Bd2E/pSK4C51HP4NZGTq S/zD6UI0ddcTIqp3/h7R/stfeAPMfG2U76xIxgIO4Ee7hBpt7n3dKLjoxQEXR9xs d7pXouMv4qt0Dp8FQOKSO2KR/13AptiwIXAiv8pKeyvJx9jehmDBPS3zWcJRKY8F tgMX+yw0qfm0vGUbM71MaZuuQ6p83ubxzjCXOHVeXJzpxMDTjTmjfuz+BRfijU2T d4xA0IGY9DTFCI2tU62QZWghAXV20oNbCZfBOn2meuIw5+TR1iOV25sI46WYci+9 g3qSWeGnRXUovCSEJrPSPWGjKT29z2LoOUXZ6Gy1jHwjF+h9WelL/c0CIq8K6VIA BBzfRa3ny7qC/i8xQRGXIXSbS+DuJB51/9r++AcJQtq9QcFnE/PDN46RvfE6fBU7 e8QI2wcWw5ff+XoZGBaDFWohL5uedLf6en883AnWbhLP7uZ2Rnh2Si6aTEnH7KVI tuziPbgkbQid7tpiEfj5 =bhP/ -----END PGP SIGNATURE----- --9RXjJcDGNuBviZqz-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node Date: Tue, 24 Nov 2015 10:32:02 +0100 Message-ID: <20151124093202.GL32142@lukather> References: <20151123124356.GW32142@lukather> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9RXjJcDGNuBviZqz" Return-path: Content-Disposition: inline In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Sugar Wu Cc: linux-sunxi , atx-MwjtXicnQwU@public.gmane.org, linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, gpatchesrdh-I1/eAgTnXDYAvxtiuMwx3w@public.gmane.org, mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, mturquette-rdvid1DuHRBWk0Htik3J/w@public.gmane.org, emilio-0Z03zUJReD5OxF6Tv1QG9Q@public.gmane.org, linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org, edubezval-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, rui.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, wens-jdAy2FN1RRM@public.gmane.org, galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, pawel.moll-5wv7dgnIgG8@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org List-Id: linux-pm@vger.kernel.org --9RXjJcDGNuBviZqz Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Mon, Nov 23, 2015 at 10:51:15PM -0800, Sugar Wu wrote: > On Monday, November 23, 2015 at 8:43:59 PM UTC+8, Maxime Ripard wrote: > > > > Hi, > > > > On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote: > > > Add a node describing the Security ID memory to the > > > Allwinner H3 .dtsi file. > > > > > > Signed-off-by: Josef Gajdusek > > > > --- > > > arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++++++ > > > 1 file changed, 7 insertions(+) > > > > > > diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi > > b/arch/arm/boot/dts/sun8i-h3.dtsi > > > index 0faa38a..58de718 100644 > > > --- a/arch/arm/boot/dts/sun8i-h3.dtsi > > > +++ b/arch/arm/boot/dts/sun8i-h3.dtsi > > > @@ -359,6 +359,13 @@ > > > #size-cells = <0>; > > > }; > > > > > > + sid: eeprom@01c14000 { > > > + compatible = "allwinner,sun4i-a10-sid"; > > > + reg = <0x01c14000 0x400>; > > > > The datasheet says it's 256 bytes wide, while the size here is of 1kB, > > is it intentional? > > SID memory map is 0x01c14000 ~ 0x01c143FF, include 2048bits efuse space. > H3 efuse space is SID_SRAM, its range is 0x01c14200 ~ +0x100. Interesting, what is below the 0x200 registers? Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --9RXjJcDGNuBviZqz-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Tue, 24 Nov 2015 10:32:02 +0100 Subject: [linux-sunxi] Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node In-Reply-To: References: <20151123124356.GW32142@lukather> Message-ID: <20151124093202.GL32142@lukather> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Nov 23, 2015 at 10:51:15PM -0800, Sugar Wu wrote: > On Monday, November 23, 2015 at 8:43:59 PM UTC+8, Maxime Ripard wrote: > > > > Hi, > > > > On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote: > > > Add a node describing the Security ID memory to the > > > Allwinner H3 .dtsi file. > > > > > > Signed-off-by: Josef Gajdusek > > > > --- > > > arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++++++ > > > 1 file changed, 7 insertions(+) > > > > > > diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi > > b/arch/arm/boot/dts/sun8i-h3.dtsi > > > index 0faa38a..58de718 100644 > > > --- a/arch/arm/boot/dts/sun8i-h3.dtsi > > > +++ b/arch/arm/boot/dts/sun8i-h3.dtsi > > > @@ -359,6 +359,13 @@ > > > #size-cells = <0>; > > > }; > > > > > > + sid: eeprom at 01c14000 { > > > + compatible = "allwinner,sun4i-a10-sid"; > > > + reg = <0x01c14000 0x400>; > > > > The datasheet says it's 256 bytes wide, while the size here is of 1kB, > > is it intentional? > > SID memory map is 0x01c14000 ~ 0x01c143FF, include 2048bits efuse space. > H3 efuse space is SID_SRAM, its range is 0x01c14200 ~ +0x100. Interesting, what is below the 0x200 registers? Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: