diff mbox series

[v2,1/2] bus: tegra-aconnect: Update dependency to ARCH_TEGRA

Message ID 20240112093310.329642-1-pbrobinson@gmail.com
State Changes Requested
Headers show
Series [v2,1/2] bus: tegra-aconnect: Update dependency to ARCH_TEGRA | expand

Commit Message

Peter Robinson Jan. 12, 2024, 9:32 a.m. UTC
Update the architecture dependency to be the generic Tegra
because the driver works on the four latest Tegra generations
not just T210, if you build a kernel with a specific
ARCH_TEGRA_xxx_SOC option that excludes 210 you don't get
this driver.

Fixes: 46a88534afb59 ("bus: Add support for Tegra ACONNECT")
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Jon Hunter <jonathanh@nvidia.com>
Cc: Thierry Reding <treding@nvidia.com>
---

v2: fix spelling of option

 drivers/bus/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Jon Hunter Jan. 17, 2024, 2:55 p.m. UTC | #1
On 12/01/2024 09:32, Peter Robinson wrote:
> Update the architecture dependency to be the generic Tegra
> because the driver works on the four latest Tegra generations
> not just T210, if you build a kernel with a specific
> ARCH_TEGRA_xxx_SOC option that excludes 210 you don't get
> this driver.
> 
> Fixes: 46a88534afb59 ("bus: Add support for Tegra ACONNECT")
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> Cc: Jon Hunter <jonathanh@nvidia.com>
> Cc: Thierry Reding <treding@nvidia.com>
> ---
> 
> v2: fix spelling of option
> 
>   drivers/bus/Kconfig | 5 +++--
>   1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
> index e6742998f372c..b003dad62d596 100644
> --- a/drivers/bus/Kconfig
> +++ b/drivers/bus/Kconfig
> @@ -186,11 +186,12 @@ config SUNXI_RSB
>   
>   config TEGRA_ACONNECT
>   	tristate "Tegra ACONNECT Bus Driver"
> -	depends on ARCH_TEGRA_210_SOC
> +	depends on ARCH_TEGRA
>   	depends on OF && PM
>   	help
>   	  Driver for the Tegra ACONNECT bus which is used to interface with
> -	  the devices inside the Audio Processing Engine (APE) for Tegra210.
> +	  the devices inside the Audio Processing Engine (APE) for
> +	  Tegra210/Tegra186/Tegra194/Tegra234.
>   
>   config TEGRA_GMI
>   	tristate "Tegra Generic Memory Interface bus driver"

Thanks!

Reviewed-by: Jon Hunter <jonathanh@nvidia.com>

Jon
Thierry Reding Jan. 19, 2024, 3:37 p.m. UTC | #2
On Fri Jan 12, 2024 at 10:32 AM CET, Peter Robinson wrote:
> Update the architecture dependency to be the generic Tegra
> because the driver works on the four latest Tegra generations
> not just T210, if you build a kernel with a specific

I prefer spelling these out as Tegra210 for better greppability.

> ARCH_TEGRA_xxx_SOC option that excludes 210 you don't get
> this driver.
>
> Fixes: 46a88534afb59 ("bus: Add support for Tegra ACONNECT")
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> Cc: Jon Hunter <jonathanh@nvidia.com>
> Cc: Thierry Reding <treding@nvidia.com>
> ---
>
> v2: fix spelling of option
>
>  drivers/bus/Kconfig | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
> index e6742998f372c..b003dad62d596 100644
> --- a/drivers/bus/Kconfig
> +++ b/drivers/bus/Kconfig
> @@ -186,11 +186,12 @@ config SUNXI_RSB
>  
>  config TEGRA_ACONNECT
>  	tristate "Tegra ACONNECT Bus Driver"
> -	depends on ARCH_TEGRA_210_SOC
> +	depends on ARCH_TEGRA
>  	depends on OF && PM
>  	help
>  	  Driver for the Tegra ACONNECT bus which is used to interface with
> -	  the devices inside the Audio Processing Engine (APE) for Tegra210.
> +	  the devices inside the Audio Processing Engine (APE) for
> +	  Tegra210/Tegra186/Tegra194/Tegra234.

