16 Mar, 2016

13 commits


09 Mar, 2016

6 commits

  • Add PCI IDs for Intel Broxton B-Step platform, which have same
    LPSS devices with A-Step.

    Signed-off-by: Huiquan Zhong
    Signed-off-by: Qipeng Zha
    cked-by: Mika Westerberg
    Signed-off-by: Lee Jones

    Huiquan Zhong
     
  • These drivers can be built as module, so make them depend on I2C rather
    than I2C=y.

    Signed-off-by: Axel Lin
    Acked-by: Adam Thomson
    Signed-off-by: Lee Jones

    Axel Lin
     
  • We forgot to remove the clock tree if something goes wrong in ->probe(). Add a
    call to intel_lpss_unregister_clock() on error path in ->probe() to fix the
    potential issue.

    Fixes: 4b45efe85263 (mfd: Add support for Intel Sunrisepoint LPSS devices)
    Signed-off-by: Andy Shevchenko
    Acked-by: Mika Westerberg
    Signed-off-by: Lee Jones

    Andy Shevchenko
     
  • tps65010 driver's initcall cannot succeed when the driver is built-in,
    because it expects that the I2C probe is completed at initcall time;
    this cannot happen as MFD is initialized before I2C. Also on systems
    where the chip is not present there is unnecessary 30 ms delay during
    the boot.

    Instead of waiting for probe to finish, just register the I2C device.
    If some boards need retry mechanism for startup glitches, that should be
    done in the actual probe function. Also delete the driver banner message.

    The patch allows to use tps65010 again with OMAP1 (where it's required
    to be built-in) and enables e.g. USB and LED functionality on OMAP5912 OSK.

    Signed-off-by: Aaro Koskinen
    Signed-off-by: Lee Jones

    Aaro Koskinen
     
  • …and 'ib-mfd-regulator-gpio-4.6' into ibs-for-mfd-merged

    Lee Jones
     
  • The newly added driver uses do_div() to device a 32-bit number, which now
    provokes a warning:

    drivers/iio/adc/fsl-imx25-gcq.c: In function 'mx25_gcq_setup_cfgs':
    include/asm-generic/div64.h:207:28: warning: comparison of distinct pointer types lacks a cast
    (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \

    This replaces the do_div() call with a straight division operator.

    Signed-off-by: Arnd Bergmann
    Fixes: 6df2e98c3ea5 ("iio: adc: Add imx25-gcq ADC driver")
    Signed-off-by: Lee Jones

    Arnd Bergmann
     

12 Feb, 2016

13 commits


11 Feb, 2016

7 commits

  • This is a driver for the imx25 ADC/TSC module. It controls the
    touchscreen conversion queue and creates a touchscreen input device.
    The driver currently only supports 4 wire touchscreens. The driver uses
    a simple conversion queue of precharge, touch detection, X measurement,
    Y measurement, precharge and another touch detection.

    This driver uses the regmap from the parent to setup some touch specific
    settings in the core driver and setup a idle configuration with touch
    detection.

    Signed-off-by: Markus Pargmann
    Signed-off-by: Denis Carikli
    [fix clock's period calculation]
    [fix calculation of the 'settling' value]
    Signed-off-by: Juergen Borleis
    Acked-by: Dmitry Torokhov
    Signed-off-by: Lee Jones

    Markus Pargmann
     
  • This is a conversion queue driver for the mx25 SoC. It uses the central
    ADC which is used by two seperate independent queues. This driver
    prepares different conversion configurations for each possible input.
    For a conversion it creates a conversionqueue of one item with the
    correct configuration for the chosen channel. It then executes the queue
    once and disables the conversion queue afterwards.

    The reference voltages are configurable through devicetree subnodes,
    depending on the connections of the ADC inputs.

    Signed-off-by: Markus Pargmann
    Signed-off-by: Denis Carikli
    Acked-by: Jonathan Cameron
    Signed-off-by: Lee Jones

    Markus Pargmann
     
  • This is the core driver for imx25 touchscreen/adc driver. The module
    has one shared ADC and two different conversion queues which use the
    ADC. The two queues are identical. Both can be used for general purpose
    ADC but one is meant to be used for touchscreens.

    This driver is the core which manages the central components and
    registers of the TSC/ADC unit. It manages the IRQs and forwards them to
    the correct components.

    Signed-off-by: Markus Pargmann
    Signed-off-by: Denis Carikli
    [ensure correct ADC clock depending on the IPG clock]
    Signed-off-by: Juergen Borleis
    Acked-by: Jonathan Cameron
    Signed-off-by: Lee Jones

    Markus Pargmann
     
  • This is the touchscreen conversion queue binding documentation. It uses
    the shared imx25 ADC.

    Signed-off-by: Markus Pargmann
    Acked-by: Rob Herring
    Signed-off-by: Lee Jones

    Markus Pargmann
     
  • The documentation describes the bindings for the imx25 GCQ unit which is
    essentially a generic conversion queue using the imx25 ADC.

    Signed-off-by: Markus Pargmann
    Acked-by: Rob Herring
    Acked-by: Jonathan Cameron
    Signed-off-by: Lee Jones

    Markus Pargmann
     
  • This documentation describes the devicetree bindings for the
    ADC/Touchscreen unit of the i.MX25 SoC.

    Signed-off-by: Markus Pargmann
    Acked-by: Jonathan Cameron
    Acked-by: Rob Herring
    Signed-off-by: Lee Jones

    Markus Pargmann
     
  • Convert this driver to use clkdev_create() instead of
    clk_register_clkdevs(). The latter API is only used by this driver,
    although this driver only allocates one clk to add anyway.
    Furthermore, this driver allocates the clk_lookup structure with
    devm, but clkdev_drop() will free that structure when passed,
    leading to a double free when this driver is removed. Clean it
    all up and pave the way for the removal of clk_register_clkdevs().

    Cc: Andy Shevchenko
    Cc: Russell King
    Signed-off-by: Stephen Boyd
    Signed-off-by: Lee Jones

    Stephen Boyd
     

01 Feb, 2016

1 commit