[PATCH v3 0/2] Add support for Richtek RT6190 36V 4-wwtich regulator

From: cy_huang
Date: Sun Oct 30 2022 - 22:29:21 EST


From: ChiYuan Huang <cy_huang@xxxxxxxxxxx>

The RT6190 is a 4-switch Buck-Boost controller designed for USB power delivery
(USB PD). It operates with wide input voltage range from 4.5V to 36V, and the
output voltage can be programmable between 3V and 36V. It implements peak
current mode control mechanism to deliver up to 100W power with the
programmable constant voltage and constant current output. It also has built-in
charge pumps for driving external low-cost N-MOSFETs to control the power path.

Since v3:
- Fix the typo 'upply' to 'supply'.
- Declare 'enable-gpios' maxItems as 1.
- Declare the 'maxItems' for the property 'regulator-allowed-modes'.

Since v2:
- Rename binding filename to 'richtek,rt6190.yaml'

ChiYuan Huang (2):
dt-bindings: regulator: Add bindings for Richtek RT6190 regulator
regulator: rt6190: Add support for Richtek RT6190 regulator

.../bindings/regulator/richtek,rt6190.yaml | 79 ++++
drivers/regulator/Kconfig | 11 +
drivers/regulator/Makefile | 1 +
drivers/regulator/rt6190-regulator.c | 495 +++++++++++++++++++++
4 files changed, 586 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/richtek,rt6190.yaml
create mode 100644 drivers/regulator/rt6190-regulator.c

--
2.7.4