[lkml]   [2012]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH v2 6/8] iio: lpc32xx-adc: Remove driver conflict due to device tree
    Previously, the touchscreen and ADC drivers of the LPC32xx SoC had a Kconfig
    conflict declared because they use the same hardware. Upon the introduction of
    device tree support in both drivers, the conflict must be removed to enable
    the same kernel to support different hardware (configured via the device tree).

    Signed-off-by: Roland Stigge <>


    Applies to v3.4-rc3

    drivers/staging/iio/adc/Kconfig | 8 +++++---
    1 file changed, 5 insertions(+), 3 deletions(-)

    --- linux-2.6.orig/drivers/staging/iio/adc/Kconfig
    +++ linux-2.6/drivers/staging/iio/adc/Kconfig
    @@ -195,11 +195,13 @@ config MAX1363_RING_BUFFER

    config LPC32XX_ADC
    tristate "NXP LPC32XX ADC"
    - depends on ARCH_LPC32XX && !TOUCHSCREEN_LPC32XX
    + depends on ARCH_LPC32XX
    Say yes here to build support for the integrated ADC inside the
    LPC32XX SoC. Note that this feature uses the same hardware as the
    - touchscreen driver, so you can only select one of the two drivers
    - (lpc32xx_adc or lpc32xx_ts). Provides direct access via sysfs.
    + touchscreen driver, so you should either select only one of the two
    + drivers (lpc32xx_adc or lpc32xx_ts) or, in the OpenFirmware case,
    + activate only one via device tree selection. Provides direct access
    + via sysfs.


     \ /
      Last update: 2012-04-17 19:13    [W:0.020 / U:7.420 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site