[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdafo2Uyvu0L+MJx5D6X+BX_efac0oTLjoba+HsCFjgnQQ@mail.gmail.com>
Date: Thu, 23 Oct 2025 15:09:35 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Yu-Chun Lin <eleanor.lin@...ltek.com>
Cc: tychang@...ltek.com, linux-gpio@...r.kernel.org.org,
linux-kernel@...r.kernel.org, cy.huang@...ltek.com, stanley_chang@...ltek.com,
james.tai@...ltek.com
Subject: Re: [PATCH] pinctrl: realtek: Select REGMAP_MMIO for RTD driver
On Thu, Oct 23, 2025 at 9:55 AM Yu-Chun Lin <eleanor.lin@...ltek.com> wrote:
> The pinctrl-rtd driver uses 'devm_regmap_init_mmio', which requires
> 'REGMAP_MMIO' to be enabled.
>
> Without this selection, the build fails with an undefined reference:
> aarch64-none-linux-gnu-ld: drivers/pinctrl/realtek/pinctrl-rtd.o: in
> function rtd_pinctrl_probe': pinctrl-rtd.c:(.text+0x5a0): undefined
> reference to __devm_regmap_init_mmio_clk'
>
> Fix this by selecting 'REGMAP_MMIO' in the Kconfig.
>
> Fixes: e99ce78030db ("pinctrl: realtek: Add common pinctrl driver for Realtek DHC RTD SoCs")
> Signed-off-by: Yu-Chun Lin <eleanor.lin@...ltek.com>
Right!
Patch applied for fixes.
Yours,
Linus Walleij
Powered by blists - more mailing lists