From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B987FC11F68 for ; Fri, 2 Jul 2021 08:57:14 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4256F613ED for ; Fri, 2 Jul 2021 08:57:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4256F613ED Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=posteo.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4GGTVJ6QmKz2yM4 for ; Fri, 2 Jul 2021 18:57:12 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=posteo.net header.i=@posteo.net header.a=rsa-sha256 header.s=2017 header.b=pANrYe4+; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=posteo.net (client-ip=185.67.36.65; helo=mout01.posteo.de; envelope-from=j.ne@posteo.net; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=posteo.net header.i=@posteo.net header.a=rsa-sha256 header.s=2017 header.b=pANrYe4+; dkim-atps=neutral Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4GGTTn5WtGz2xKM for ; Fri, 2 Jul 2021 18:56:42 +1000 (AEST) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 6E68B240029 for ; Fri, 2 Jul 2021 10:56:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1625216197; bh=TiLwUHSR7R0Qj3YVWzytod8xNxHzUWymnFs38evq0YU=; h=Date:From:To:Cc:Subject:From; b=pANrYe4+lMfhAz0DynDrXGQP7eZ/GniUVVLZO47iAPEfBeAizgHL4NroWS2mhQVH9 8ql7bbrQqFbx+sZLX20db0V1RBNdk49egLVfU/HZhq5w7Cw5Zawx/9jBYAaTqIO6K5 4d52ehvmnZMSCCpzdn0O6TFVzR5VSwIlzLfX8+jkcA7jVcF+jAg7UTbcbMEp2U94rO tqEj7hfDeWL31sPTiIb23164ZJ0A7mdbmGmlMUEKwNhtcsVkhKTpzPRGolll52Vviu 7IvPxps8Upw8rZESejcodGLUn6GSOkbZcgRoI/phSvj92TkdJencHklDm8o7iavgFW u+d4+r29kNwBw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GGTTW6dstz9rxS; Fri, 2 Jul 2021 10:56:31 +0200 (CEST) Date: Fri, 2 Jul 2021 08:56:31 +0000 From: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= To: Emmanuel Gil Peyrot Subject: Re: [PATCH v2 3/4] powerpc: wii.dts: Expose the OTP on this platform Message-ID: References: <20210519095044.4109-1-linkmauve@linkmauve.fr> <20210519095044.4109-4-linkmauve@linkmauve.fr> <20210701195655.knbcikdga57a7epx@luna> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/oh87RkuYSLgv47m" Content-Disposition: inline In-Reply-To: <20210701195655.knbcikdga57a7epx@luna> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Srinivas Kandagatla , Ash Logan , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, Jonathan =?utf-8?Q?Neusch=C3=A4fer?= Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" --/oh87RkuYSLgv47m Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=C3=A4fer wrote: > > On Wed, May 19, 2021 at 11:50:43AM +0200, Emmanuel Gil Peyrot wrote: [...] > > > + otp@d8001ec { > > > + compatible =3D "nintendo,hollywood-otp"; > > > + reg =3D <0x0d8001ec 0x8>; > >=20 > > The OTP registers overlap with the previous node, control@d800100. > > Not sure what's the best way to structure the devicetree in this case, > > maybe something roughly like the following (untested, unverified): > [snip] >=20 > I couldn=E2=80=99t get this to work, but additionally it looks like it sh= ould > start 0x100 earlier and contain pic1@d800030 and gpio@d8000c0, given > https://wiibrew.org/wiki/Hardware/Hollywood_Registers >=20 > Would it make sense, for the time being, to reduce the size of this > control@d800100 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 --/oh87RkuYSLgv47m Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEvHAHGBBjQPVy+qvDCDBEmo7zX9sFAmDe1JUACgkQCDBEmo7z X9vJqxAAyOC7GHGtEdGs0vs4QOo2/Kqcbn9qgnpKABaeF4UqeCCvRa8+mAAN3ai+ 87P+gZgBZoJb/p4bYR/kP7B4AtGBBhzAFTIyO1dLzt8bZtPpCcaOBWjKRlKGHVrH cQdBdPDTuhRbYR2iQLoweYXMiojsQqfCJVd5eEGXWEwItywRRtfZ3ZEVcPAzhNHK vhspIhK47tFZpgEK+bJza8GDjK2mgvDZp4+hNGzwKpzcjwEPgk+G4s+yT2xN0xDn 4BP7UoER6NfpyQ5NYj81sGzcgzsWwCx9Tu/HeCA8wA30xxJQ/FUptyDw3hGuMiaM DQcRjAHCI+Yil/U3tB8XoNFx+xbkgvKj/DY9bm+IkbsFKki0eK63PhdNI9R//QuG zyTpzNNEvevNwtVH6stoBBLGqMDoXw2VuzgKmFkkTt0h7L7YCI5tYQ3aoZQi+tfl wpwi+dskP0BiICvv2n0CQketiITe3b3Q+yBwwXT5chcSh+TtliwJrzHWSK+DgE2r ixqJjg4Q6nDMsO7d8gwJTV/J3NAi3nIhIiuuFvtomqecOxq5jsnpyNRQTkFd0a19 vrG//er+o0sOSrKcgD4he3K8rBzBMOt1+ZwcCgKwmlryHqB9iMqUyBXoBLHoy8s9 CH+YMx0LNscsooI19FA595BOioLN+hlf8yprR54T5eARem3j1MQ= =jObg -----END PGP SIGNATURE----- --/oh87RkuYSLgv47m--