From: Mark Brown <broonie@kernel.org>
To: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Cc: mazziesaccount@gmail.com, lgirdwood@gmail.com, sre@kernel.org,
brendanhiggins@google.com, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v12 00/11] Support ROHM BD99954 charger IC
Date: Fri, 8 May 2020 18:20:24 +0100 [thread overview]
Message-ID: <20200508172024.GN4820@sirena.org.uk> (raw)
In-Reply-To: <cover.1588944082.git.matti.vaittinen@fi.rohmeurope.com>
[-- Attachment #1: Type: text/plain, Size: 4389 bytes --]
On Fri, May 08, 2020 at 06:38:17PM +0300, Matti Vaittinen wrote:
> Please note that this series should be applied to two trees. Patches
> 1-4 (or 1-5 as suggested by Sebastian) should go to regulator tree.
> Perhaps Mark can provide an immutable branch to Sebastian? Rest of the
> patches can then go to power-supply tree.
The following changes since commit 0e698dfa282211e414076f9dc7e83c1c288314fd:
Linux 5.7-rc4 (2020-05-03 14:56:04 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/linear-ranges-lib
for you to fetch changes up to 60ab7f4153b6af461c90d572c31104086b44639f:
regulator: use linear_ranges helper (2020-05-08 18:18:13 +0100)
----------------------------------------------------------------
lib: Add linear ranges helper library and start using it
Series extracts a "linear ranges" helper out of the regulator
framework. Linear ranges helper is intended to help converting
real-world values to register values when conversion is linear. I
suspect this is useful also for power subsystem and possibly for clk.
----------------------------------------------------------------
Matti Vaittinen (4):
lib: add linear ranges helpers
lib/test_linear_ranges: add a test for the 'linear_ranges'
power: supply: bd70528: rename linear_range to avoid collision
regulator: use linear_ranges helper
drivers/power/supply/bd70528-charger.c | 10 +-
drivers/regulator/88pg86x.c | 4 +-
drivers/regulator/88pm800-regulator.c | 4 +-
drivers/regulator/Kconfig | 1 +
drivers/regulator/act8865-regulator.c | 4 +-
drivers/regulator/act8945a-regulator.c | 2 +-
drivers/regulator/arizona-ldo1.c | 2 +-
drivers/regulator/arizona-micsupp.c | 4 +-
drivers/regulator/as3711-regulator.c | 6 +-
drivers/regulator/as3722-regulator.c | 4 +-
drivers/regulator/axp20x-regulator.c | 16 +--
drivers/regulator/bcm590xx-regulator.c | 8 +-
drivers/regulator/bd70528-regulator.c | 8 +-
drivers/regulator/bd71828-regulator.c | 10 +-
drivers/regulator/bd718x7-regulator.c | 26 ++--
drivers/regulator/da903x.c | 2 +-
drivers/regulator/helpers.c | 130 ++++++++---------
drivers/regulator/hi6421-regulator.c | 4 +-
drivers/regulator/lochnagar-regulator.c | 4 +-
drivers/regulator/lp873x-regulator.c | 4 +-
drivers/regulator/lp87565-regulator.c | 2 +-
drivers/regulator/lp8788-buck.c | 2 +-
drivers/regulator/max77650-regulator.c | 2 +-
drivers/regulator/mcp16502.c | 4 +-
drivers/regulator/mp8859.c | 2 +-
drivers/regulator/mt6323-regulator.c | 6 +-
drivers/regulator/mt6358-regulator.c | 8 +-
drivers/regulator/mt6380-regulator.c | 6 +-
drivers/regulator/mt6397-regulator.c | 6 +-
drivers/regulator/palmas-regulator.c | 4 +-
drivers/regulator/qcom-rpmh-regulator.c | 2 +-
drivers/regulator/qcom_rpm-regulator.c | 14 +-
drivers/regulator/qcom_smd-regulator.c | 78 +++++------
drivers/regulator/rk808-regulator.c | 10 +-
drivers/regulator/s2mps11.c | 14 +-
drivers/regulator/sky81452-regulator.c | 2 +-
drivers/regulator/stpmic1_regulator.c | 18 +--
drivers/regulator/tps65086-regulator.c | 10 +-
drivers/regulator/tps65217-regulator.c | 4 +-
drivers/regulator/tps65218-regulator.c | 6 +-
drivers/regulator/tps65912-regulator.c | 4 +-
drivers/regulator/twl-regulator.c | 4 +-
drivers/regulator/twl6030-regulator.c | 2 +-
drivers/regulator/wm831x-dcdc.c | 2 +-
drivers/regulator/wm831x-ldo.c | 4 +-
drivers/regulator/wm8350-regulator.c | 2 +-
drivers/regulator/wm8400-regulator.c | 2 +-
include/linux/linear_range.h | 48 +++++++
include/linux/regulator/driver.h | 27 +---
lib/Kconfig | 3 +
lib/Kconfig.debug | 12 ++
lib/Makefile | 2 +
lib/linear_ranges.c | 241 ++++++++++++++++++++++++++++++++
lib/test_linear_ranges.c | 228 ++++++++++++++++++++++++++++++
54 files changed, 768 insertions(+), 266 deletions(-)
create mode 100644 include/linux/linear_range.h
create mode 100644 lib/linear_ranges.c
create mode 100644 lib/test_linear_ranges.c
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2020-05-08 17:20 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-08 15:38 Matti Vaittinen
2020-05-08 15:39 ` [PATCH v12 01/11] lib: add linear ranges helpers Matti Vaittinen
2020-05-08 15:40 ` [PATCH v12 02/11] lib/test_linear_ranges: add a test for the 'linear_ranges' Matti Vaittinen
2020-05-08 17:17 ` Mark Brown
2020-05-08 18:42 ` Vaittinen, Matti
2020-05-11 10:13 ` Mark Brown
2020-05-09 15:17 ` Vaittinen, Matti
2020-05-08 15:41 ` [PATCH v12 03/11] power: supply: bd70528: rename linear_range to avoid collision Matti Vaittinen
2020-05-08 15:43 ` [PATCH v12 04/11] regulator: use linear_ranges helper Matti Vaittinen
2020-05-08 15:44 ` [PATCH v12 05/11] power: supply: bd70528: use linear ranges Matti Vaittinen
2020-05-08 15:46 ` [PATCH v12 06/11] dt-bindings: battery: add new battery parameters Matti Vaittinen
2020-05-08 15:47 ` [PATCH v12 07/11] power: supply: add " Matti Vaittinen
2020-05-08 15:48 ` [PATCH v12 08/11] dt_bindings: ROHM BD99954 Charger Matti Vaittinen
2020-05-08 15:49 ` [PATCH v12 09/11] power: supply: Support ROHM bd99954 charger Matti Vaittinen
2020-05-08 15:50 ` Matti Vaittinen
2020-05-08 15:59 ` Vaittinen, Matti
2020-05-08 17:44 ` sre
2020-05-08 15:51 ` [PATCH v12 10/11] power: supply: Fix Kconfig help text indentiation Matti Vaittinen
2020-05-08 15:52 ` [PATCH v12 11/11] power: supply: KConfig cleanup default n Matti Vaittinen
2020-05-08 17:13 ` [PATCH v12 00/11] Support ROHM BD99954 charger IC Mark Brown
2020-05-08 17:20 ` Mark Brown [this message]
2020-05-10 0:32 ` Sebastian Reichel
2020-05-10 16:04 ` Sebastian Reichel
2020-05-10 18:51 ` Vaittinen, Matti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200508172024.GN4820@sirena.org.uk \
--to=broonie@kernel.org \
--cc=brendanhiggins@google.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=matti.vaittinen@fi.rohmeurope.com \
--cc=mazziesaccount@gmail.com \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®