[PATCH v3 0/2] regulator: Add support for TPS6287x

From: Mårten Lindahl
Date: Mon May 08 2023 - 09:14:34 EST


This series adds basic support for TI's TPS62870/TPS62871/TPS62872/
TPS62873 high-frequency single-channel step-down converters with an
I2C interface.

The devices can operate in power save mode for maximum efficiency, or
forced-PWM mode for best transient performance and lowest output
voltage ripple. All chip variants have four output voltage ranges and
the driver changes active range depending on the requested voltage
setting.

There are differences in the electrical characteristics and packaging
between the variants, but the register interfaces are identical.

Signed-off-by: Mårten Lindahl <marten.lindahl@xxxxxxxx>
---
Changes in v3:
- dt-bindings: Changed subject prefix "regulator:" => "regulator: dt-bindings:".
- dt-bindings: Dropped 'regulators' and 'vout' nodes.
- dt-bindings: Added description for regulator-initial-mode.
- Call of_get_regulator_init_data to read the regulation constraints from driver probe.
- Drop local get/set voltage functions and use helper functions get/set/list_pickable_regmap
with linear_ranges/linear_range_selectors mappings instead.
- Link to v2: https://lore.kernel.org/r/20230502-tps6287x-driver-v2-0-fb5419d46c49@xxxxxxxx

Changes in v2:
- No changes. v2 was v1

---
Mårten Lindahl (2):
regulator: dt-bindings: Add bindings for TPS6287x
regulator: Add support for TI TPS6287x regulators

.../devicetree/bindings/regulator/ti,tps62870.yaml | 52 ++++++
drivers/regulator/Kconfig | 11 ++
drivers/regulator/Makefile | 1 +
drivers/regulator/tps6287x-regulator.c | 188 +++++++++++++++++++++
4 files changed, 252 insertions(+)
---
base-commit: 457391b0380335d5e9a5babdec90ac53928b23b4
change-id: 20230502-tps6287x-driver-af1474b3111e

Best regards,
--
Mårten Lindahl <marten.lindahl@xxxxxxxx>