[PATCH v2 0/2] Add Richtek RT5190A PMIC support

From: cy_huang
Date: Wed Mar 09 2022 - 03:02:15 EST


From: ChiYuan Huang <cy_huang@xxxxxxxxxxx>

This patch series add Richtek RT5190A PMIC support.

v2:
1. use standard bindings regulator-min/max-microvolt to replace
fixed-microvolt property
2. change dt-bindings sample node name from rt5190a@64 to pmic@64.
3. add dt-binding header to defin e the opmode mapping number.
4. refine 'richtek,mute-enable' description in dt-binding.
4. due to fixed-microvolt property removal, use of_regulator_match to get
the regulator init data.
5. fix checkpatch warning and error.

ChiYuan Huang (2):
dt-bindings: regulator: Add bindings for Richtek RT5190A PMIC
regulator: rt5190a: Add support for Richtek RT5190A PMIC

.../regulator/richtek,rt5190a-regulator.yaml | 141 ++++++
drivers/regulator/Kconfig | 10 +
drivers/regulator/Makefile | 1 +
drivers/regulator/rt5190a-regulator.c | 513 +++++++++++++++++++++
.../regulator/richtek,rt5190a-regulator.h | 15 +
5 files changed, 680 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/richtek,rt5190a-regulator.yaml
create mode 100644 drivers/regulator/rt5190a-regulator.c
create mode 100644 include/dt-bindings/regulator/richtek,rt5190a-regulator.h

--
2.7.4