From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: ACJfBotxECe2m221MJL+pnJUiMF1pvngapjANz2BlNNTtckK3dOHqGt/blUEaMV0keNifCmviZTS ARC-Seal: i=1; a=rsa-sha256; t=1516222533; cv=none; d=google.com; s=arc-20160816; b=YXfFkHEPbns75saS1ittSEakik570js6lTsXufrZil1Z32sZWMqM9om1YFp29DRthH nrp3tc4jY62hgjp8bBEw5vStYK2CWhJroREgIB9Baq35pzVL+NJqCX7oTe5oGQEcC5Dn 33+CyVFInDrXerjP0x3gZFuFhtJ889At5qkXOTOaM11Yk7gtUlEHJIXRe8sZxBVeFKyH uPrRvBC0wdAphU3tIls6pBfHftFCnjiMM1gZLtrO4kN7rLik9+E0Ay/8e0aMAvpVtNTB G1Mb2FJbMvBPybeeNJYRjMSkHaTaJtXaKK/kL8fY6FCDnftQFBaWgqxKbWoRRGOOsbUC tphg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:arc-authentication-results; bh=28Io+/w5IxEzICZXtVCeP2NvIF7MQIwfNGyofyWmu8c=; b=jAef5PptsVxku1zHSMIK7UZ5/dI79nv4eJ1bi1v6kvveGnJQ7jkMYgsgx7ngYbmbvE troUQYFu5is/BvhGbdM6WY3XIBW4JJpJ+UzjYbPLunin7FqDcx86oHCuMZXPeUb8x6QB g9TiHsP0t92v5qNAUc7tlxXlR+TBEtAI3D8x1fjsEIYTs12rLAcItYG63P/wDrKzAuik BuoysWmkbCdojO5lT7Q1lk5kcky7UgwvBjOIYrY+MciPnBTSUCv9VFycAKjK86r6yfn7 d46BzMses+ByABxcVrxlmuIiBPCnpVFFec5si9ZPxIijPRg8+hEOMP7sNjHfOJ7s80Sk Ggkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of james.hogan@mips.com designates 64.235.150.224 as permitted sender) smtp.mailfrom=James.Hogan@mips.com Authentication-Results: mx.google.com; spf=pass (google.com: domain of james.hogan@mips.com designates 64.235.150.224 as permitted sender) smtp.mailfrom=James.Hogan@mips.com Date: Wed, 17 Jan 2018 20:54:00 +0000 From: James Hogan To: Mathieu Malaterre CC: Marcin Nowakowski , Greg Kroah-Hartman , , Srinivas Kandagatla , Rob Herring , "Mark Rutland" , Ralf Baechle , PrasannaKumar Muralidharan , , , Subject: Re: [PATCH v2 2/2] dts: Probe efuse for CI20 Message-ID: <20180117205359.GA27409@jhogan-linux.mipstec.com> References: <20171228212954.2922-1-malat@debian.org> <20171228212954.2922-3-malat@debian.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ONmcTkPhtkbQYSLg" Content-Disposition: inline In-Reply-To: <20171228212954.2922-3-malat@debian.org> User-Agent: Mutt/1.7.2 (2016-11-26) X-Originating-IP: [192.168.154.110] X-BESS-ID: 1516222505-637138-9131-9876-15 X-BESS-VER: 2017.17-r1801171719 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.189084 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1588064808963899871?= X-GMAIL-MSGID: =?utf-8?q?1589874559077079828?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: --ONmcTkPhtkbQYSLg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 28, 2017 at 10:29:53PM +0100, Mathieu Malaterre wrote: > MIPS Creator CI20 comes with JZ4780 SoC. Provides access to the efuse blo= ck > using jz4780 efuse driver. >=20 > Signed-off-by: Mathieu Malaterre > --- > arch/mips/configs/ci20_defconfig | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/arch/mips/configs/ci20_defconfig b/arch/mips/configs/ci20_de= fconfig > index b5f4ad8f2c45..62c63617e97a 100644 > --- a/arch/mips/configs/ci20_defconfig > +++ b/arch/mips/configs/ci20_defconfig > @@ -171,3 +171,5 @@ CONFIG_STACKTRACE=3Dy > # CONFIG_FTRACE is not set > CONFIG_CMDLINE_BOOL=3Dy > CONFIG_CMDLINE=3D"earlycon console=3DttyS4,115200 clk_ignore_unused" > +CONFIG_NVMEM=3Dy > +CONFIG_JZ4780_EFUSE=3Dy NVMEM is already implied by RTC_CLASS (which turns on RTC_NVMEM by default). I would suggest loading the defconfig: make ARCH=3Dmips ci20_defconfig Then enabling the extra configuration options you need, then create a new minimal defconfig: make ARCH=3Dmips savedefconfig Then look at the new file called "defconfig" or copy it over arch/mips/configs/ci20_defconfig, and see what changes it adds. That way you'll get the minimum you need and in the right order in the defconfig. Don't feel like you have to submit other random changes due to config changes since the defconfig was added, but if you do please do it as a separate patch to bring the defconfig up to date (i.e. just load defconfig and save it) before the patch which actually enables the EFUSE. Cheers James > --=20 > 2.11.0 >=20 >=20 --ONmcTkPhtkbQYSLg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEd80NauSabkiESfLYbAtpk944dnoFAlpft+cACgkQbAtpk944 dnrk3hAApfLDG//NIiWtvtmyTvMW0EFfxCpWDTA+zdGgPhLlM+qC58BhuBt+opqq iuGc4fxu8X4HgHyNhNlxj5A9Y+6fEPVfBHzaSVj5Bgxs/pl9SKhdT1+IZOJ3GJZ/ F2zG7OvO0IePC+4ssYQmyOvWsJwQWT50ZtHf3xrPIgnzwj6NCNRtTLZ2cfuOmszY dwKhfNILgX2Z3pgX2KbAo1/C5nG6vAmRA8lDCw/BhOILsbcvjDGArXMAtC9aGC9T zRykc1ABefERM7hSNZrbsAK1CZclmb2KaD8wdLjvk5Fgbl7T9X1X1gsyO9PDtL3f FNMao9SWEpS05ur69tsL+ARjv0XU5s+ma1a2IOqGo8JrQZBjiqzpOnt6tJHoD/eu UqOns4infil4g7OfawZ+8yYw6rutmDo6xUgYe0gaRhcu8LyZMxtjVXisGQHj74w8 Jt35NVuFzJD4E8friIwKFaU0QB5OJEhXdxkGLy725ZZjq1WdxFMhymBupnO6hU3K 8f358WvR0KyjXkYs5XZFQJPcwglv8hcjpYQVv3glIkTFkDhuRy8Svrq9LcxHZd4w eV3f52R45yJ5iOfb/1BOCVcy12ZhL8qkh9ud6d932zhqkQ4LOL8+2cE+615MWQb8 R2uJfeb9hebqH69kAHbbvyKRoGxII5IHaZJGOdxrdm+qm/vl3As= =XoTT -----END PGP SIGNATURE----- --ONmcTkPhtkbQYSLg--