• Mark Brown's avatar
    Merge series "regulator: mcp16502: add support for ramp delay" from Claudiu... · 2f595d08
    Mark Brown authored
    Merge series "regulator: mcp16502: add support for ramp delay" from Claudiu Beznea <claudiu.beznea@microchip.com>:
    
    Hi,
    
    This series adds support for ramp delay on mcp16502. It also adds
    some cleanup on mcp16502.
    
    Apart from that patches 1/6 fixes the selector validation in case
    the regulator::desc::linear_min_sel is not zero.
    
    Thank you,
    Claudiu Beznea
    
    Changes in v3:
    - fix compilation error in patch 5/6
    Reported-by: default avatarkernel test robot <lkp@intel.com>
    
    Changes in v2:
    - rebase on top of regulator/for-next
    - checked 1/6 and 3/6 applies on top of regulator/for-5.10
    
    Claudiu Beznea (6):
      regulator: core: validate selector against linear_min_sel
      regulator: core: do not continue if selector match
      regulator: mcp16502: add linear_min_sel
      regulator: mcp16502: adapt for get/set on other registers
      regulator: mcp16502: add support for ramp delay
      regulator: mcp16502: remove void documentation of struct mcp16502
    
     drivers/regulator/core.c     |  12 +++-
     drivers/regulator/helpers.c  |   3 +-
     drivers/regulator/mcp16502.c | 135 ++++++++++++++++++++++++++++++++++++-------
     3 files changed, 127 insertions(+), 23 deletions(-)
    
    --
    2.7.4
    
    _______________________________________________
    linux-arm-kernel mailing list
    linux-arm-kernel@lists.infradead.org
    http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
    2f595d08
core.c 152 KB