* [PATCH] ARM: defconfig: lpc32xx: enable lpc32xx GPIO driver
@ 2019-08-07 14:04 Sylvain Lemieux
2019-08-08 15:06 ` Arnd Bergmann
0 siblings, 1 reply; 4+ messages in thread
From: Sylvain Lemieux @ 2019-08-07 14:04 UTC (permalink / raw)
To: vz, arnd; +Cc: Sylvain Lemieux, linux-arm-kernel
From: Sylvain Lemieux <slemieux@tycoint.com>
The change that allow the multiplatform build for the lpc32xx
platform add a new kernel config for the LPC32XX GPIO driver.
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
---
Note:
* This patch depend on the following patchset:
ARM: move lpc32xx and dove to multiplatform
https://www.spinics.net/lists/linux-usb/msg183095.html
arch/arm/configs/lpc32xx_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/lpc32xx_defconfig b/arch/arm/configs/lpc32xx_defconfig
index 2d75bd8..09deb57 100644
--- a/arch/arm/configs/lpc32xx_defconfig
+++ b/arch/arm/configs/lpc32xx_defconfig
@@ -94,6 +94,7 @@ CONFIG_SERIAL_HS_LPC32XX_CONSOLE=y
# CONFIG_HW_RANDOM is not set
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_PNX=y
+CONFIG_GPIO_LPC32XX=y
CONFIG_SPI=y
CONFIG_SPI_PL022=y
CONFIG_GPIO_SYSFS=y
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: defconfig: lpc32xx: enable lpc32xx GPIO driver
2019-08-07 14:04 [PATCH] ARM: defconfig: lpc32xx: enable lpc32xx GPIO driver Sylvain Lemieux
@ 2019-08-08 15:06 ` Arnd Bergmann
2019-08-08 16:19 ` Sylvain Lemieux
0 siblings, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2019-08-08 15:06 UTC (permalink / raw)
To: Sylvain Lemieux; +Cc: Sylvain Lemieux, Linux ARM, Vladimir Zapolskiy
On Wed, Aug 7, 2019 at 4:06 PM Sylvain Lemieux <slemieux.tyco@gmail.com> wrote:
>
> From: Sylvain Lemieux <slemieux@tycoint.com>
>
> The change that allow the multiplatform build for the lpc32xx
> platform add a new kernel config for the LPC32XX GPIO driver.
>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
> ---
> Note:
> * This patch depend on the following patchset:
> ARM: move lpc32xx and dove to multiplatform
> https://www.spinics.net/lists/linux-usb/msg183095.html
I did not think this was needed, as I added
config GPIO_LPC32XX
tristate "NXP LPC32XX GPIO support"
default ARCH_LPC32XX
depends on OF_GPIO && (ARCH_LPC32XX || COMPILE_TEST)
so when running 'make lpc32xx_defconfig', I expected the
driver to already be enabled. Did I miss something?
Arnd
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: defconfig: lpc32xx: enable lpc32xx GPIO driver
2019-08-08 15:06 ` Arnd Bergmann
@ 2019-08-08 16:19 ` Sylvain Lemieux
2019-08-09 14:22 ` Arnd Bergmann
0 siblings, 1 reply; 4+ messages in thread
From: Sylvain Lemieux @ 2019-08-08 16:19 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: Sylvain Lemieux, Linux ARM, Vladimir Zapolskiy
On 8/8/19 11:06 AM, Arnd Bergmann wrote:
> On Wed, Aug 7, 2019 at 4:06 PM Sylvain Lemieux <slemieux.tyco@gmail.com> wrote:
>>
>> From: Sylvain Lemieux <slemieux@tycoint.com>
>>
>> The change that allow the multiplatform build for the lpc32xx
>> platform add a new kernel config for the LPC32XX GPIO driver.
>>
>> Cc: Arnd Bergmann <arnd@arndb.de>
>> Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
>> ---
>> Note:
>> * This patch depend on the following patchset:
>> ARM: move lpc32xx and dove to multiplatform
>> https://www.spinics.net/lists/linux-usb/msg183095.html
>
> I did not think this was needed, as I added
>
> config GPIO_LPC32XX
> tristate "NXP LPC32XX GPIO support"
> default ARCH_LPC32XX
> depends on OF_GPIO && (ARCH_LPC32XX || COMPILE_TEST)
>
> so when running 'make lpc32xx_defconfig', I expected the
> driver to already be enabled. Did I miss something?
>
The GPIO driver is enable. This change is optional.
I added this new config to the default LPC32xx defconfig
to keep in sync with what is done for the other LPC32xx drivers.
All the LPC32xx drivers config option are listed in the defconfig.
> Arnd
>
Sylvain
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: defconfig: lpc32xx: enable lpc32xx GPIO driver
2019-08-08 16:19 ` Sylvain Lemieux
@ 2019-08-09 14:22 ` Arnd Bergmann
0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2019-08-09 14:22 UTC (permalink / raw)
To: Sylvain Lemieux; +Cc: Sylvain Lemieux, Linux ARM, Vladimir Zapolskiy
On Thu, Aug 8, 2019 at 6:19 PM Sylvain Lemieux <slemieux.tyco@gmail.com> wrote:
> On 8/8/19 11:06 AM, Arnd Bergmann wrote:
> > On Wed, Aug 7, 2019 at 4:06 PM Sylvain Lemieux <slemieux.tyco@gmail.com> wrote:
> >>
> >> From: Sylvain Lemieux <slemieux@tycoint.com>
> >>
> >> The change that allow the multiplatform build for the lpc32xx
> >> platform add a new kernel config for the LPC32XX GPIO driver.
> >>
> >> Cc: Arnd Bergmann <arnd@arndb.de>
> >> Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
> >> ---
> >> Note:
> >> * This patch depend on the following patchset:
> >> ARM: move lpc32xx and dove to multiplatform
> >> https://www.spinics.net/lists/linux-usb/msg183095.html
> >
> > I did not think this was needed, as I added
> >
> > config GPIO_LPC32XX
> > tristate "NXP LPC32XX GPIO support"
> > default ARCH_LPC32XX
> > depends on OF_GPIO && (ARCH_LPC32XX || COMPILE_TEST)
> >
> > so when running 'make lpc32xx_defconfig', I expected the
> > driver to already be enabled. Did I miss something?
> >
> The GPIO driver is enable. This change is optional.
>
> I added this new config to the default LPC32xx defconfig
> to keep in sync with what is done for the other LPC32xx drivers.
>
> All the LPC32xx drivers config option are listed in the defconfig.
Ok, I just removed the 'default ARCH_LPC32XX' now, and added your
line to the gpio driver patch. That way it behaves like all other
lpc32xx drivers and the defconfig line won't disappear after one
runs 'make savedefconfig'.
Arnd
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-08-09 14:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-07 14:04 [PATCH] ARM: defconfig: lpc32xx: enable lpc32xx GPIO driver Sylvain Lemieux
2019-08-08 15:06 ` Arnd Bergmann
2019-08-08 16:19 ` Sylvain Lemieux
2019-08-09 14:22 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).