From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sugar Wu Subject: Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node Date: Mon, 23 Nov 2015 19:24:40 -0800 (PST) Message-ID: <077cd975-1f91-40fe-ab05-2381e4fb6448@googlegroups.com> References: <20151123124356.GW32142@lukather> Reply-To: shugelinux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7547_2088280689.1448335481093" Return-path: In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: linux-sunxi Cc: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, 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 ------=_Part_7547_2088280689.1448335481093 Content-Type: multipart/alternative; boundary="----=_Part_7548_1988214271.1448335481094" ------=_Part_7548_1988214271.1448335481094 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I will give you the right widths as soon. =E5=9C=A8 2015=E5=B9=B411=E6=9C=8824=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=8C UT= C+8=E4=B8=8A=E5=8D=8811:13:41=EF=BC=8CChen-Yu Tsai=E5=86=99=E9=81=93=EF=BC= =9A > > Hi,=20 > > On Mon, Nov 23, 2015 at 8:43 PM, Maxime Ripard=20 > > wrote:=20 > > Hi,=20 > >=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 > >=20 > > The datasheet says it's 256 bytes wide, while the size here is of 1kB,= =20 > > is it intentional?=20 > > My H3 datasheet (v1.1) says its 1 kB wide.=20 > > It'd be nice if Allwinner actually listed the "usable" E-fuse offsets=20 > and widths, instead of having us dig through the SDK code.=20 > > Regards=20 > ChenYu=20 > --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout. ------=_Part_7548_1988214271.1448335481094 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I will give you the right=C2=A0widths as soon.

=E5= =9C=A8 2015=E5=B9=B411=E6=9C=8824=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=8C UTC+8= =E4=B8=8A=E5=8D=8811:13:41=EF=BC=8CChen-Yu Tsai=E5=86=99=E9=81=93=EF=BC=9A<= blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bord= er-left: 1px #ccc solid;padding-left: 1ex;">Hi,

On Mon, Nov 23, 2015 at 8:43 PM, Maxime Ripard
<maxime...@free-electrons.com> 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 <a...-MwjtXicnQwU@public.gmane.org>
>> ---
>> =C2=A0arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++++++
>> =C2=A01 file changed, 7 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/b= oot/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 @@
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 #size-cells =3D <0>;
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 };
>>
>> + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sid: eeprom@01c140= 00 {
>> + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 compatible =3D "allwinner,sun4i-a10-sid";
>> + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 reg =3D <0x01c14000 0x400>;
>
> The datasheet says it's 256 bytes wide, while the size here is= of 1kB,
> is it intentional?

My H3 datasheet (v1.1) says its 1 kB wide.

It'd be nice if Allwinner actually listed the "usable" E-= fuse offsets
and widths, instead of having us dig through the SDK code.

Regards
ChenYu

--
You received this message because you are subscribed to the Google Groups &= quot;linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-s= unxi+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_7548_1988214271.1448335481094-- ------=_Part_7547_2088280689.1448335481093--