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


10 May, 2013

4 commits

  • commit 21144298 (power: twl6035: add palmas PMIC support)
    introduced twl6035_i2c_[read|write]_u8
    Then, commit dd23e59d (omap5: pbias ldo9 turn on)
    introduced palmas_[read|write]_u8 for precisely the same access
    function. TWL6035 belongs to the palmas family, so instead of having
    an twl6035 API, we could use an generic palmas API instead.

    To stay consistent with the function naming of twl4030,6030 accessors,
    we use palmas_i2c_[read|write]_u8

    Cc: Balaji T K
    Cc: Sricharan R
    Reported-by: Ruchika Kharwar
    Signed-off-by: Nishanth Menon

    Nishanth Menon
     
  • Since TPS659038/TWL6035/TWL6037 all belong to palmas family of TI PMICs,
    rename twl6035_mmc1_poweron_ldo by a more generic palmas_mmc1_poweron_ldo
    function.

    Signed-off-by: Nishanth Menon

    Nishanth Menon
     
  • Since TPS659038/TWL6035/TWL6037 all belong to palmas family of TI PMICs,
    rename twl6035_init_settings with an more generic palmas_init_settings

    Signed-off-by: Nishanth Menon

    Nishanth Menon
     
  • TPS659038/TWL6035/TWL6037 all belong to palmas family of TI PMICs
    Rename twl6035 to palmas to allow reuse across multiple current and
    future platforms

    As part of this change, change the CONFIG_TWL6035_POWER to
    CONFIG_PALMAS_POWER and update usage of header file accordingly.

    Signed-off-by: Nishanth Menon

    Nishanth Menon