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
     

13 Aug, 2015

3 commits


05 Dec, 2014

1 commit


06 Nov, 2014

1 commit


31 Oct, 2014

1 commit

  • This enables the VMMC2 LDO, which powers the MMC2 device.
    When the device starts from MMC2, this has already been enabled by the BootROM,
    but when starting from peripheral boot (USB, UART), it is not the case.

    Signed-off-by: Paul Kocialkowski
    Acked-by: Pantelis Antoniou

    Paul Kocialkowski
     

24 Jul, 2013

1 commit


10 May, 2013

2 commits


21 Dec, 2012

1 commit


31 Oct, 2012

1 commit


10 Dec, 2011

1 commit

  • MMC interfaces are specified to be 3.3V compatible with an operating
    voltage range of 3.1V to 3.5V for SD cards. This change affects
    hardware using TWL4030 (TPS6595x) PMICs and should improve the
    reliability when communicating with marginally-spec'd MMC devices.
    3.15V is the highest possible level for this chip. This patch
    has been tested on a Gumstix Overo board.

    Signed-off-by: Ash Charles
    Tested-by: Steve Sakoman

    Ash Charles
     

09 Sep, 2010

1 commit


04 Jan, 2010

1 commit

  • Not all boards have both LEDs hooked, so enabling both on
    boards with single LED will just waste power. Make it
    possible to choose LEDs by adding argument to
    twl4030_led_init().

    Using this turn on only LEDB for pandora, leave both LEDs
    on for all other boards, as it was before this patch.

    Signed-off-by: Grazvydas Ignotas

    Grazvydas Ignotas
     

20 Dec, 2009

1 commit

  • The twl4030 provides a PHY device for connecting a link device,
    like musb, to physical connection.

    This change adds the twl4030 usb registers and functions for
    initializing the PHY as required by omap3.

    Signed-off-by: Tom Rix

    Tom Rix
     

29 Jul, 2009

2 commits

  • Because twl4030 now has its own device files, move and rename
    twl4030_mmc_config.

    twl4030_mmc_config initializes the twl4030 power setting to
    the mmc device. Because it is in the twl4030 power domain, move
    it out of drivers/mmc/omap3_mmc.c and into drivers/power/twl4030.c.

    The function was renamed to twl4030_power_mmc_init because all
    the functions in this file are to have the format

    twl4030_power__

    In this case the suffix is mmc_init so
    device : mmc
    action : init

    Signed-off-by: Tom Rix
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD
    Acked-by: Heiko Schocher

    Tom Rix
     
  • Because twl4030 now has its own device files, move exiting
    omap3 power_init_r to a new location.

    power_init_r is the only function in board/omap3/common.
    It initializes the twl4030 power for the board and enables
    the led.

    The power part of the the function is moved to twl4030_power_init in
    drivers/power/twl4030.c The power compilation is conditional on the
    existing config variable CONFIG_TWL4030_POWER.

    The led part is moved to twl4030_led_init in the new file
    drivers/misc/twl4030_led.c The led compilation is conditional on
    the new config variable CONFIG_TWL4030_LED

    The directory board/omap3/common was removed because power_init_r
    was the only function in it.

    Signed-off-by: Tom Rix
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD
    Acked-by: Heiko Schocher

    Tom Rix
     

28 Jul, 2009

2 commits

  • The Zoom2 power reset button is on the top right side of the
    main board. Press and hold for about to 8 seconds to completely
    reset the board.

    Some of the beta boards have a hardware problem that prevents
    using this feature. If is difficult to further characterize the
    boards that fail. So disable resetting for all beta boards.

    The Zoom1 reset button is the red circle on the top right,
    front of the board. Press and hold the button for 8 seconds to
    completely reset the board.

    After analyzing beagle, it was determined that other boards
    that use the twl4030 for power managment can also make use
    this function.

    The resetting is done by the power management part of the twl4030.
    Since there is no existing drivers/power, add one.

    The compilation of power/twl4030.h is controlled by the config
    variable CONFIG_TWL4030_POWER

    Signed-off-by: Tom Rix
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD
    Acked-by: Heiko Schocher

    Tom Rix
     
  • The TWL4030 supplies many peripherals for OMAP3 boards. These include
    power management, usb and, keyboard.

    The product description is found here:

    http://focus.ti.com/docs/prod/folders/print/tps65950.html

    Product reference document, tps65950.pdf, is found here:

    http://www.ti.com/lit/gpn/tps65950

    Signed-off-by: Tom Rix
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD
    Acked-by: Heiko Schocher

    Tom Rix