[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180117205359.GA27409@jhogan-linux.mipstec.com>
Date: Wed, 17 Jan 2018 20:54:00 +0000
From: James Hogan <james.hogan@...s.com>
To: Mathieu Malaterre <malat@...ian.org>
CC: Marcin Nowakowski <marcin.nowakowski@...s.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<Zubair.Kakakhel@...s.com>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
"Mark Rutland" <mark.rutland@....com>,
Ralf Baechle <ralf@...ux-mips.org>,
PrasannaKumar Muralidharan <prasannatsmkumar@...il.com>,
<linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-mips@...ux-mips.org>
Subject: Re: [PATCH v2 2/2] dts: Probe efuse for CI20
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 block
> using jz4780 efuse driver.
>
> Signed-off-by: Mathieu Malaterre <malat@...ian.org>
> ---
> arch/mips/configs/ci20_defconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/mips/configs/ci20_defconfig b/arch/mips/configs/ci20_defconfig
> index b5f4ad8f2c45..62c63617e97a 100644
> --- a/arch/mips/configs/ci20_defconfig
> +++ b/arch/mips/configs/ci20_defconfig
> @@ -171,3 +171,5 @@ CONFIG_STACKTRACE=y
> # CONFIG_FTRACE is not set
> CONFIG_CMDLINE_BOOL=y
> CONFIG_CMDLINE="earlycon console=ttyS4,115200 clk_ignore_unused"
> +CONFIG_NVMEM=y
> +CONFIG_JZ4780_EFUSE=y
NVMEM is already implied by RTC_CLASS (which turns on RTC_NVMEM by
default).
I would suggest loading the defconfig:
make ARCH=mips ci20_defconfig
Then enabling the extra configuration options you need, then create a
new minimal defconfig:
make ARCH=mips 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
> --
> 2.11.0
>
>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists