Re: [PATCH] pinctrl: tegra: Enable easier compile testing
From: Krzysztof Kozlowski
Date: Fri Apr 10 2026 - 07:01:17 EST
On 10/04/2026 12:30, Krzysztof Kozlowski 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>
>
> ---
>
> Not extensively compile tested yet. Pushing so LKP will pick it up. My
> build tests are still in progress.
I tested all of Ubuntu cross compile environments - arm, arm64, i386,
x86_64, sparc, m68k, sh, s390, riscv and powerpc.
Best regards,
Krzysztof