Skip to content

regulator: fp9931: Make vin-supply mandatory

Robby Cai imx linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 13 repliesIn review

Changes in v2 from the cover letter

- Addressed feedback from Andreas and Mark by replacing devm_regulator_get_optional() with devm_regulator_get() because VIN is required.
- Added a new patch updating the binding documentation to make vin-supply a required property.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: regulator: fp9931: Make vin-supply property as requiredDocumentation/devicetree/bindings/regulator/fitipower,fp9931.yaml+1 -04 replies
2/2regulator: fp9931: Fix handling of mandatory "vin" supplydrivers/regulator/fp9931.c+1 -13 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchConor Dooley
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] regulator: fp9931: Make vin-supply mandatory

The FP9931 regulator requires a valid "vin" supply to operate correctly. Therefore, the driver should treat "vin" as a mandatory supply.

This patchset updates the binding documentation to mark vin-supply as a required property, and modifies the driver accordingly. As suggested in the reviews from Andreas and Mark, v2 switches to using devm_regulator_get() since the supply is mandatory.

Changes in v2:
- Addressed feedback from Andreas and Mark by replacing devm_regulator_get_optional() with devm_regulator_get() because VIN is required.
- Added a new patch updating the binding documentation to make vin-supply a required property.

v1: https://patchwork.kernel.org/project/imx/patch/20260312040148.GA4007088@shlinux88/

Robby Cai (2):
dt-bindings: regulator: fitipower,fp9931: Make vin-supply property as
required
regulator: fp9931: Fix handling of mandatory "vin" supply

 .../devicetree/bindings/regulator/fitipower,fp9931.yaml         | 1 +
 drivers/regulator/fp9931.c                                      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.37.1