02 Jul, 2014

1 commit


23 Jun, 2014

1 commit

  • Since p->bus is unsigned checking for negative values
    is optimized away. Since bus is already used as an argument
    use tmp. While at it, don't declare variables in the middle
    of a function.

    cc: Rajeshwari Shinde
    Signed-off-by: Jeroen Hofstee
    Signed-off-by: Minkyu Kang

    Jeroen Hofstee
     

19 Jun, 2014

1 commit


07 Jun, 2014

1 commit


02 Jun, 2014

1 commit


28 May, 2014

4 commits

  • The current pmic i2c code assumes the current i2c bus is
    the same as the pmic device's bus. There is nothing ensuring
    that to be true. Therefore, select the proper bus before performing
    a transaction.

    Signed-off-by: Aaron Durbin
    Signed-off-by: Simon Glass
    Acked-by: Heiko Schocher
    Reviewed-by: Simon Glass
    Signed-off-by: Minkyu Kang

    Aaron Durbin
     
  • This adds driver support for the TPS65090 PMU. Support includes
    hooking into the pmic infrastructure so that the pmic commands
    can be used on the console. The TPS65090 supports the following
    functionality:

    - fet enable/disable/querying
    - getting and setting of charge state

    Even though it is connected to the pmic infrastructure it does
    not hook into the pmic charging charging infrastructure.

    The device tree binding is from Linux, but only a small subset of
    functionality is supported.

    Signed-off-by: Tom Wai-Hong Tam
    Signed-off-by: Hatim Ali
    Signed-off-by: Katie Roberts-Hoffman
    Signed-off-by: Rong Chang
    Signed-off-by: Sean Paul
    Signed-off-by: Vincent Palatin
    Signed-off-by: Aaron Durbin
    Signed-off-by: Simon Glass
    Signed-off-by: Minkyu Kang

    Tom Wai-Hong Tam
     
  • This enum should be common across all PMICs rather than having it
    independently defined with the same name in multiple places.

    Signed-off-by: Simon Glass
    Signed-off-by: Minkyu Kang

    Simon Glass
     
  • Commit be3b51aa did this mostly, but several have been added since. Do the
    job again.

    Signed-off-by: Simon Glass
    Acked-by: Lukasz Majewski
    Signed-off-by: Minkyu Kang

    Simon Glass
     

20 May, 2014

1 commit


13 May, 2014

1 commit


09 May, 2014

2 commits


05 Mar, 2014

2 commits


24 Feb, 2014

1 commit


03 Feb, 2014

1 commit


14 Jan, 2014

1 commit

  • Issues:
    - reading i2c data by passing u16 pointer causes errors in read data.
    - max17042 status register fields have not only Power On Reset meaning
    so using proper mask is required.

    Changes:
    - read i2c data to type u32 instead of u16 - avoids buffer overflow
    - compare FG status register using mask not just one bit value
    - add checking return value to functions fg read/write
    - add model lock and model check count
    - add debug msg

    Signed-off-by: Przemyslaw Marczak
    Cc: Lukasz Majewski
    Cc: Minkyu Kang

    Przemyslaw Marczak
     

06 Jan, 2014

1 commit


04 Dec, 2013

2 commits

  • Added chip type detection and twl6032
    support in the battery control
    and charge functions.

    Based on Balaji T K patches for TI u-boot.

    Signed-off-by: Oleg Kosheliev

    Oleg Kosheliev
     
  • The data struct is used to support different
    PMIC chip types. It contains the chip type and
    the data (e.g. registers addresses, adc multiplier)
    which is different for twl6030 and twl6032.
    Replaced some hardcoded values with the
    structure vars.

    Based on Balaji T K patches for TI u-boot.

    Signed-off-by: Oleg Kosheliev

    Oleg Kosheliev
     

27 Nov, 2013

1 commit


01 Nov, 2013

1 commit


21 Oct, 2013

1 commit


14 Oct, 2013

1 commit


11 Oct, 2013

1 commit


07 Oct, 2013

1 commit


25 Sep, 2013

2 commits


20 Sep, 2013

2 commits


11 Sep, 2013

1 commit


30 Aug, 2013

1 commit


20 Aug, 2013

1 commit


24 Jul, 2013

1 commit


05 Jul, 2013

1 commit


19 Jun, 2013

1 commit


13 Jun, 2013

2 commits


10 Jun, 2013

1 commit