linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] regulator: Add set/get_current_limit helpers and use it
@ 2019-02-28 13:40 Axel Lin
  2019-02-28 13:40 ` [PATCH 01/11] regulator: Fix comment for csel_reg and csel_mask Axel Lin
                   ` (10 more replies)
  0 siblings, 11 replies; 19+ messages in thread
From: Axel Lin @ 2019-02-28 13:40 UTC (permalink / raw)
  To: Mark Brown
  Cc: Support Opensource, patches, Ashish Jangam, Steve Twiss,
	Paul Kocialkowski, Milo Kim, Keerthy, James Ban,
	Bartosz Golaszewski, Liam Girdwood, linux-kernel, Axel Lin

This serial adds regulator_set/get_current_limit_regmap helpers for regmap
users and convert drivers to use these helpers.

patch 1 is a comment fix for existing csel_reg/csel_mask fields.
patch 2 adds n_current_limits and *curr_table fields to
	struct regulator_desc and then adds
	regulator_set_current_limit_regmap() and
        regulator_get_current_limit_regmap()
patch 3-11 convert drivers to use regulator_set/get_current_limit_regmap
	helpers

I don't have h/w for these drivers, so please test it.

Axel Lin (11):
  regulator: Fix comment for csel_reg and csel_mask
  regulator: core: Add set/get_current_limit helpers for regmap users
  regulator: da9055: Convert to use
    regulator_set/get_current_limit_regmap
  regulator: da9210: Convert to use
    regulator_set/get_current_limit_regmap
  regulator: lp872x: Convert to use
    regulator_set/get_current_limit_regmap
  regulator: lp873x: Convert to use
    regulator_set/get_current_limit_regmap
  regulator: max77650: Convert to use
    regulator_set/get_current_limit_regmap
  regulator: pv88060: Convert to use
    regulator_set/get_current_limit_regmap
  regulator: pv88080: Convert to use
    regulator_set/get_current_limit_regmap
  regulator: pv88090: Convert to use
    regulator_set/get_current_limit_regmap
  regulator: wm831x-dcdc: Convert to use
    regulator_set/get_current_limit_regmap

 drivers/regulator/da9055-regulator.c   | 45 +++-----------
 drivers/regulator/da9210-regulator.c   | 53 +++-------------
 drivers/regulator/helpers.c            | 86 ++++++++++++++++++++++++++
 drivers/regulator/lp872x.c             | 70 +++------------------
 drivers/regulator/lp873x-regulator.c   | 45 ++------------
 drivers/regulator/max77650-regulator.c | 74 ++++++++--------------
 drivers/regulator/pv88060-regulator.c  | 51 +++------------
 drivers/regulator/pv88080-regulator.c  | 55 +++-------------
 drivers/regulator/pv88090-regulator.c  | 53 +++-------------
 drivers/regulator/wm831x-dcdc.c        | 42 ++-----------
 include/linux/regulator/driver.h       | 11 +++-
 11 files changed, 181 insertions(+), 404 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-03-01  8:36 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-28 13:40 [PATCH 00/11] regulator: Add set/get_current_limit helpers and use it Axel Lin
2019-02-28 13:40 ` [PATCH 01/11] regulator: Fix comment for csel_reg and csel_mask Axel Lin
2019-02-28 13:40 ` [PATCH 02/11] regulator: core: Add set/get_current_limit helpers for regmap users Axel Lin
2019-02-28 13:40 ` [PATCH 03/11] regulator: da9055: Convert to use regulator_set/get_current_limit_regmap Axel Lin
2019-02-28 15:18   ` Steve Twiss
2019-02-28 13:40 ` [PATCH 04/11] regulator: da9210: " Axel Lin
2019-02-28 14:01   ` Steve Twiss
2019-02-28 13:40 ` [PATCH 05/11] regulator: lp872x: " Axel Lin
2019-02-28 13:40 ` [PATCH 06/11] regulator: lp873x: " Axel Lin
2019-02-28 13:40 ` [PATCH 07/11] regulator: max77650: " Axel Lin
2019-02-28 14:11   ` Bartosz Golaszewski
2019-02-28 13:40 ` [PATCH 08/11] regulator: pv88060: " Axel Lin
2019-02-28 15:26   ` Steve Twiss
2019-02-28 13:40 ` [PATCH 09/11] regulator: pv88080: " Axel Lin
2019-02-28 15:41   ` Steve Twiss
2019-02-28 13:40 ` [PATCH 10/11] regulator: pv88090: " Axel Lin
2019-02-28 15:47   ` Steve Twiss
2019-02-28 13:40 ` [PATCH 11/11] regulator: wm831x-dcdc: " Axel Lin
2019-03-01  8:33   ` Charles Keepax

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).