pc104: Mask PC/104 Kconfig options
cover pc104: Mask PC/104 Kconfig options
PC/104 form factor devices serve a specific niche of embedded system users. Since PC/104 devices and hardware are typically used by just a subset of Linux users, it would be appropriate to filter PC/104 related Kconfig options for those uninterested.
This patchset introduces the PC104 Kconfig option, and uses it to mask PC/104 specific device drivers and options, so that only those users interested in PC/104 related Kconfig options are exposed to them.
William Breathitt Gray (3):
pc104: Introduce the PC104 Kconfig option
gpio: pc104: Mask PC/104 drivers via PC104 Kconfig option
iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option
drivers/gpio/Kconfig | 8 ++++---- drivers/iio/adc/Kconfig | 2 +- drivers/iio/counter/Kconfig | 2 +- init/Kconfig | 7 +++++++ 4 files changed, 13 insertions(+), 6 deletions(-)
Signature · 1 line
2.11.0
PATCH 1/3 pc104: Introduce the PC104 Kconfig option
PC/104 form factor devices serve a specific niche of embedded system users; most Linux users will not have PC/104 form factor devices. This patch introduces the PC104 Kconfig option, which should be used to filter PC/104 specific device drivers and options, so that only those users interested in PC/104 related options are exposed to them.
--- init/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+)
init/Kconfig +7 -0
@@ -1716,6 +1716,13 @@ config PERF_USE_VMALLOC help See tools/perf/design.txt for details +config PC104 + bool "PC/104 support" + help + Expose PC/104 form factor device drivers and options available for + selection and configuration. Enable this option if your target + machine has a PC/104 bus. + menu "Kernel Performance Events And Counters" config PERF_EVENTS
Signature · 1 line
2.11.0
PATCH 2/3 gpio: pc104: Mask PC/104 drivers via PC104 Kconfig option
In reply to William Breathitt GrayPC/104 drivers should be hidden on machines which do not support PC/104 devices. This patch adds the PC104 Kconfig option as a dependency for the relevant PC/104 device driver Kconfig options.
--- drivers/gpio/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpio/Kconfig +4 -4
@@ -539,7 +539,7 @@ menu "Port-mapped I/O GPIO drivers" config GPIO_104_DIO_48E tristate "ACCES 104-DIO-48E GPIO support" - depends on ISA_BUS_API + depends on PC104 && ISA_BUS_API select GPIOLIB_IRQCHIP help Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E,
@@ -549,7 +549,7 @@ config GPIO_104_DIO_48E config GPIO_104_IDIO_16 tristate "ACCES 104-IDIO-16 GPIO support" - depends on ISA_BUS_API + depends on PC104 && ISA_BUS_API select GPIOLIB_IRQCHIP help Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
@@ -560,7 +560,7 @@ config GPIO_104_IDIO_16 config GPIO_104_IDI_48 tristate "ACCES 104-IDI-48 GPIO support" - depends on ISA_BUS_API + depends on PC104 && ISA_BUS_API select GPIOLIB_IRQCHIP help Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
@@ -580,7 +580,7 @@ config GPIO_F7188X config GPIO_GPIO_MM tristate "Diamond Systems GPIO-MM GPIO support" - depends on ISA_BUS_API + depends on PC104 && ISA_BUS_API help Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12.
Signature · 1 line
2.11.0
Re: [PATCH 2/3] gpio: pc104: Mask PC/104 drivers via PC104 Kconfig option
Quoted 7 lines · William Breathitt Gray
PC/104 drivers should be hidden on machines which do not support PC/104 devices. This patch adds the PC104
Kconfigoption as a dependency for the relevant PC/104 device driverKconfigoptions.Cc Linus Walleij <[email protected]>Cc Alexandre Courbot <[email protected]>Signed-off-by William Breathitt Gray <[email protected]>
Patch applied.
Yours,
Linus Walleij
PATCH 3/3 iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option
In reply to William Breathitt GrayPC/104 drivers should be hidden on machines which do not support PC/104 devices. This patch adds the PC104 Kconfig option as a dependency for the relevant PC/104 device driver Kconfig options.
--- drivers/iio/adc/Kconfig | 2 +- drivers/iio/counter/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/iio/adc/Kconfig +1 -1
@@ -465,7 +465,7 @@ config STM32_ADC config STX104 tristate "Apex Embedded Systems STX104 driver" - depends on X86 && ISA_BUS_API + depends on PC104 && X86 && ISA_BUS_API select GPIOLIB help Say yes here to build support for the Apex Embedded Systems STX104
drivers/iio/counter/Kconfig +1 -1
@@ -7,7 +7,7 @@ menu "Counters" config 104_QUAD_8 tristate "ACCES 104-QUAD-8 driver" - depends on X86 && ISA_BUS_API + depends on PC104 && X86 && ISA_BUS_API help Say yes here to build support for the ACCES 104-QUAD-8 quadrature encoder counter/interface device family (104-QUAD-8, 104-QUAD-4).
Signature · 1 line
2.11.0
Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option
Quoted 9 lines · William Breathitt Gray
PC/104 drivers should be hidden on machines which do not support PC/104 devices. This patch adds the PC104
Kconfigoption as a dependency for the relevant PC/104 device driverKconfigoptions.Cc Jonathan Cameron <[email protected]>Cc Hartmut Knaack <[email protected]>Cc Lars-Peter Clausen <[email protected]>Cc Peter Meerwald-Stadler <[email protected]>Signed-off-by William Breathitt Gray <[email protected]>
Now the question is how to merge this one. Let me know if you want me to take this one via IIO after the first patch is in. If you want to take it another route I'm fine with that.
Jonathan
Quoted 32 lines
--- drivers/iio/adc/Kconfig | 2 +- drivers/iio/counter/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/iio/adc/Kconfig +1
-1@@ -465,7 +465,7 @@ config STM32_ADC config STX104 tristate "Apex Embedded Systems STX104 driver" - depends on X86 && ISA_BUS_API + depends on PC104 && X86 && ISA_BUS_API select GPIOLIB help Say yes here to build support for the Apex Embedded Systems STX104drivers/iio/counter/Kconfig +1
-1@@ -7,7 +7,7 @@ menu "Counters" config 104_QUAD_8 tristate "ACCES 104-QUAD-8 driver" - depends on X86 && ISA_BUS_API + depends on PC104 && X86 && ISA_BUS_API help Say yes here to build support for the ACCES 104-QUAD-8 quadrature encoder counter/interface device family (104-QUAD-8, 104-QUAD-4).
Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option
Quoted 10 lines · Jonathan Cameron
Quoted 9 lines · William Breathitt Gray
PC/104 drivers should be hidden on machines which do not support PC/104 devices. This patch adds the PC104
Kconfigoption as a dependency for the relevant PC/104 device driverKconfigoptions.Cc Jonathan Cameron <[email protected]>Cc Hartmut Knaack <[email protected]>Cc Lars-Peter Clausen <lars-Qo5EllUWu/[email protected]>Cc Peter Meerwald-Stadler <[email protected]>Signed-off-by William Breathitt Gray <[email protected]>
Quoted 7 lines
Acked-by Jonathan Cameron <[email protected]>Now the question is how to merge this one. Let me know if you want me to take this one via IIO after the first patch is in. If you want to take it another route I'm fine with that.
Jonathan
This is such a simple patchset that I envision Greg K-H picking up all three patches via driver-core; however, I'm pretty indifferent about the ultimate path in the end. I'll leave it up to Greg K-H to decide.
William Breathitt Gray
Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option
Quoted 17 lines · William Breathitt Gray
Quoted 16 lines · Jonathan Cameron
Quoted 9 lines · William Breathitt Gray
PC/104 drivers should be hidden on machines which do not support PC/104 devices. This patch adds the PC104
Kconfigoption as a dependency for the relevant PC/104 device driverKconfigoptions.Cc Jonathan Cameron <[email protected]>Cc Hartmut Knaack <[email protected]>Cc Lars-Peter Clausen <[email protected]>Cc Peter Meerwald-Stadler <[email protected]>Signed-off-by William Breathitt Gray <[email protected]>Acked-by Jonathan Cameron <[email protected]>Now the question is how to merge this one. Let me know if you want me to take this one via IIO after the first patch is in. If you want to take it another route I'm fine with that.
Quoted 5 lines
Quoted 1 line
Jonathan
This is such a simple patchset that I envision Greg K-H picking up all three patches via driver-core; however, I'm pretty indifferent about the ultimate path in the end. I'll leave it up to Greg K-H to decide.
As long as Greg merges the first patch we can merge the two others orthogonally I think.
It's just Kconfig symbols, not things that break compile.
(But I bet someone will come with automated warnings about unused symbols in the kernel...)
Yours,
Linus Walleij
Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option
Quoted 25 lines · Linus Walleij
Quoted 17 lines · William Breathitt Gray
Quoted 16 lines · Jonathan Cameron
Quoted 9 lines · William Breathitt Gray
PC/104 drivers should be hidden on machines which do not support PC/104 devices. This patch adds the PC104
Kconfigoption as a dependency for the relevant PC/104 device driverKconfigoptions.Cc Jonathan Cameron <[email protected]>Cc Hartmut Knaack <[email protected]>Cc Lars-Peter Clausen <[email protected]>Cc Peter Meerwald-Stadler <[email protected]>Signed-off-by William Breathitt Gray <[email protected]>Acked-by Jonathan Cameron <[email protected]>Now the question is how to merge this one. Let me know if you want me to take this one via IIO after the first patch is in. If you want to take it another route I'm fine with that.
Quoted 5 lines
Quoted 1 line
Jonathan
This is such a simple patchset that I envision Greg K-H picking up all three patches via driver-core; however, I'm pretty indifferent about the ultimate path in the end. I'll leave it up to Greg K-H to decide.
Quoted 7 lines
As long as Greg merges the first patch we can merge the two others orthogonally I think.
It's just
Kconfigsymbols, not things that break compile.(But I bet someone will come with automated warnings about unused symbols in the kernel...)
We already have that tool, scripts/checkkconfigsymbols.pl :)
I'll go merge this first patch now.
thanks,
greg k-h
Quoted 8 lines · William Breathitt Gray
PC/104 form factor devices serve a specific niche of embedded system users. Since PC/104 devices and hardware are typically used by just a subset of Linux users, it would be appropriate to filter PC/104 related
Kconfigoptions for those uninterested.This patchset introduces the PC104
Kconfigoption, and uses it to mask PC/104 specific device drivers and options, so that only those users interested in PC/104 relatedKconfigoptions are exposed to them.
Tell me when/if the PC104 option is merged and I can merge the GPIO patch.
Yours,
Linus Walleij
Quoted 12 lines · Linus Walleij
Quoted 8 lines · William Breathitt Gray
PC/104 form factor devices serve a specific niche of embedded system users. Since PC/104 devices and hardware are typically used by just a subset of Linux users, it would be appropriate to filter PC/104 related
Kconfigoptions for those uninterested.This patchset introduces the PC104
Kconfigoption, and uses it to mask PC/104 specific device drivers and options, so that only those users interested in PC/104 relatedKconfigoptions are exposed to them.
Quoted 5 lines
Tell me when/if the PC104 option is merged and I can merge the GPIO patch.
Yours,
Linus Walleij
Jonathan and Linus,
Now that the PC104 option is merged for 4.11, it should be all right to merge in the GPIO and IIO patches without worry of warnings. Please merge the relevant patch to your respective tree after you pull in the PC104 option.
Thank you,
William Breathitt Gray
Jonathan Cameron
maintainerQuoted 19 lines · William Breathitt Gray
Quoted 12 lines · Linus Walleij
Quoted 8 lines · William Breathitt Gray
PC/104 form factor devices serve a specific niche of embedded system users. Since PC/104 devices and hardware are typically used by just a subset of Linux users, it would be appropriate to filter PC/104 related
Kconfigoptions for those uninterested.This patchset introduces the PC104
Kconfigoption, and uses it to mask PC/104 specific device drivers and options, so that only those users interested in PC/104 relatedKconfigoptions are exposed to them.Quoted 5 lines
Tell me when/if the PC104 option is merged and I can merge the GPIO patch.
Yours,
Linus Walleij
Quoted 6 lines
Jonathan and Linus,
Now that the PC104 option is merged for 4.11, it should be all right to merge in the GPIO and IIO patches without worry of warnings. Please merge the relevant patch to your respective tree after you pull in the PC104 option.
If it looks like I've forgotten this, feel free to poke me again!
At least replying to you should get it back into my recent threads in my email client ;)
Jonathan
Quoted 9 lines
Thank you,
William Breathitt Gray
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Jonathan Cameron
maintainerQuoted 22 lines · Jonathan Cameron
Quoted 21 lines · William Breathitt Gray
Quoted 12 lines · Linus Walleij
Quoted 8 lines · William Breathitt Gray
PC/104 form factor devices serve a specific niche of embedded system users. Since PC/104 devices and hardware are typically used by just a subset of Linux users, it would be appropriate to filter PC/104 related
Kconfigoptions for those uninterested.This patchset introduces the PC104
Kconfigoption, and uses it to mask PC/104 specific device drivers and options, so that only those users interested in PC/104 relatedKconfigoptions are exposed to them.Quoted 5 lines
Tell me when/if the PC104 option is merged and I can merge the GPIO patch.
Yours,
Linus WalleijJonathan and Linus,
Quoted 9 lines
Quoted 4 lines
Now that the PC104 option is merged for 4.11, it should be all right to merge in the GPIO and IIO patches without worry of warnings. Please merge the relevant patch to your respective tree after you pull in the PC104 option.
If it looks like I've forgotten this, feel free to poke me again!
At least replying to you should get it back into my recent threads in my email client ;)
Done,. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
Thanks,
Jonathan
Quoted 16 lines
Jonathan
Quoted 9 lines
Thank you,
William Breathitt Gray
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html