Re: [PATCH 1/8] gpio: Add Elba SoC gpio driver for spi cs control
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-10-04 17:16:23
Also in:
linux-arm-kernel, linux-gpio, linux-mmc, linux-spi, lkml
Hi Brad, On Mon, Oct 4, 2021 at 7:14 PM Brad Larson [off-list ref] wrote:
On Mon, Aug 23, 2021 at 1:11 PM Geert Uytterhoeven [off-list ref] wrote:quoted
On Mon, Aug 23, 2021 at 6:31 PM Brad Larson [off-list ref] wrote:quoted
On Mon, Aug 23, 2021 at 12:50 AM Geert Uytterhoeven [off-list ref] wrote:quoted
On Mon, Aug 23, 2021 at 3:14 AM Brad Larson [off-list ref] wrote:quoted
On Mon, Mar 29, 2021 at 3:40 AM Andy Shevchenko[...]quoted
quoted
Regarding the above module question and Kconfig definition, since I first looked at this and reviewed the comments I realized I should be using builtin. The file gpio/Kconfig is currently this config GPIO_ELBA_SPICS def_bool y depends on ARCH_PENSANDO_ELBA_SOC || COMPILE_TESTThat means the driver will default to yes by merely enabling COMPILE_TEST, which is a no-go. config GPIO_ELBA_SPICS bool "one-line summary" depends on ARCH_PENSANDO_ELBA_SOC || COMPILE_TEST default y if ARCH_PENSANDO_ELBA_SOCThanks Geert, changed to this--- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig@@ -241,8 +241,9 @@ config GPIO_EIC_SPRD Say yes here to support Spreadtrum EIC device. config GPIO_ELBA_SPICS + bool "Pensando Elba SoC SPI Chip Select as GPIO support" + depends on ARCH_PENSANDO_ELBA_SOC def_bool y - depends on ARCH_PENSANDO_ELBA_SOC || COMPILE_TESTSo we're losing the COMPILE_TEST ability again?Hi Geert, The gpio-elba-spics.c driver is being deleted with the spi chip-select control integrated into spi-dw-mmio.c. The GPIO_ELBA_SPICS config option goes away and fixes my breakage of COMPILE_TEST.
OK. Thanks for the follow-up.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds