Re: [PATCH 2/5] regulator: arizona: always parse device tree properties

From: Charles Keepax

Date: Wed Dec 02 2026 - 11:43:15 EST


On Mon, Nov 30, 2026 at 09:58:36PM -0800, Dmitry Torokhov wrote:
> Always invoke Device Tree parsing for Arizona LDO1 and MICVDD
> regulators even when parent platform data is present, allowing DT
> properties to configure regulators without requiring platform data to be
> absent.
>
> Short-circuit early inside the OF parsing helpers when the parent
> device has no OF node so non-DT platforms skip OF lookups while still
> registering the regulators with default init_data, and CONFIG_OF=n
> builds fold the helpers away cleanly without an explicit CONFIG_OF guard
> at the call sites.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> ---

Reviewed-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Thanks,
Charles