power: pmic: Support pmic pf5300
PATCH 1/4 power: pmic: Support pmic pf5300
From: Joy Zou <[email protected]>
Support NXP pmic pf5300
--- drivers/power/pmic/Kconfig | 15 ++++ drivers/power/pmic/Makefile | 1 + drivers/power/pmic/pf5300.c | 168 ++++++++++++++++++++++++++++++++++++ include/power/pf5300.h | 100 +++++++++++++++++++++ 4 files changed, 284 insertions(+) create mode 100644 drivers/power/pmic/pf5300.c create mode 100644 include/power/pf5300.h
drivers/power/pmic/Kconfig +15 -0
@@ -186,6 +186,21 @@ config SPL_DM_PMIC_PF0900 This config enables implementation of driver-model pmic uclass features for PMIC PF0900 in SPL. The driver implements read/write operations. +config DM_PMIC_PF5300 + bool "Enable Driver Model for PMIC PF5300" + depends on DM_I2C + help + This config enables implementation of driver-model pmic uclass features + for PMIC PF5300. The driver implements read/write operations. + +config SPL_DM_PMIC_PF5300 + bool "Enable Driver Model for PMIC PF5300 in SPL" + depends on SPL_DM_PMIC + depends on SPL_DM_I2C + help + This config enables implementation of driver-model pmic uclass features + for PMIC PF5300 in SPL. The driver implements read/write operations. + config DM_PMIC_PFUZE100 bool "Enable Driver Model for PMIC PFUZE100" ---help---
drivers/power/pmic/Makefile +1 -0
@@ -15,6 +15,7 @@ obj-$(CONFIG_$(SPL_)DM_PMIC_MP5416) += mp5416.o obj-$(CONFIG_$(SPL_)DM_PMIC_PFUZE100) += pfuze100.o obj-$(CONFIG_$(SPL_)DM_PMIC_PCA9450) += pca9450.o obj-$(CONFIG_$(SPL_)DM_PMIC_PF0900) += pf0900.o +obj-$(CONFIG_$(SPL_)DM_PMIC_PF5300) += pf5300.o obj-$(CONFIG_PMIC_S2MPS11) += s2mps11.o obj-$(CONFIG_DM_PMIC_SANDBOX) += sandbox.o i2c_pmic_emul.o obj-$(CONFIG_PMIC_AB8500) += ab8500.o
drivers/power/pmic/pf5300.c new file +168 -0
168 lines not on this page · raw message
include/power/pf5300.h new file +100 -0
100 lines not on this page · raw message
Signature · 1 line
2.35.3
PATCH 2/4 power: regulator: Support pmic pf5300
From: Joy Zou <[email protected]>
Add regulator support for NXP pmic pf5300.
--- drivers/power/regulator/Kconfig | 15 ++ drivers/power/regulator/Makefile | 1 + drivers/power/regulator/pf5300.c | 247 +++++++++++++++++++++++++++++++ 3 files changed, 263 insertions(+) create mode 100644 drivers/power/regulator/pf5300.c
drivers/power/regulator/Kconfig +15 -0
@@ -111,6 +111,21 @@ config SPL_DM_REGULATOR_PF0900 This config enables implementation of driver-model regulator uclass features for regulators on ROHM PF0900 in SPL. +config DM_REGULATOR_PF5300 + bool "Enable Driver Model for NXP PF5300 regulators" + depends on DM_REGULATOR && DM_PMIC_PF5300 + help + This config enables implementation of driver-model regulator uclass + features for regulators on NXP PF5300 PMICs. PF5300 contains 1 sw. + The driver implements get/set api for value and enable. + +config SPL_DM_REGULATOR_PF5300 + bool "Enable Driver Model for NXP PF5300 regulators in SPL" + depends on DM_REGULATOR_PF0900 && SPL + help + This config enables implementation of driver-model regulator uclass + features for regulators on ROHM PF5300 in SPL. + config DM_REGULATOR_DA9063 bool "Enable Driver Model for REGULATOR DA9063" depends on DM_REGULATOR && DM_PMIC_DA9063
drivers/power/regulator/Makefile +1 -0
@@ -17,6 +17,7 @@ obj-$(CONFIG_$(SPL_)DM_PMIC_PFUZE100) += pfuze100.o obj-$(CONFIG_$(SPL_)DM_REGULATOR_BD71837) += bd71837.o obj-$(CONFIG_$(SPL_)DM_REGULATOR_PCA9450) += pca9450.o obj-$(CONFIG_$(SPL_)DM_REGULATOR_PF0900) += pf0900.o +obj-$(CONFIG_$(SPL_)DM_REGULATOR_PF5300) += pf5300.o obj-$(CONFIG_$(SPL_)REGULATOR_PWM) += pwm_regulator.o obj-$(CONFIG_$(SPL_)DM_REGULATOR_FAN53555) += fan53555.o obj-$(CONFIG_$(SPL_)DM_REGULATOR_COMMON) += regulator_common.o
drivers/power/regulator/pf5300.c new file +247 -0
247 lines not on this page · raw message
Signature · 1 line
2.35.3
PATCH 3/4 power: pmic: ADD PMIC PF9453 support
In reply to Peng Fan (OSS)From: Joy Zou <[email protected]>
Support NXP PMIC pf9453.
--- drivers/power/pmic/Kconfig | 15 ++++ drivers/power/pmic/Makefile | 1 + drivers/power/pmic/pf9453.c | 173 ++++++++++++++++++++++++++++++++++++ include/power/pf9453.h | 71 +++++++++++++++ 4 files changed, 260 insertions(+) create mode 100644 drivers/power/pmic/pf9453.c create mode 100644 include/power/pf9453.h
drivers/power/pmic/Kconfig +15 -0
@@ -171,6 +171,21 @@ config SPL_DM_PMIC_PCA9450 This config enables implementation of driver-model pmic uclass features for PMIC PCA9450 in SPL. The driver implements read/write operations. +config DM_PMIC_PF9453 + bool "Enable Driver Model for PMIC PF9453" + depends on DM_I2C + help + This config enables implementation of driver-model pmic uclass features + for PMIC PF9453. The driver implements read/write operations. + +config SPL_DM_PMIC_PF9453 + bool "Enable Driver Model for PMIC PF9453 in SPL" + depends on SPL_DM_PMIC + depends on SPL_DM_I2C + help + This config enables implementation of driver-model pmic uclass features + for PMIC PF9453 in SPL. The driver implements read/write operations. + config DM_PMIC_PF0900 bool "Enable Driver Model for PMIC PF0900" depends on DM_I2C
drivers/power/pmic/Makefile +1 -0
@@ -14,6 +14,7 @@ obj-$(CONFIG_$(SPL_)DM_PMIC_BD71837) += bd71837.o obj-$(CONFIG_$(SPL_)DM_PMIC_MP5416) += mp5416.o obj-$(CONFIG_$(SPL_)DM_PMIC_PFUZE100) += pfuze100.o obj-$(CONFIG_$(SPL_)DM_PMIC_PCA9450) += pca9450.o +obj-$(CONFIG_$(SPL_)DM_PMIC_PF9453) += pf9453.o obj-$(CONFIG_$(SPL_)DM_PMIC_PF0900) += pf0900.o obj-$(CONFIG_$(SPL_)DM_PMIC_PF5300) += pf5300.o obj-$(CONFIG_PMIC_S2MPS11) += s2mps11.o
drivers/power/pmic/pf9453.c new file +173 -0
173 lines not on this page · raw message
include/power/pf9453.h new file +71 -0
71 lines not on this page · raw message
Signature · 1 line
2.35.3
PATCH 4/4 power: regulator: ADD PMIC PF9453 support
In reply to Peng Fan (OSS)From: Joy Zou <[email protected]>
Add regulator support for NXP PMIC pf9453 for imx91 qsb.
--- drivers/power/regulator/Kconfig | 15 ++ drivers/power/regulator/Makefile | 1 + drivers/power/regulator/pf9453.c | 256 +++++++++++++++++++++++++++++++ 3 files changed, 272 insertions(+) create mode 100644 drivers/power/regulator/pf9453.c
drivers/power/regulator/Kconfig +15 -0
@@ -96,6 +96,21 @@ config SPL_DM_REGULATOR_PCA9450 This config enables implementation of driver-model regulator uclass features for regulators on ROHM PCA9450 in SPL. +config DM_REGULATOR_PF9453 + bool "Enable Driver Model for NXP PF9453 regulators" + depends on DM_REGULATOR && DM_PMIC_PF9453 + help + This config enables implementation of driver-model regulator uclass + features for regulators on NXP PF9453 PMICs. PF9453 contains 6 bucks + and 5 LDOS. The driver implements get/set api for value and enable. + +config SPL_DM_REGULATOR_PF9453 + bool "Enable Driver Model for NXP PF9453 regulators in SPL" + depends on DM_REGULATOR_PF9453 && SPL + help + This config enables implementation of driver-model regulator uclass + features for regulators on ROHM PF9453 in SPL. + config DM_REGULATOR_PF0900 bool "Enable Driver Model for NXP PF0900 regulators" depends on DM_REGULATOR && DM_PMIC_PF0900
drivers/power/regulator/Makefile +1 -0
@@ -16,6 +16,7 @@ obj-$(CONFIG_DM_REGULATOR_NPCM8XX) += npcm8xx_regulator.o obj-$(CONFIG_$(SPL_)DM_PMIC_PFUZE100) += pfuze100.o obj-$(CONFIG_$(SPL_)DM_REGULATOR_BD71837) += bd71837.o obj-$(CONFIG_$(SPL_)DM_REGULATOR_PCA9450) += pca9450.o +obj-$(CONFIG_$(SPL_)DM_REGULATOR_PF9453) += pf9453.o obj-$(CONFIG_$(SPL_)DM_REGULATOR_PF0900) += pf0900.o obj-$(CONFIG_$(SPL_)DM_REGULATOR_PF5300) += pf5300.o obj-$(CONFIG_$(SPL_)REGULATOR_PWM) += pwm_regulator.o
drivers/power/regulator/pf9453.c new file +256 -0
256 lines not on this page · raw message
Signature · 1 line
2.35.3
Re: [PATCH 4/4] power: regulator: ADD PMIC PF9453 support
[1] is required to fix PMIC access on u-boot 2026.07 then both [2] and [3] works fine for me.
[2] https://lists.u-boot-project.org/pipermail/u-boot/2024-September/566287.html
[3] https://lists.u-boot-project.org/pipermail/u-boot/2024-September/566288.html
Signature · 5 lines
Krzysztof Drobiński Embedded Linux Systems email: [email protected] website: kd-solutions.pl
BEGIN:VCARD
VERSION:4.0
N:Drobiński;Krzysztof;;;
EMAIL;PREF=1;TYPE=work:[email protected]
URL:https://kd-solutions.pl
END:VCARD
Re: [PATCH 4/4] power: regulator: ADD PMIC PF9453 support
Hi Krzysztof,
Quoted 5 lines · Krzysztof Drobiński via U-Boot
[1] is required to fix PMIC access on u-boot 2026.07 then both [2] and
[3] works fine for me.
Quoted 8 lines
[2]
https://lists.u-boot-project.org/pipermail/u-boot/2024-September/566287.html[3]
https://lists.u-boot-project.org/pipermail/u-boot/2024-September/566288.html
Care to resend these patches?
Thanks
Re: [PATCH 4/4] power: regulator: ADD PMIC PF9453 support
Hi Fabio,
W dniu 21.07.2026 o 13:47, Fabio Estevam pisze:
Quoted 11 lines
Hi Krzysztof,
Quoted 7 lines · Krzysztof Drobiński via U-Boot
[1] is required to fix PMIC access on u-boot 2026.07 then both [2] and
[3] works fine for me.
Quoted 8 lines
Quoted 5 lines
[2]
https://lists.u-boot-project.org/pipermail/u-boot/2024-September/566287.html[3]
https://lists.u-boot-project.org/pipermail/u-boot/2024-September/566288.htmlCare to resend these patches?
Thanks
Sure, will do
BEGIN:VCARD
VERSION:4.0
N:Drobiński;Krzysztof;;;
EMAIL;PREF=1;TYPE=work:[email protected]
URL:https://kd-solutions.pl
END:VCARD
Re: [PATCH 4/4] power: regulator: ADD PMIC PF9453 support
Quoted 19 lines
Hi Fabio,
W dniu 21.07.2026 o 13:47, Fabio Estevam pisze:
Quoted 16 lines
Hi Krzysztof,
Quoted 12 lines · Krzysztof Drobiński via U-Boot
[1] is required to fix PMIC access on u-boot 2026.07 then both [2] and
[3] works fine for me.[2]
https://lists.u-boot-project.org/pipermail/u-boot/2024-September/566287.html
Quoted 7 lines
Quoted 6 lines
Care to resend these patches?
Thanks
Sure, will do
I don't have possibility to test entire patch series which covers also PF5300 there. I assume, I should create new patch series covering only rebased and fixed PF9453 support?
Re: [PATCH 4/4] power: regulator: ADD PMIC PF9453 support
Quoted 3 lines · Krzysztof Drobiński
I don't have possibility to test entire patch series which covers also PF5300 there. I assume, I should create new patch series covering only rebased and fixed PF9453 support?
Yes, that would be appreciated, thanks.
Re: [PATCH 4/4] power: regulator: ADD PMIC PF9453 support
Quoted 7 lines
Quoted 3 lines · Krzysztof Drobiński
I don't have possibility to test entire patch series which covers also PF5300 there. I assume, I should create new patch series covering only rebased and fixed PF9453 support?
Yes, that would be appreciated, thanks.
Rebased. See https://lists.u-boot-project.org/pipermail/u-boot/2026-July/625966.html
Signature · 5 lines
Krzysztof Drobiński Embedded Linux Systems email: [email protected] website: kd-solutions.pl
Quoted 7 lines · Peng Fan (OSS)
From: Joy Zou <[email protected]>
Support NXP pmic pf5300
Signed-off-by Joy Zou <[email protected]>Reviewed-by Ye Li <[email protected]>Signed-off-by Peng Fan <[email protected]>
Quoted 8 lines
--- drivers/power/pmic/Kconfig | 15 ++++ drivers/power/pmic/Makefile | 1 + drivers/power/pmic/pf5300.c | 168 ++++++++++++++++++++++++++++++++++++ include/power/pf5300.h | 100 +++++++++++++++++++++ 4 files changed, 284 insertions(+) create mode 100644 drivers/power/pmic/pf5300.c create mode 100644 include/power/pf5300.h
This series needs to be rebased based on the feedback I just gave for pf0900. In addition, please make sure all patches are checkpatch.pl clean, thanks.
Signature · 1 line
Tom