09 Jan, 2012

1 commit


21 Dec, 2011

1 commit


01 Aug, 2011

3 commits

  • In drivers/mfd/tps65910.c:tps65910_i2c_probe() there's potential for a
    tiny optimization.

    We assign to init_data->irq and init_data->irq_base long before we
    need them, and there are two potential exits from the function before
    they are needed.

    Moving the assignments below these two potential exits means we
    completely avoid doing them in these two (failure) cases.

    Signed-off-by: Jesper Juhl
    Acked-by: Graeme Gregory
    Signed-off-by: Samuel Ortiz

    Jesper Juhl
     
  • There are a couple of situations where we leak init_data in
    drivers/mfd/tps65910.c:tps65910_i2c_probe() - this patch should take
    care of them.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Samuel Ortiz

    Jesper Juhl
     
  • The tps65910_irq_exit() cleanup function was generating a warning from
    sparse due to the lack of a prototype. This wasn't causing GCC warnings
    as the driver wasn't cleaning up its IRQs on exit at all so there was no
    use of an unprototyped function.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     

27 May, 2011

5 commits

  • The TPS65911 is the next generation of the TPS65910 family of
    PMIC chips. It adds a few features:

    - Watchdog Timer
    - PWM & LED generators
    - Comparators for system control status

    It also adds a set of Interrupts and GPIOs, among other things.

    The driver exports a function to identify between different
    versions of the tps65910 family, allowing other modules to
    identify the capabilities of the current chip.

    Signed-off-by: Jorge Eduardo Candelaria
    Acked-by: Samuel Ortiz
    Signed-off-by: Liam Girdwood

    Jorge Eduardo Candelaria
     
  • If bytes == (TPS65910_MAX_REGISTER + 1), we have a buffer overflow when
    doing memcpy(&msg[1], src, bytes).

    Signed-off-by: Axel Lin
    Acked-by: Samuel Ortiz
    Signed-off-by: Liam Girdwood

    Axel Lin
     
  • This module controls the interrupt handling for the tps chip. The
    interrupt sources are the following:

    - GPIO falling/rising edge detection
    - Battery voltage below/above threshold
    - PWRON signal
    - PWRHOLD signal
    - Temperature detection
    - RTC alarm and periodic event

    Signed-off-by: Graeme Gregory
    Signed-off-by: Jorge Eduardo Candelaria
    Reviewed-by: Mark Brown
    Acked-by: Samuel Ortiz
    Signed-off-by: Liam Girdwood

    Graeme Gregory
     
  • TPS65910 has one configurable GPIO that can be used for several
    purposes. Subsequent versions of the TPS chip support more than
    one GPIO.

    Signed-off-by: Graeme Gregory
    Signed-off-by: Jorge Eduardo Candelaria
    Acked-by: Grant Likely
    Signed-off-by: Liam Girdwood

    Graeme Gregory
     
  • The TPS65910 chip is a power management IC for multimedia and handheld
    devices. It contains the following components:

    - Regulators
    - GPIO controller
    - RTC

    The tps65910 core driver is registered as a platform driver and provides
    communication through I2C with the host device for the different
    components.

    Signed-off-by: Graeme Gregory
    Signed-off-by: Jorge Eduardo Candelaria
    Acked-by: Samuel Ortiz
    Signed-off-by: Liam Girdwood

    Graeme Gregory