diff mbox

[1/7] ARM: multi_v7_defconfig: add OCOTP driver for NXP SoCs

Message ID 20180318203442.19759-1-stefan@agner.ch (mailing list archive)
State New, archived
Headers show

Commit Message

Stefan Agner March 18, 2018, 8:34 p.m. UTC
Enable on-chip OTP NVMEM support for NXP i.MX and VF610 SoCs.
Since OTP values might be required by drivers required during
boot, make sure the driver is built-in (e.g. i.MX thermal
driver).

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Shawn Guo March 26, 2018, 7:32 a.m. UTC | #1
On Sun, Mar 18, 2018 at 09:34:36PM +0100, Stefan Agner wrote:
> Enable on-chip OTP NVMEM support for NXP i.MX and VF610 SoCs.
> Since OTP values might be required by drivers required during
> boot, make sure the driver is built-in (e.g. i.MX thermal
> driver).
> 
> Signed-off-by: Stefan Agner <stefan@agner.ch>

Arnd,

The series looks good to me.  In general, I keep myself away from
multi_v7_defconfig changes, but if you expect a pull-request from me, I
can do that.  Let me know how you want to apply the patches.

Shawn
Arnd Bergmann March 27, 2018, 1:40 p.m. UTC | #2
On Mon, Mar 26, 2018 at 9:32 AM, Shawn Guo <shawnguo@kernel.org> wrote:
> On Sun, Mar 18, 2018 at 09:34:36PM +0100, Stefan Agner wrote:
>> Enable on-chip OTP NVMEM support for NXP i.MX and VF610 SoCs.
>> Since OTP values might be required by drivers required during
>> boot, make sure the driver is built-in (e.g. i.MX thermal
>> driver).
>>
>> Signed-off-by: Stefan Agner <stefan@agner.ch>
>
> Arnd,
>
> The series looks good to me.  In general, I keep myself away from
> multi_v7_defconfig changes, but if you expect a pull-request from me, I
> can do that.  Let me know how you want to apply the patches.

I would generally prefer that your defconfig pull requests contain changes
to both the imx specific and the generic defconfig files. It's much easier
for me to handle any conflicts when they arise during a merge than
to pick up the individual patches.

I applied all seven this time, to make sure we get them into linux-next
for more testing.

      Arnd
Shawn Guo April 9, 2018, 11:46 a.m. UTC | #3
On Tue, Mar 27, 2018 at 03:40:33PM +0200, Arnd Bergmann wrote:
> On Mon, Mar 26, 2018 at 9:32 AM, Shawn Guo <shawnguo@kernel.org> wrote:
> > On Sun, Mar 18, 2018 at 09:34:36PM +0100, Stefan Agner wrote:
> >> Enable on-chip OTP NVMEM support for NXP i.MX and VF610 SoCs.
> >> Since OTP values might be required by drivers required during
> >> boot, make sure the driver is built-in (e.g. i.MX thermal
> >> driver).
> >>
> >> Signed-off-by: Stefan Agner <stefan@agner.ch>
> >
> > Arnd,
> >
> > The series looks good to me.  In general, I keep myself away from
> > multi_v7_defconfig changes, but if you expect a pull-request from me, I
> > can do that.  Let me know how you want to apply the patches.
> 
> I would generally prefer that your defconfig pull requests contain changes
> to both the imx specific and the generic defconfig files. It's much easier
> for me to handle any conflicts when they arise during a merge than
> to pick up the individual patches.

Noted, thanks for the comments, Arnd.

Shawn
diff mbox

Patch

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index da7387689b88..6395425854cc 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -917,7 +917,9 @@  CONFIG_PHY_SAMSUNG_USB2=m
 CONFIG_PHY_TEGRA_XUSB=y
 CONFIG_PHY_BRCM_SATA=y
 CONFIG_NVMEM=y
+CONFIG_NVMEM_IMX_OCOTP=y
 CONFIG_NVMEM_SUNXI_SID=y
+CONFIG_NVMEM_VF610_OCOTP=y
 CONFIG_BCM2835_MBOX=y
 CONFIG_RASPBERRYPI_FIRMWARE=y
 CONFIG_EFI_VARS=m