06 Jan, 2012

1 commit


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
     

20 Apr, 2011

1 commit

  • The ISP1704/1707 chip can be put to full power down
    state by asserting the CHIP_SEL line. This patch enables
    platform or board specific hooks to put the device into
    power down mode in case not needed.

    This patch is a preparation for enabling this powering
    routine in n900 (rx-51) devices.

    Thanks to Heikki Krogerus for helping out with the patch.

    Signed-off-by: Kalle Jokiniemi
    Acked-By: Heikki Krogerus
    Signed-off-by: Anton Vorontsov

    Kalle Jokiniemi
     

18 Nov, 2010

4 commits

  • If the device is booted up with cable connected, or the
    module is loaded after plugging in the cable, the
    notification has come and gone, so not relying on it at
    probe time. Instead this checks the VBUS level manually
    after probe.

    Signed-off-by: Heikki Krogerus
    Signed-off-by: Anton Vorontsov

    Heikki Krogerus
     
  • isp1704_test_ulpi() is the first place that needs isp->dev
    member, so it must be set before calling the function.

    Signed-off-by: Heikki Krogerus
    Signed-off-by: Anton Vorontsov

    Heikki Krogerus
     
  • To avoid breaking high speed chirp handshaking with CDP
    chargers, no more then 500mA should be drawn. To make sure
    of this, utilizing current_max property. After the device
    has enumerated, it's safe to draw the maximum 1800mA as
    defined in the Battery Charging Specification. This can be
    also used with normal USB connection if the controller sends
    ENUMERATED notification with the milliamps as data.

    From now on the online property indicates VBUS, present
    property if there is a charger and current_max the milliamps
    possible to draw from VBUS.

    Signed-off-by: Heikki Krogerus
    Signed-off-by: Anton Vorontsov

    Heikki Krogerus
     
  • Model should have room to accommodate the trailing null byte,
    "isp170[4|7]\0".

    Signed-off-by: Ameya Palande
    Acked-by: Heikki Krogerus
    Signed-off-by: Anton Vorontsov

    Ameya Palande
     

19 Aug, 2010

1 commit