Skip to contentSkip to conversation

bus: tegra-aconnect: Update dependency to ARCH_TEGRA

PATCH Superseded Peter Robinson 2 participants 2 messages Jan 11, 2024 – Jan 12, 2024 Tegra architecture support

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bus: tegra-aconnect: Update dependency to ARCH_TEGRA

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 optioon that excludes 210 you don't get this driver.

Fixes 46a88534afb59 ("bus: Add support for Tegra ACONNECT")
Cc Jon Hunter <[email protected]>
Cc Thierry Reding <[email protected]>
---
 drivers/bus/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/bus/Kconfig +3 -2
index e6742998f372c..b003dad62d596 100644
@@ -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"
Signature · 1 line
2.43.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Peter Robinson

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 optioon that excludes 210 you don't get this driver.

Same typo for 'optioon'

Quoted 17 lines
Fixes 46a88534afb59 ("bus: Add support for Tegra ACONNECT")
Cc Jon Hunter <[email protected]>
Cc Thierry Reding <[email protected]>
---
  drivers/bus/Kconfig | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
drivers/bus/Kconfig +0 -1
index e6742998f372c..b003dad62d596 100644
@@ -186,11 +186,12 @@ config SUNXI_RSB
 
  config TEGRA_ACONNECT
  	tristate "Tegra ACONNECT Bus Driver"
-	depends on ARCH_TEGRA_210_SOC

drivers/bus/Kconfig config SUNXI_RSB · line 197

Quoted 10 lines
drivers/bus/Kconfig +3 -1
+	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"

Otherwise ...

Jon

Signature · 1 line
nvpublic