Re: [PATCH] pinctrl: tegra: Enable easier compile testing

From: Linus Walleij

Date: Tue Apr 28 2026 - 05:20:46 EST


On Fri, Apr 10, 2026 at 12:30 PM Krzysztof Kozlowski
<krzysztof.kozlowski@xxxxxxxxxxxxxxxx> wrote:

> Currently NVIDIA Tegra pin controller drivers cannot be compile tested,
> unless ARCH_TEGRA is selected. That partially defeats the purpose of
> compile testing, since ARCH_TEGRA is pulled when building platform
> kernels. Solve it and allow compile testing independently of ARCH_TEGRA
> choice which requires few less usual changes:
>
> 1. Descent in Makefile in to drivers/pinctrl/tegra/ unconditionally,
> because there is no menu option.
>
> 2. Depend on COMMON_CLK for PINCTRL_TEGRA20, because it uses
> clk_register_mux().
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij