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

From: Robby Cai

Date: Fri Mar 13 2026 - 10:03:49 EST


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(-)

--
2.37.1