• Tony Lindgren's avatar
    mfd: twl4030-power: Fix pmic for boards that need AC charger disabled · 5c188d74
    Tony Lindgren authored
    I noticed the PMIC configuration on 37xx-evm won't actually shut down
    the voltages during off-idle. Turns out 37xx-evm needs the AC charger
    state transitions disabled like we are doing for SDP and LDP in the
    legacy booting case.
    
    Let's fix this for device tree based booting by setting up the quirk
    flag based on the compatible flag. And let's also use the existing
    define for STARTON_CHG.
    
    Note that SDP and EVM do not have the PMIC clken wired to gate the
    the oscillator while LDP has.
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    5c188d74
twl4030-power.c 25.9 KB