All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] regulator: arizona: clean up Device Tree and platform data handling
@ 2026-12-01  5:58 Dmitry Torokhov
  2026-12-01  5:58 ` [PATCH 1/5] regulator: arizona-ldo1: fix OF node leak on enable GPIO error Dmitry Torokhov
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Dmitry Torokhov @ 2026-12-01  5:58 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown; +Cc: patches, linux-kernel

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@gmail.com>
---
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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-12-02 17:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01  5:58 [PATCH 0/5] regulator: arizona: clean up Device Tree and platform data handling Dmitry Torokhov
2026-12-01  5:58 ` [PATCH 1/5] regulator: arizona-ldo1: fix OF node leak on enable GPIO error Dmitry Torokhov
2026-12-02 15:58   ` Charles Keepax
2026-12-01  5:58 ` [PATCH 2/5] regulator: arizona: always parse device tree properties Dmitry Torokhov
2026-12-02 16:42   ` Charles Keepax
2026-12-01  5:58 ` [PATCH 3/5] regulator: arizona: stop using platform data for init_data Dmitry Torokhov
2026-12-02 17:10   ` Charles Keepax
2026-12-01  5:58 ` [PATCH 4/5] regulator: arizona: simplify Device Tree property parsing Dmitry Torokhov
2026-12-02 17:17   ` Charles Keepax
2026-12-01  5:58 ` [PATCH 5/5] regulator: arizona-ldo1: clean up coding style Dmitry Torokhov
2026-12-02 17:18   ` Charles Keepax

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.