Re: [PATCH] soc/tegra: Enable Tegra186 timer support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 25, 2022 at 04:41:31PM +0100, Jon Hunter wrote:
> Enable Tegra186 timer support for Tegra186, Tegra194 and Tegra234
> devices.
> 
> Signed-off-by: Jon Hunter <jonathanh@xxxxxxxxxx>
> ---
>  drivers/soc/tegra/Kconfig | 3 +++
>  1 file changed, 3 insertions(+)

I realize that we have the same construct on older SoC generations, but
we really shouldn't be selecting user-visible symbols because that can
lead to conflicting configurations. The correct way to do this is to
enable via defconfig, even if that strictly allows people to disable
this driver again.

Thierry

> 
> diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig
> index 5f5324294636..e49409b85a39 100644
> --- a/drivers/soc/tegra/Kconfig
> +++ b/drivers/soc/tegra/Kconfig
> @@ -99,6 +99,7 @@ config ARCH_TEGRA_186_SOC
>  	select TEGRA_BPMP
>  	select TEGRA_HSP_MBOX
>  	select TEGRA_IVC
> +	select TEGRA186_TIMER
>  	select SOC_TEGRA_PMC
>  	help
>  	  Enable support for the NVIDIA Tegar186 SoC. The Tegra186 features a
> @@ -115,6 +116,7 @@ config ARCH_TEGRA_194_SOC
>  	select TEGRA_BPMP
>  	select TEGRA_HSP_MBOX
>  	select TEGRA_IVC
> +	select TEGRA186_TIMER
>  	select SOC_TEGRA_PMC
>  	help
>  	  Enable support for the NVIDIA Tegra194 SoC.
> @@ -125,6 +127,7 @@ config ARCH_TEGRA_234_SOC
>  	select TEGRA_BPMP
>  	select TEGRA_HSP_MBOX
>  	select TEGRA_IVC
> +	select TEGRA186_TIMER
>  	select SOC_TEGRA_PMC
>  	help
>  	  Enable support for the NVIDIA Tegra234 SoC.
> -- 
> 2.25.1
> 

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux