Skip to content
  • Matti Vaittinen's avatar
    regulator: bd718x7: Fix the buck1 - 4 default DVS voltages · 4452ed79
    Matti Vaittinen authored
    
    
    If the voltages for buck1-4 HW states (run, idle, suspend)
    are not given the driver sets hard coded defaults. Defaults
    should be given as voltages but they were given as register
    values. Thus the default setting at startup fails with error
    prints like:
    
    "[ 0.470421] bd718xx-pmic bd718xx-pmic.2.auto: selector for voltage [20] not found
    [ 0.476194] bd718xx-pmic bd718xx-pmic.2.auto: selector for voltage [20] not found
    [ 0.483772] bd718xx-pmic bd718xx-pmic.2.auto: selector for voltage [20] not found
    [ 0.499269] bd718xx-pmic bd718xx-pmic.2.auto: selector for voltage [30] not found
    [ 0.505202] bd718xx-pmic bd718xx-pmic.2.auto: selector for voltage [20] not found
    [ 0.513683] bd718xx-pmic bd718xx-pmic.2.auto: selector for voltage [30] not found
    [ 0.528991] bd718xx-pmic bd718xx-pmic.2.auto: selector for voltage [30] not found"
    
    Correct the default values to be voltages, not the register
    values.
    
    Signed-off-by: default avatarMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
    4452ed79