Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1555813 > unrolled thread
| Started by | William Breathitt Gray <vilhelm.gray@gmail.com> |
|---|---|
| First post | 2017-01-10 20:00 +0100 |
| Last post | 2017-01-11 16:30 +0100 |
| Articles | 8 — 3 participants |
Back to article view | Back to linux.kernel
[PATCH 0/3] pc104: Mask PC/104 Kconfig options William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-10 20:00 +0100
[PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-10 20:00 +0100
Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option Jonathan Cameron <jic23@kernel.org> - 2017-01-10 22:20 +0100
Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-10 22:50 +0100
Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option Linus Walleij <linus.walleij@linaro.org> - 2017-01-11 16:50 +0100
[PATCH 2/3] gpio: pc104: Mask PC/104 drivers via PC104 Kconfig option William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-10 20:00 +0100
[PATCH 1/3] pc104: Introduce the PC104 Kconfig option William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-10 20:00 +0100
Re: [PATCH 0/3] pc104: Mask PC/104 Kconfig options Linus Walleij <linus.walleij@linaro.org> - 2017-01-11 16:30 +0100
| From | William Breathitt Gray <vilhelm.gray@gmail.com> |
|---|---|
| Date | 2017-01-10 20:00 +0100 |
| Subject | [PATCH 0/3] pc104: Mask PC/104 Kconfig options |
| Message-ID | <sY9Oh-4Tu-3@gated-at.bofh.it> |
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(-) -- 2.11.0
[toc] | [next] | [standalone]
| From | William Breathitt Gray <vilhelm.gray@gmail.com> |
|---|---|
| Date | 2017-01-10 20:00 +0100 |
| Subject | [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option |
| Message-ID | <sY9Oi-4Tu-15@gated-at.bofh.it> |
| In reply to | #1555813 |
PC/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. Cc: Jonathan Cameron <jic23@kernel.org> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> --- drivers/iio/adc/Kconfig | 2 +- drivers/iio/counter/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 9c8b558ba19e..dc897b443a17 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -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 diff --git a/drivers/iio/counter/Kconfig b/drivers/iio/counter/Kconfig index 44627f6e4861..b37e5fc03149 100644 --- a/drivers/iio/counter/Kconfig +++ b/drivers/iio/counter/Kconfig @@ -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). -- 2.11.0
[toc] | [prev] | [next] | [standalone]
| From | Jonathan Cameron <jic23@kernel.org> |
|---|---|
| Date | 2017-01-10 22:20 +0100 |
| Subject | Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option |
| Message-ID | <sYbZL-6ng-17@gated-at.bofh.it> |
| In reply to | #1555817 |
On 10/01/17 18:51, William Breathitt Gray wrote: > PC/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. > > Cc: Jonathan Cameron <jic23@kernel.org> > Cc: Hartmut Knaack <knaack.h@gmx.de> > Cc: Lars-Peter Clausen <lars@metafoo.de> > Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net> > Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Acked-by: Jonathan Cameron <jic23@kernel.org> 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 > --- > drivers/iio/adc/Kconfig | 2 +- > drivers/iio/counter/Kconfig | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig > index 9c8b558ba19e..dc897b443a17 100644 > --- a/drivers/iio/adc/Kconfig > +++ b/drivers/iio/adc/Kconfig > @@ -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 > diff --git a/drivers/iio/counter/Kconfig b/drivers/iio/counter/Kconfig > index 44627f6e4861..b37e5fc03149 100644 > --- a/drivers/iio/counter/Kconfig > +++ b/drivers/iio/counter/Kconfig > @@ -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). >
[toc] | [prev] | [next] | [standalone]
| From | William Breathitt Gray <vilhelm.gray@gmail.com> |
|---|---|
| Date | 2017-01-10 22:50 +0100 |
| Subject | Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option |
| Message-ID | <sYcsO-6yc-35@gated-at.bofh.it> |
| In reply to | #1555920 |
On Tue, Jan 10, 2017 at 09:13:02PM +0000, Jonathan Cameron wrote: >On 10/01/17 18:51, William Breathitt Gray wrote: >> PC/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. >> >> Cc: Jonathan Cameron <jic23@kernel.org> >> Cc: Hartmut Knaack <knaack.h@gmx.de> >> Cc: Lars-Peter Clausen <lars@metafoo.de> >> Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net> >> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> >Acked-by: Jonathan Cameron <jic23@kernel.org> > >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
[toc] | [prev] | [next] | [standalone]
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Date | 2017-01-11 16:50 +0100 |
| Subject | Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option |
| Message-ID | <sYtjY-dZ-29@gated-at.bofh.it> |
| In reply to | #1555951 |
On Tue, Jan 10, 2017 at 10:45 PM, William Breathitt Gray <vilhelm.gray@gmail.com> wrote: > On Tue, Jan 10, 2017 at 09:13:02PM +0000, Jonathan Cameron wrote: >>On 10/01/17 18:51, William Breathitt Gray wrote: >>> PC/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. >>> >>> Cc: Jonathan Cameron <jic23@kernel.org> >>> Cc: Hartmut Knaack <knaack.h@gmx.de> >>> Cc: Lars-Peter Clausen <lars@metafoo.de> >>> Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net> >>> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> >>Acked-by: Jonathan Cameron <jic23@kernel.org> >> >>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. 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
[toc] | [prev] | [next] | [standalone]
| From | William Breathitt Gray <vilhelm.gray@gmail.com> |
|---|---|
| Date | 2017-01-10 20:00 +0100 |
| Subject | [PATCH 2/3] gpio: pc104: Mask PC/104 drivers via PC104 Kconfig option |
| Message-ID | <sY9Oi-4Tu-31@gated-at.bofh.it> |
| In reply to | #1555813 |
PC/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. Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Alexandre Courbot <gnurou@gmail.com> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> --- drivers/gpio/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index d5d36549ecc1..ad7084d98c60 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -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. -- 2.11.0
[toc] | [prev] | [next] | [standalone]
| From | William Breathitt Gray <vilhelm.gray@gmail.com> |
|---|---|
| Date | 2017-01-10 20:00 +0100 |
| Subject | [PATCH 1/3] pc104: Introduce the PC104 Kconfig option |
| Message-ID | <sY9Oi-4Tu-37@gated-at.bofh.it> |
| In reply to | #1555813 |
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. Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> --- init/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init/Kconfig b/init/Kconfig index 223b734abccd..12841d75a04d 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -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 -- 2.11.0
[toc] | [prev] | [next] | [standalone]
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Date | 2017-01-11 16:30 +0100 |
| Message-ID | <sYt0B-70-31@gated-at.bofh.it> |
| In reply to | #1555813 |
On Tue, Jan 10, 2017 at 7:50 PM, William Breathitt Gray <vilhelm.gray@gmail.com> wrote: > 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. Tell me when/if the PC104 option is merged and I can merge the GPIO patch. Yours, Linus Walleij
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web