09 May, 2020

1 commit

  • Change the regulator helpers to use common linear_ranges code.

    Signed-off-by: Matti Vaittinen
    Reviewed-by: Mark Brown
    Acked-by: Charles Keepax
    Acked-by: Adam Thomson
    Link: https://lore.kernel.org/r/64f01d5e381b8631a271616b7790f9d5640974fb.1588944082.git.matti.vaittinen@fi.rohmeurope.com
    Signed-off-by: Mark Brown

    Matti Vaittinen
     

20 Dec, 2019

1 commit

  • Simplify LDO6 voltage getting on BD71828 by removing the
    get_voltage call-back and providing the fixed voltage in
    regulator_desc instead

    Signed-off-by: Matti Vaittinen
    Suggested-by: Mark Brown
    Link: https://lore.kernel.org/r/20191219113444.GA28299@localhost.localdomain
    Signed-off-by: Mark Brown

    Matti Vaittinen
     

17 Dec, 2019

1 commit

  • ROHM BD71828 is a power management IC containing 7 bucks and 7 LDOs. Bucks
    1,2,6 and 7 can be assigned to a regulator group controlled by run-levels.
    Eg. Voltages and enable/disable statuses for specific run-levels (run0 to
    run3) can be set via register interface and run level changes can then be
    done either via I2C or GPIO.

    This initial commit does not support assigning bucks to be controlled via
    run-levels but only allows them to be individually controlled.

    LDO5 voltage can also be controlled by GPIO2 pin and register interfaces
    but this driver only supports the control via register.

    Signed-off-by: Matti Vaittinen
    Link: https://lore.kernel.org/r/5b1c4a22c7945e97ff2a7924abfeb3239043f8eb.1576054779.git.matti.vaittinen@fi.rohmeurope.com
    Signed-off-by: Mark Brown

    Matti Vaittinen