Skip to content

Commit fc2f151

Browse files
Sumit Guptathierryreding
authored andcommitted
soc/tegra: cbb: Add driver for Tegra234 CBB 2.0
Adding driver to handle errors from CBB version 2.0 which is used in Tegra234 SoC. The driver prints debug information about failed transaction on receiving interrupt from the error notifier. The error notifier collates the interrupts from various error monitor blocks and presents a single interrupt to the SoC interrupt controller. For timeout errors, the driver also does the lookup to find timed out clients and prints their client ID. Drivers for hardware that needs to be reset on timeout will have to call BPMP from the client IP's driver. BPMP firmware will also clear the timeout bit after resetting the IP so that next transactions are send to them after reset. Signed-off-by: Sumit Gupta <sumitg@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent b713442 commit fc2f151

File tree

3 files changed

+848
-1
lines changed

3 files changed

+848
-1
lines changed

drivers/soc/tegra/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ config SOC_TEGRA30_VOLTAGE_COUPLER
165165

166166
config SOC_TEGRA_CBB
167167
tristate "Tegra driver to handle error from CBB"
168-
depends on ARCH_TEGRA_194_SOC
168+
depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC
169169
default y
170170
help
171171
Support for handling error from Tegra Control Backbone(CBB).

drivers/soc/tegra/cbb/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
ifdef CONFIG_SOC_TEGRA_CBB
66
obj-y += tegra-cbb.o
77
obj-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-cbb.o
8+
obj-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-cbb.o
89
endif

0 commit comments

Comments
 (0)