Received: by 10.223.148.5 with SMTP id 5csp6382686wrq; Wed, 17 Jan 2018 12:56:44 -0800 (PST) X-Google-Smtp-Source: ACJfBosU/O15iMAgpUX8bNlJZE+6FDeONJQKMyl3y86DhGqDgUt9XC9wVfSE47dCgvHz3cDYaC/9 X-Received: by 10.98.101.71 with SMTP id z68mr17485629pfb.181.1516222604866; Wed, 17 Jan 2018 12:56:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516222604; cv=none; d=google.com; s=arc-20160816; b=ujUXgiarkvir2EwkZT7dfSG1UalfsjaxxaNU1F6qGmBmPKScKe7U4b0swmSFMc8UnH 9ljHtauFxaZWaWY15kN+z8H3y7SX66IzvPK2VXe8crwBuUeRLO8p7NAG6f5hmnOlWXLe 0JWXOTggmR/D0yM2QwWqZBXis99EtVrJoHRnq7YAAa/3Yec04aTxstvpL4z5rxV7gzDi Pwg55GWmLVRu76zSNQcGwvy1hQK0fhxeFmnDPEcipw3WF5bhpysAxDT9fmT80sxn8tzR 0t/RUyBjC2zRVNiKJm7SpVA+dSgjTRqUhY00fe4uo1NR9Zrm6lwBWRd0EsLCxILf+s2Q Kmuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=28Io+/w5IxEzICZXtVCeP2NvIF7MQIwfNGyofyWmu8c=; b=QKZSPaiylsFjJKbzZcO5LoBSjvhS8eo3xESBAzxvYDvMcVzgsVx/kz8Otr0I1r6W71 L7cToySAm4clTtBlLmmdwbBRPfMWlL+4660/NRyd2KPt56MaAglt6EJwx1i719EYzFcx LNHxY4Mjlt7AuRhycc2RM9dS80Q45JpBJ+qFo+6lnxSS0MyKny8VX+ArEWBY9Ga5G+cB N5VKE9iMRqwmqrCoijcgUIi5trwXnA1sAS1CcLUJrXfOIBgfdwp4GitdnbMvcBM5Xqez V3bkI8VEOAxPUUqEDeOgNJiKvfRJWGdT1qBeTecgzXAVa65BqLbxDLAMKP8e3P4suTa0 373g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6si4944293pfl.299.2018.01.17.12.56.30; Wed, 17 Jan 2018 12:56:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754953AbeAQUzf (ORCPT + 99 others); Wed, 17 Jan 2018 15:55:35 -0500 Received: from 9pmail.ess.barracuda.com ([64.235.150.224]:49232 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754876AbeAQUzc (ORCPT ); Wed, 17 Jan 2018 15:55:32 -0500 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx28.ess.sfj.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Wed, 17 Jan 2018 20:55:08 +0000 Received: from localhost (192.168.154.110) by MIPSMAIL01.mipstec.com (10.20.43.31) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 17 Jan 2018 12:54:02 -0800 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --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--