Re: [PATCH] nvmem: core: Mark nWP GPIO as non-exclusive
From: Bartosz Golaszewski
Date: Tue Jul 28 2026 - 04:36:40 EST
On Mon, 27 Jul 2026 15:24:11 +0200, Marek Vasut <marex@xxxxxxxxxxxx> said:
> On 7/27/26 3:10 PM, Bartosz Golaszewski wrote:
>
> Hello Bartosz,
>
>>>> No, this is literally how you do it. If you enable HAVE_SHARED_GPIOs and
>>>> DEBUG_GPIO, you should see it being picked up in the kernel log.
>>> Ah, HAVE_SHARED_GPIOS is what I did not have enabled. Is there any
>>> reason why this is not enabled by default ?
>>>
>>
>> It will be. I'm doing it gradually. It's enabled for Qualcomm platforms by
>> default and - by extension - in arm64 defconfig. I plan to enable it for other
>> platforms and architectures too, I just don't want to rush it. Enabling it for
>> arm64 defconfig had caused quite a lot of regressions a few months ago so I
>> prefer to be careful.
>>
>> What platform are you running this on?
> NXP i.MX8M Nano (arm64)
>
Just consider sending the following once you can make this work for you?
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index d2acfac730037..a02b37c752887 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -281,6 +281,7 @@ config ARCH_MXC
select PM_GENERIC_DOMAINS
select SOC_BUS
select TIMER_IMX_SYS_CTR
+ select HAVE_SHARED_GPIOS
help
This enables support for the ARMv8 based SoCs in the
NXP i.MX family.
Thanks,
Bartosz