[PATCH v5 0/2] regulator: pf530x: NXP PF530x regulator driver

Woodrow Douglass posted 2 patches 4 weeks ago
There is a newer version of this series
.../devicetree/bindings/regulator/nxp,pf5300.yaml  |  51 +++
MAINTAINERS                                        |   6 +
drivers/regulator/Kconfig                          |  12 +
drivers/regulator/Makefile                         |   1 +
drivers/regulator/pf530x-regulator.c               | 378 +++++++++++++++++++++
5 files changed, 448 insertions(+)
[PATCH v5 0/2] regulator: pf530x: NXP PF530x regulator driver
Posted by Woodrow Douglass 4 weeks ago
I wrote this driver to read settings and state from the nxp pf530x
regulator. Please consider it for inclusion, any criticism is welcome.

This revision (v5) adds a proper compatibility designation between devices
in the family, and fixes the devicetree schema to pass the dt_binding_check

Thanks,
Woodrow Douglass

--
2.39.5

---
Changes in v5:
- Fixed compatibility match to properly fall back to pf5300
- Reordered patches so that devicetree schema comes before the driver itself
- Modified nxp,pf5300 schema to pass `make dt_binding_check`
- Link to v4: https://lore.kernel.org/r/20250902-pf530x-v4-0-4727f112424e@carnegierobotics.com

Changes in v4:
- Added REGULATOR_ERROR_OVER_TEMP_WARN to pf530x_get_error_flags
- Added EMREV to the info print
- Link to v3: https://lore.kernel.org/r/20250902-pf530x-v3-0-4242e7687761@carnegierobotics.com

Changes in v3:
- Replaced REGCACHE_RBTREE with REGCACHE_MAPLE
- Replaced pf530x_is_enabled function with regulator_is_enabled_regmap
- Added status bits from INT_SENSE1 to pf530x_get_status function
- Added extra context to info print upon chip identification
- Reworked devtree to not require nested "regulators" subnode
- Some minor reformatting of comment style and long lines
- Link to v2: https://lore.kernel.org/r/20250902-pf530x-v2-0-f105eb073cb1@carnegierobotics.com

---
Woodrow Douglass (2):
      regulator: pf530x: dt-bindings: nxp,pf530x-regulator
      regulator: pf530x: Add a driver for the NXP PF5300 Regulator

 .../devicetree/bindings/regulator/nxp,pf5300.yaml  |  51 +++
 MAINTAINERS                                        |   6 +
 drivers/regulator/Kconfig                          |  12 +
 drivers/regulator/Makefile                         |   1 +
 drivers/regulator/pf530x-regulator.c               | 378 +++++++++++++++++++++
 5 files changed, 448 insertions(+)
---
base-commit: b320789d6883cc00ac78ce83bccbfe7ed58afcf0
change-id: 20250902-pf530x-6db7b921120c

Best regards,
-- 
Woodrow Douglass <wdouglass@carnegierobotics.com>
Re: [PATCH v5 0/2] regulator: pf530x: NXP PF530x regulator driver
Posted by Woody Douglass 4 weeks ago
All,

When i submitted this patch, I got a bunch of "unsolicited mail" bounces from gmail. My 
@carnegierobotics.com address is an exchange server with no exposed smtp, so i have to
send patches with `git send-email` via an envelope sender (git@douglass.dev). I suspect 
this is what caused this. I'm sorry for the inconvenience; patch v5 still seems to be 
on the lkml archive.

Thank you,
Woodrow Douglass

Re: [PATCH v5 0/2] regulator: pf530x: NXP PF530x regulator driver
Posted by Krzysztof Kozlowski 4 weeks ago
On 04/09/2025 15:57, Woody Douglass wrote:
> All,
> 
> When i submitted this patch, I got a bunch of "unsolicited mail" bounces from gmail. My 
> @carnegierobotics.com address is an exchange server with no exposed smtp, so i have to
> send patches with `git send-email` via an envelope sender (git@douglass.dev). I suspect 
> this is what caused this. I'm sorry for the inconvenience; patch v5 still seems to be 
> on the lkml archive.

Maybe b4 relay will be helpful:
https://b4.docs.kernel.org/en/latest/contributor/send.html

but if you have own SMTP, then could work as well.

Best regards,
Krzysztof
Re: [PATCH v5 0/2] regulator: pf530x: NXP PF530x regulator driver
Posted by Woody Douglass 4 weeks ago
On 9/4/25 10:07, Krzysztof Kozlowski wrote:
> On 04/09/2025 15:57, Woody Douglass wrote:
>> All,
>>
>> When i submitted this patch, I got a bunch of "unsolicited mail" bounces from gmail. My 
>> @carnegierobotics.com address is an exchange server with no exposed smtp, so i have to
>> send patches with `git send-email` via an envelope sender (git@douglass.dev). I suspect 
>> this is what caused this. I'm sorry for the inconvenience; patch v5 still seems to be 
>> on the lkml archive.
> 
> Maybe b4 relay will be helpful:
> https://b4.docs.kernel.org/en/latest/contributor/send.html
> 
> but if you have own SMTP, then could work as well.
> 
> Best regards,
> Krzysztof
> 

I will configure the web relay for future patches, thank you! Should I resubmit patch v5, or is the
fact that it's on the lkml archive good enough? it's at
https://lore.kernel.org/lkml/20250902-pf530x-v5-0-658c403e6a52@carnegierobotics.com/

Thanks,
Woodrow Douglass

Re: [PATCH v5 0/2] regulator: pf530x: NXP PF530x regulator driver
Posted by Mark Brown 4 weeks ago
On Thu, Sep 04, 2025 at 02:20:05PM +0000, Woody Douglass wrote:

> I will configure the web relay for future patches, thank you! Should I resubmit patch v5, or is the
> fact that it's on the lkml archive good enough? it's at
> https://lore.kernel.org/lkml/20250902-pf530x-v5-0-658c403e6a52@carnegierobotics.com/

It came through fine here so I don't need a resend.