[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YN7Uv/43TwL4+9ic@latitude>
Date: Fri, 2 Jul 2021 08:56:31 +0000
From: Jonathan Neuschäfer <j.ne@...teo.net>
To: Emmanuel Gil Peyrot <linkmauve@...kmauve.fr>
Cc: Jonathan Neuschäfer <j.ne@...teo.net>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
linuxppc-dev@...ts.ozlabs.org, devicetree@...r.kernel.org,
Ash Logan <ash@...quark.com>, Rob Herring <robh+dt@...nel.org>,
Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/4] powerpc: wii.dts: Expose the OTP on this platform
On Thu, Jul 01, 2021 at 09:56:55PM +0200, Emmanuel Gil Peyrot wrote:
> On Sat, Jun 26, 2021 at 11:34:01PM +0000, Jonathan Neuschäfer wrote:
> > On Wed, May 19, 2021 at 11:50:43AM +0200, Emmanuel Gil Peyrot wrote:
[...]
> > > + otp@...01ec {
> > > + compatible = "nintendo,hollywood-otp";
> > > + reg = <0x0d8001ec 0x8>;
> >
> > The OTP registers overlap with the previous node, control@...0100.
> > Not sure what's the best way to structure the devicetree in this case,
> > maybe something roughly like the following (untested, unverified):
> [snip]
>
> I couldn’t get this to work, but additionally it looks like it should
> start 0x100 earlier and contain pic1@...0030 and gpio@...00c0, given
> https://wiibrew.org/wiki/Hardware/Hollywood_Registers
>
> Would it make sense, for the time being, to reduce the size of this
> control@...0100 device to the single register currently being used by
> arch/powerpc/platforms/embedded6xx/wii.c (0xd800194, used to reboot the
> system) and leave the refactor of restart + OTP + PIC + GPIO for a
> future series?
Makes sense to me!
Jonathan
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists