summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/devices.c')
-rw-r--r--arch/arm/mach-tegra/devices.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c
index 6f5da486aeec..b956d018f429 100644
--- a/arch/arm/mach-tegra/devices.c
+++ b/arch/arm/mach-tegra/devices.c
@@ -27,6 +27,7 @@
#include <linux/i2c-tegra.h>
#include <linux/platform_data/tegra_usb.h>
#include <linux/tegra_avp.h>
+#include <linux/nvhost.h>
#include <asm/pmu.h>
#include <mach/irqs.h>
#include <mach/iomap.h>
@@ -1414,6 +1415,22 @@ static struct tegra_avp_platform_data tegra_avp_pdata = {
#endif
};
+struct resource tegra_nvavp_resources[] = {
+ [0] = {
+ .start = INT_SHR_SEM_INBOX_IBF,
+ .end = INT_SHR_SEM_INBOX_IBF,
+ .flags = IORESOURCE_IRQ,
+ .name = "mbox_from_nvavp_pending",
+ },
+};
+
+struct nvhost_device nvavp_device = {
+ .name = "nvavp",
+ .id = -1,
+ .resource = tegra_nvavp_resources,
+ .num_resources = ARRAY_SIZE(tegra_nvavp_resources),
+};
+
static struct resource tegra_avp_resources[] = {
[0] = {
.start = INT_SHR_SEM_INBOX_IBF,