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=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 13387C433F5 for ; Thu, 16 Sep 2021 12:18:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EEE4460E90 for ; Thu, 16 Sep 2021 12:18:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235940AbhIPMTe (ORCPT ); Thu, 16 Sep 2021 08:19:34 -0400 Received: from 82-65-109-163.subs.proxad.net ([82.65.109.163]:49298 "EHLO luna.linkmauve.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235737AbhIPMTd (ORCPT ); Thu, 16 Sep 2021 08:19:33 -0400 X-Greylist: delayed 327 seconds by postgrey-1.27 at vger.kernel.org; Thu, 16 Sep 2021 08:19:32 EDT Received: by luna.linkmauve.fr (Postfix, from userid 1000) id 256ABF40B33; Thu, 16 Sep 2021 14:12:41 +0200 (CEST) Date: Thu, 16 Sep 2021 14:12:40 +0200 From: Emmanuel Gil Peyrot To: Geert Uytterhoeven Cc: Srinivas Kandagatla , Greg Kroah-Hartman , Emmanuel Gil Peyrot , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] nvmem: NVMEM_NINTENDO_OTP should depend on WII Message-ID: <20210916121240.okknaglns4bjmczp@luna> Jabber-ID: linkmauve@linkmauve.fr References: <01318920709dddc4d85fe895e2083ca0eee234d8.1631611652.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4qla4vdo44bvrd6u" Content-Disposition: inline In-Reply-To: <01318920709dddc4d85fe895e2083ca0eee234d8.1631611652.git.geert+renesas@glider.be> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --4qla4vdo44bvrd6u Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, thanks for this patch, once the Wii=A0U platform will be added it will need an additional test for WIIU, but for now this is: Reviewed-by: Emmanuel Gil Peyrot On Tue, Sep 14, 2021 at 11:29:49AM +0200, Geert Uytterhoeven wrote: > The Nintendo Wii and Wii U OTP is only present on Nintendo Wii and Wii U > consoles. Hence add a dependency on WII, to prevent asking the user > about this driver when configuring a kernel without Nintendo Wii and Wii > U console support. >=20 > Fixes: 3683b761fe3a10ad ("nvmem: nintendo-otp: Add new driver for the Wii= and Wii U OTP") > Signed-off-by: Geert Uytterhoeven > --- > drivers/nvmem/Kconfig | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig > index 39854d43758be3fb..da414617a54d4b99 100644 > --- a/drivers/nvmem/Kconfig > +++ b/drivers/nvmem/Kconfig > @@ -109,6 +109,7 @@ config MTK_EFUSE > =20 > config NVMEM_NINTENDO_OTP > tristate "Nintendo Wii and Wii U OTP Support" > + depends on WII || COMPILE_TEST > help > This is a driver exposing the OTP of a Nintendo Wii or Wii U console. > =20 > --=20 > 2.25.1 --=20 Emmanuel Gil Peyrot --4qla4vdo44bvrd6u Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEjrVT1SzTln43kCLJOWgfYkb2LpAFAmFDNLQACgkQOWgfYkb2 LpA6OQgAqnp5vZBBdcMfXSA8IEnqzcZRa0PHdW/d3FK7bczJocUPNc4mvQFexP0t 7AuWaXNMOEWq2xOd05eggwhSQgB2OMZ/wtA63fKOrP5gq1QdzSN5hDzM2ew1MnyR x8x/CoMc4JOk/mmbZFSTiYx8wC3M37uCkfugZdS0actXv/2kuiWfPhUIvvlrZG92 ebYlFUQMhQX43c62Au0DUCwRy0VQJW2+lRVlIHghtrSUfey1m79qfICnt5+g5Llv DA0kchTFuBpyO2s3pGAmKnd3fCOQ8jBtqLgg3ZJNrqbfwnl3ezoS7f0tw8qQeBQy 4VVzKdfPm7I3b9Od3GDm8Suv9HIvtg== =6DDx -----END PGP SIGNATURE----- --4qla4vdo44bvrd6u-- 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=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 B5DEBC433EF for ; Thu, 16 Sep 2021 12:18:45 +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 EEAD960EE4 for ; Thu, 16 Sep 2021 12:18:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EEAD960EE4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linkmauve.fr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4H9GMk1Dcgz2yM7 for ; Thu, 16 Sep 2021 22:18:42 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linkmauve.fr (client-ip=2a01:e0a:828:c7c0:49:5ff:fe41:d261; helo=luna.linkmauve.fr; envelope-from=linkmauve@linkmauve.fr; receiver=) X-Greylist: delayed 322 seconds by postgrey-1.36 at boromir; Thu, 16 Sep 2021 22:18:14 AEST Received: from luna.linkmauve.fr (unknown [IPv6:2a01:e0a:828:c7c0:49:5ff:fe41:d261]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4H9GMB16VFz2xvV for ; Thu, 16 Sep 2021 22:18:14 +1000 (AEST) Received: by luna.linkmauve.fr (Postfix, from userid 1000) id 256ABF40B33; Thu, 16 Sep 2021 14:12:41 +0200 (CEST) Date: Thu, 16 Sep 2021 14:12:40 +0200 From: Emmanuel Gil Peyrot To: Geert Uytterhoeven Subject: Re: [PATCH] nvmem: NVMEM_NINTENDO_OTP should depend on WII Message-ID: <20210916121240.okknaglns4bjmczp@luna> Jabber-ID: linkmauve@linkmauve.fr References: <01318920709dddc4d85fe895e2083ca0eee234d8.1631611652.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4qla4vdo44bvrd6u" Content-Disposition: inline In-Reply-To: <01318920709dddc4d85fe895e2083ca0eee234d8.1631611652.git.geert+renesas@glider.be> 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: Emmanuel Gil Peyrot , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Srinivas Kandagatla , Paul Mackerras , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" --4qla4vdo44bvrd6u Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, thanks for this patch, once the Wii=A0U platform will be added it will need an additional test for WIIU, but for now this is: Reviewed-by: Emmanuel Gil Peyrot On Tue, Sep 14, 2021 at 11:29:49AM +0200, Geert Uytterhoeven wrote: > The Nintendo Wii and Wii U OTP is only present on Nintendo Wii and Wii U > consoles. Hence add a dependency on WII, to prevent asking the user > about this driver when configuring a kernel without Nintendo Wii and Wii > U console support. >=20 > Fixes: 3683b761fe3a10ad ("nvmem: nintendo-otp: Add new driver for the Wii= and Wii U OTP") > Signed-off-by: Geert Uytterhoeven > --- > drivers/nvmem/Kconfig | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig > index 39854d43758be3fb..da414617a54d4b99 100644 > --- a/drivers/nvmem/Kconfig > +++ b/drivers/nvmem/Kconfig > @@ -109,6 +109,7 @@ config MTK_EFUSE > =20 > config NVMEM_NINTENDO_OTP > tristate "Nintendo Wii and Wii U OTP Support" > + depends on WII || COMPILE_TEST > help > This is a driver exposing the OTP of a Nintendo Wii or Wii U console. > =20 > --=20 > 2.25.1 --=20 Emmanuel Gil Peyrot --4qla4vdo44bvrd6u Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEjrVT1SzTln43kCLJOWgfYkb2LpAFAmFDNLQACgkQOWgfYkb2 LpA6OQgAqnp5vZBBdcMfXSA8IEnqzcZRa0PHdW/d3FK7bczJocUPNc4mvQFexP0t 7AuWaXNMOEWq2xOd05eggwhSQgB2OMZ/wtA63fKOrP5gq1QdzSN5hDzM2ew1MnyR x8x/CoMc4JOk/mmbZFSTiYx8wC3M37uCkfugZdS0actXv/2kuiWfPhUIvvlrZG92 ebYlFUQMhQX43c62Au0DUCwRy0VQJW2+lRVlIHghtrSUfey1m79qfICnt5+g5Llv DA0kchTFuBpyO2s3pGAmKnd3fCOQ8jBtqLgg3ZJNrqbfwnl3ezoS7f0tw8qQeBQy 4VVzKdfPm7I3b9Od3GDm8Suv9HIvtg== =6DDx -----END PGP SIGNATURE----- --4qla4vdo44bvrd6u--