Skip to content

Commit b497e1a

Browse files
wdouglassbroonie
authored andcommitted
regulator: pf530x: Add a driver for the NXP PF5300 Regulator
This driver allows reading some regulator settings and adjusting output voltage. It is based on information from the datasheet at https://www.nxp.com/docs/en/data-sheet/PF5300.pdf Signed-off-by: Woodrow Douglass <wdouglass@carnegierobotics.com> Message-ID: <20250902-pf530x-v7-2-10eb2542f944@carnegierobotics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent f5d15ff commit b497e1a

4 files changed

Lines changed: 394 additions & 0 deletions

File tree

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18292,6 +18292,12 @@ F: Documentation/devicetree/bindings/clock/*imx*
1829218292
F: drivers/clk/imx/
1829318293
F: include/dt-bindings/clock/*imx*
1829418294

18295+
NXP PF5300/PF5301/PF5302 PMIC REGULATOR DEVICE DRIVER
18296+
M: Woodrow Douglass <wdouglass@carnegierobotics.com>
18297+
S: Maintained
18298+
F: Documentation/devicetree/bindings/regulator/nxp,pf5300.yaml
18299+
F: drivers/regulator/pf530x-regulator.c
18300+
1829518301
NXP PF8100/PF8121A/PF8200 PMIC REGULATOR DEVICE DRIVER
1829618302
M: Jagan Teki <jagan@amarulasolutions.com>
1829718303
S: Maintained

drivers/regulator/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,18 @@ config REGULATOR_PCAP
10061006
This driver provides support for the voltage regulators of the
10071007
PCAP2 PMIC.
10081008

1009+
config REGULATOR_PF530X
1010+
tristate "NXP PF5300/PF5301/PF5302 regulator driver"
1011+
depends on I2C && OF
1012+
select REGMAP_I2C
1013+
help
1014+
Say y here to support the regulators found on the NXP
1015+
PF5300/PF5301/PF5302 PMIC.
1016+
1017+
Say M here if you want to support for the regulators found
1018+
on the NXP PF5300/PF5301/PF5302 PMIC. The module will be named
1019+
"pf530x-regulator".
1020+
10091021
config REGULATOR_PF8X00
10101022
tristate "NXP PF8100/PF8121A/PF8200 regulator driver"
10111023
depends on I2C && OF

drivers/regulator/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ obj-$(CONFIG_REGULATOR_QCOM_USB_VBUS) += qcom_usb_vbus-regulator.o
125125
obj-$(CONFIG_REGULATOR_PALMAS) += palmas-regulator.o
126126
obj-$(CONFIG_REGULATOR_PCA9450) += pca9450-regulator.o
127127
obj-$(CONFIG_REGULATOR_PF9453) += pf9453-regulator.o
128+
obj-$(CONFIG_REGULATOR_PF530X) += pf530x-regulator.o
128129
obj-$(CONFIG_REGULATOR_PF8X00) += pf8x00-regulator.o
129130
obj-$(CONFIG_REGULATOR_PFUZE100) += pfuze100-regulator.o
130131
obj-$(CONFIG_REGULATOR_PV88060) += pv88060-regulator.o

0 commit comments

Comments
 (0)