[PATCH] mfd: db8500-prcmu: Fold dbx500 header into db8500

Guenter Roeck linux at roeck-us.net
Mon Jun 22 06:06:48 PDT 2026


On 6/19/26 13:27, Linus Walleij wrote:
> Move the DBx500 PRCMU definitions into the DB8500 PRCMU
> header and delete the wrapper header.
> 
> Convert users of simple PRCMU wrappers to call the DB8500 helpers
> directly.
> 
> The dbx500-prcmu.h header was the result of an earlier attempt to
> abstract several DBx5x SoC PRCMU units to use the same abstract
> header. They are deleted from the kernel and this is not just
> causing maintenance burden and build errors.
> 
> The stub code is using -ENOSYS in a way checkpatch complains about
> so replace these with -EINVAL while we're at it.
> 
> Assisted-by: Codex:gpt-5-5
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202606180825.vUSQntkJ-lkp@intel.com/
> Signed-off-by: Linus Walleij <linusw at kernel.org>
> ---
>   arch/arm/mach-ux500/cpu-db8500.c |   6 +-
>   drivers/clk/ux500/clk-prcmu.c    |  20 +-
>   drivers/clk/ux500/u8500_of_clk.c |   2 +-
>   drivers/cpuidle/cpuidle-ux500.c  |   6 +-
>   drivers/mfd/ab8500-core.c        |   2 +-
>   drivers/mfd/db8500-prcmu.c       |   6 +-
>   drivers/regulator/db8500-prcmu.c |  12 +-
>   drivers/thermal/db8500_thermal.c |  10 +-
>   drivers/watchdog/db8500_wdt.c    |  22 +-

For watchdog:

Acked-by: Guenter Roeck <linux at roeck-us.net>




More information about the linux-arm-kernel mailing list