Re: [PATCH v9 0/3] Add of_regulator_get_optional() and Fix MTK Power Domain Driver

From: Ulf Hansson
Date: Wed Oct 02 2024 - 07:00:36 EST


On Mon, 30 Sept 2024 at 23:17, Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Mon, Sep 30, 2024 at 12:45:20PM +0800, Chen-Yu Tsai wrote:
>
> > Patch 1 adds a new of_regulator_get_optional() function to look up
> > regulator supplies using device tree nodes.
>
> > Patch 2 adds a devres version of the aforementioned function at
> > Sebastian's request for the two power domain drivers.
>
> The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:
>
> Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)
>
> are available in the Git repository at:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-of-get-optional
>
> for you to fetch changes up to 36ec3f437227470568e5f460997f367f5446a34d:
>
> regulator: Add devres version of of_regulator_get_optional() (2024-09-30 01:11:41 +0200)
>
> ----------------------------------------------------------------
> regulator: Add of_regulator_get_optional() APIs
>
> Add of_regulator_get_optional() APIs, which can be used by generic code
> to improve integration of regulator management helpers for their users.
>
> ----------------------------------------------------------------
> Chen-Yu Tsai (2):
> regulator: Add of_regulator_get_optional() for pure DT regulator lookup
> regulator: Add devres version of of_regulator_get_optional()
>
> drivers/regulator/core.c | 4 +--
> drivers/regulator/devres.c | 39 +++++++++++++++++++++++++++++
> drivers/regulator/internal.h | 18 +++++++++-----
> drivers/regulator/of_regulator.c | 51 +++++++++++++++++++++++++++++++++-----
> include/linux/regulator/consumer.h | 37 +++++++++++++++++++++++++++
> 5 files changed, 135 insertions(+), 14 deletions(-)

I have pulled in the regulator tag from Mark's git tree and applied
patch3 for next, thanks!

Kind regards
Uffe