[PATCH 0/5] regulator: arizona: clean up Device Tree and platform data handling
From: Dmitry Torokhov
Date: Tue Dec 01 2026 - 00:59:29 EST
This series fixes a Device Tree node reference leak, cleans up Device
Tree parsing and external DCVDD detection, and removes internal platform
data usage from the Arizona LDO1 and MICVDD regulator drivers.
An earlier change left the child ldo1 Device Tree node reference leaked
when acquiring the enable GPIO failed in arizona-ldo1. Fix that error
path, then allow Device Tree parsing to run regardless of parent
platform data while short-circuiting early when no Device Tree node is
present. Next, assign default init_data directly in regulator_config
instead of staging it through platform data and drop the unreachable
empty consumer supply check in arizona-ldo1. Finally, consolidate
external DCVDD detection and flatten Device Tree property parsing in
both drivers, and tidy up minor coding style issues in arizona-ldo1.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
---
Dmitry Torokhov (5):
regulator: arizona-ldo1: fix OF node leak on enable GPIO error
regulator: arizona: always parse device tree properties
regulator: arizona: stop using platform data for init_data
regulator: arizona: simplify Device Tree property parsing
regulator: arizona-ldo1: clean up coding style
drivers/regulator/arizona-ldo1.c | 91 ++++++++++++-------------------------
drivers/regulator/arizona-micsupp.c | 60 ++++++++----------------
2 files changed, 47 insertions(+), 104 deletions(-)
---
base-commit: 253f86660c1f882fbf554db5eaa34bc5d66dc7e8
change-id: 20261130-arizona-regulator-c910d92a3591
Thanks.
--
Dmitry