Perhaps we want to say something like "Tegra210 and later"? I know it's
going to be in at least one more, but I would think it's likely that it
will stay around even longer.

Sameer, have you seen any indication that ACONNECT will go away in some
future chip?

Thierry
Sameer Pujar Jan. 22, 2024, 7:59 a.m. UTC | #3
On 19-01-2024 21:07, Thierry Reding wrote:
> On Fri Jan 12, 2024 at 10:32 AM CET, Peter Robinson wrote:
>> Update the architecture dependency to be the generic Tegra
>> because the driver works on the four latest Tegra generations
>> not just T210, if you build a kernel with a specific
> I prefer spelling these out as Tegra210 for better greppability.
>
>> ARCH_TEGRA_xxx_SOC option that excludes 210 you don't get
>> this driver.
>>
>> Fixes: 46a88534afb59 ("bus: Add support for Tegra ACONNECT")
>> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
>> Cc: Jon Hunter <jonathanh@nvidia.com>
>> Cc: Thierry Reding <treding@nvidia.com>
>> ---
>>
>> v2: fix spelling of option
>>
>>   drivers/bus/Kconfig | 5 +++--
>>   1 file changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
>> index e6742998f372c..b003dad62d596 100644
>> --- a/drivers/bus/Kconfig
>> +++ b/drivers/bus/Kconfig
>> @@ -186,11 +186,12 @@ config SUNXI_RSB
>>   
>>   config TEGRA_ACONNECT
>>   	tristate "Tegra ACONNECT Bus Driver"
>> -	depends on ARCH_TEGRA_210_SOC
>> +	depends on ARCH_TEGRA
>>   	depends on OF && PM
>>   	help
>>   	  Driver for the Tegra ACONNECT bus which is used to interface with
>> -	  the devices inside the Audio Processing Engine (APE) for Tegra210.
>> +	  the devices inside the Audio Processing Engine (APE) for
>> +	  Tegra210/Tegra186/Tegra194/Tegra234.
> Perhaps we want to say something like "Tegra210 and later"? I know it's
> going to be in at least one more, but I would think it's likely that it
> will stay around even longer.
>
> Sameer, have you seen any indication that ACONNECT will go away in some
> future chip?

Yes, no signs of this going away. "Tegra210 and later" looks good.
Vinod Koul Jan. 22, 2024, 4:25 p.m. UTC | #4
On Fri, 12 Jan 2024 09:32:55 +0000, Peter Robinson wrote:
> Update the architecture dependency to be the generic Tegra
> because the driver works on the four latest Tegra generations
> not just T210, if you build a kernel with a specific
> ARCH_TEGRA_xxx_SOC option that excludes 210 you don't get
> this driver.
> 
> 
> [...]

Applied, thanks!

[2/2] dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA
      commit: 33b7db45533af240fe44e809f9dc4d604cf82d07

Best regards,
diff mbox series

Patch

diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
index e6742998f372c..b003dad62d596 100644
--- a/drivers/bus/Kconfig
+++ b/drivers/bus/Kconfig
@@ -186,11 +186,12 @@  config SUNXI_RSB
 
 config TEGRA_ACONNECT
 	tristate "Tegra ACONNECT Bus Driver"
-	depends on ARCH_TEGRA_210_SOC
+	depends on ARCH_TEGRA
 	depends on OF && PM
 	help
 	  Driver for the Tegra ACONNECT bus which is used to interface with
-	  the devices inside the Audio Processing Engine (APE) for Tegra210.
+	  the devices inside the Audio Processing Engine (APE) for
+	  Tegra210/Tegra186/Tegra194/Tegra234.
 
 config TEGRA_GMI
 	tristate "Tegra Generic Memory Interface bus driver"