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
     

12 Dec, 2019

1 commit

  • We need the of_match table if we want to use the compatible string in
    the pmic's child node and get the regulator driver loaded automatically.

    Signed-off-by: Bartosz Golaszewski
    Link: https://lore.kernel.org/r/20191210100725.11005-1-brgl@bgdev.pl
    Signed-off-by: Mark Brown

    Bartosz Golaszewski
     

05 Jul, 2019

1 commit

  • Use the new vsel_step field in the regulator description to instruct
    the regulator API on the required voltage ramping. Switch to using the
    generic regmap helpers for voltage setting and remove the old set_voltage
    callback that handcoded the selector stepping.

    Signed-off-by: Bartosz Golaszewski
    Link: https://lore.kernel.org/r/20190703161035.31808-3-brgl@bgdev.pl
    Signed-off-by: Mark Brown

    Bartosz Golaszewski
     

03 Jul, 2019

1 commit

  • Define a MODULE_ALIAS() in the regulator sub-driver for max77650 so that
    the appropriate module gets loaded together with the core mfd driver.

    Signed-off-by: Bartosz Golaszewski
    Link: https://lore.kernel.org/r/20190703084849.9668-1-brgl@bgdev.pl
    Signed-off-by: Mark Brown

    Bartosz Golaszewski
     

23 May, 2019

1 commit

  • Clang warns:

    drivers/regulator/max77650-regulator.c:32:39: warning: tentative
    definition of variable with internal linkage has incomplete non-array
    type 'struct max77650_regulator_desc'
    [-Wtentative-definition-incomplete-type]
    static struct max77650_regulator_desc max77651_SBB1_desc;
    ^
    drivers/regulator/max77650-regulator.c:32:15: note: forward declaration
    of 'struct max77650_regulator_desc'
    static struct max77650_regulator_desc max77651_SBB1_desc;
    ^
    1 warning generated.

    Move max77651_SBB1_desc's declaration below max77650_regulator_desc's
    definition so this warning does not happen.

    Fixes: 3df4235ac41c ("regulator: max77650: Convert MAX77651 SBB1 to pickable linear range")
    Link: https://github.com/ClangBuiltLinux/linux/issues/491
    Signed-off-by: Nathan Chancellor
    Reviewed-by: Axel Lin
    Signed-off-by: Mark Brown

    Nathan Chancellor
     

08 May, 2019

1 commit


18 Mar, 2019

1 commit


04 Mar, 2019

1 commit


22 Feb, 2019

1 commit


21 Feb, 2019

1 commit


30 Jan, 2019

1 commit


29 Jan, 2019

1 commit