[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <80e8e682-ac09-4747-8603-e9d64543b069@infradead.org>
Date: Sat, 30 Aug 2025 19:24:15 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Jeff Chang <jeff_chang@...htek.com>, Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>
Subject: Re: [PATCH] regulator: RT5133: add missing HAS_IOMEM dependency
Hi,
On 8/14/25 7:27 PM, Randy Dunlap wrote:
> When building on ARCH=um (which does not set HAS_IOMEM), kconfig
> reports an unmet dependency caused by REGULATOR_RT5133. It selects
> OF_GPIO, which depends on HAS_IOMEM. To stop this warning,
> REGULATOR_RT5133 should also depend on HAS_IOMEM.
>
> kconfig warning:
> WARNING: unmet direct dependencies detected for OF_GPIO
> Depends on [n]: GPIOLIB [=y] && OF [=y] && HAS_IOMEM [=n]
> Selected by [y]:
> - REGULATOR_RT5133 [=y] && REGULATOR [=y] && I2C [=y] && GPIOLIB [=y] && OF [=y]
>
> Fixes: 714165e1c4b0 ("regulator: rt5133: Add RT5133 PMIC regulator Support")
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> ---
> Cc: Jeff Chang <jeff_chang@...htek.com>
> Cc: Mark Brown <broonie@...nel.org>
> Cc: Liam Girdwood <lgirdwood@...il.com>
>
> drivers/regulator/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> --- linux-next-20250814.orig/drivers/regulator/Kconfig
> +++ linux-next-20250814/drivers/regulator/Kconfig
> @@ -1251,6 +1251,7 @@ config REGULATOR_RT5120
> config REGULATOR_RT5133
> tristate "Richtek RT5133 PMIC Regulators"
> depends on I2C && GPIOLIB && OF
> + depends on HAS_IOMEM
> select REGMAP
> select CRC8
> select OF_GPIO
Ping. Any comments?
thanks.
--
~Randy
Powered by blists - more mailing lists