04 Jan, 2012

1 commit

  • This patch converts the drivers in drivers/power/* to use the
    module_platform_driver() macro which makes the code smaller and a bit
    simpler.

    Cc: Mike Rapoport
    Cc: Lars-Peter Clausen
    Cc: Nithish Mahalingam
    Cc: MyungJoo Ham
    Cc: Haojian Zhuang
    Cc: Balaji Rao
    Cc: Mark Brown
    Signed-off-by: Axel Lin
    Acked-by: Clifton Barnes
    Signed-off-by: Anton Vorontsov

    Axel Lin
     

08 Mar, 2010

2 commits


14 Dec, 2009

2 commits

  • Bring the WM8350 IRQ API more in line with the generic IRQ API by
    masking and unmasking interrupts as they are requested and freed.
    This is mostly just a case of deleting the mask and unmask calls
    from the individual drivers.

    The RTC driver is changed to mask the periodic IRQ after requesting
    it rather than only unmasking the alarm IRQ. If the periodic IRQ
    fires in the period where it is reqested then there will be a
    spurious notification but there should be no serious consequences
    from this.

    The CODEC drive is changed to explicitly disable headphone jack
    detection prior to requesting the IRQs. This will avoid the IRQ
    firing with no jack set up.

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

    Mark Brown
     
  • This is done as simple code transformation, the semantics of the
    IRQ API provided by the core are are still very different to those
    of genirq (mainly with regard to masking).

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

    Mark Brown
     

14 Jul, 2009

1 commit


04 Jan, 2009

3 commits

  • Implement support for reporting battery health in the WM8350 battery
    interface. Since we are now able to report this via the classs remove
    the diagnostics from the interrupt handler.

    Signed-off-by: Mark Brown
    Acked-by: Anton Vorontsov
    Signed-off-by: Samuel Ortiz

    Mark Brown
     
  • Rather than check for chip revisions in the WM8350 drivers have the core
    code set flags for relevant differences.

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

    Mark Brown
     
  • This patch adds support for the PMU provided by the WM8350 which
    implements battery, line and USB supplies including a battery charger.
    The hardware functions largely autonomously, with minimal software
    control required to initiate fast charging.

    Support for configuration of the USB supply is not yet implemented.
    This means that the hardware will remain in the mode configured at
    startup, by default limiting the current drawn from USB to 100mA.

    This driver was originally written by Liam Girdwood with subsequent
    updates for submission by Mark Brown.

    Signed-off-by: Mark Brown
    Acked-by: Anton Vorontsov
    Signed-off-by: Samuel Ortiz

    Mark Brown