10 Dec, 2018

1 commit

  • Those driver are not DM drivers per se (not using the PMIC/regulator
    framework) and are using the legacy I2C API. Make them compatible with
    the DM_I2C API.

    This impacts the following drivers:
    - palmas (used by am57xx/dra7xx evms)
    - tps65218 (used by am43xx evms)
    - tps65217 and tps65910 (used by am335x evms and am335x boneblack vboot)
    - twl4030 (used by omap3_logicpd)
    - tps65217 (used by brppt1)
    - twl6030

    Signed-off-by: Jean-Jacques Hiblot
    Reviewed-by: Tom Rini
    Reviewed-by: Heiko Schocher

    Jean-Jacques Hiblot
     

07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

12 Sep, 2017

2 commits


05 Dec, 2016

1 commit

  • Palmas driver assumes it is always TPS659xx regulator on all DRA7xx based
    boards to enable mmc regulator. This is not true always like in case of
    DRA71x-evm. So get this information based on the board.

    Signed-off-by: Lokesh Vutla
    Signed-off-by: Vignesh R
    Signed-off-by: Nishanth Menon
    Reviewed-by: Tom Rini
    [trini: Delete omap4_vmmc_pbias_config from omap_hsmmc.c]
    Signed-off-by: Tom Rini

    Lokesh Vutla
     

14 May, 2014

1 commit


21 Oct, 2013

1 commit


24 Jul, 2013

1 commit


10 Jun, 2013

1 commit


10 May, 2013

5 commits

  • Add an header guard to common header file to prevent multiple
    includes messing things up.

    Signed-off-by: Nishanth Menon

    Nishanth Menon
     
  • 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