Skip to content

Commit 91d5b17

Browse files
jonhunterthierryreding
authored andcommitted
soc/tegra: pmc: Add Tegra264 wake events
Populate the various wake events for the Tegra264 device. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent bc8b078 commit 91d5b17

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

drivers/soc/tegra/pmc.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
#include <dt-bindings/gpio/tegra186-gpio.h>
6161
#include <dt-bindings/gpio/tegra194-gpio.h>
6262
#include <dt-bindings/gpio/tegra234-gpio.h>
63+
#include <dt-bindings/gpio/nvidia,tegra264-gpio.h>
6364
#include <dt-bindings/soc/tegra-pmc.h>
6465

6566
#define PMC_CNTRL 0x0
@@ -4639,6 +4640,16 @@ static const char * const tegra264_reset_sources[] = {
46394640
};
46404641

46414642
static const struct tegra_wake_event tegra264_wake_events[] = {
4643+
TEGRA_WAKE_IRQ("pmu", 0, 727),
4644+
TEGRA_WAKE_GPIO("power", 5, 1, TEGRA264_AON_GPIO(AA, 5)),
4645+
TEGRA_WAKE_IRQ("rtc", 65, 548),
4646+
TEGRA_WAKE_IRQ("usb3-port-0", 79, 965),
4647+
TEGRA_WAKE_IRQ("usb3-port-1", 80, 965),
4648+
TEGRA_WAKE_IRQ("usb3-port-3", 82, 965),
4649+
TEGRA_WAKE_IRQ("usb2-port-0", 83, 965),
4650+
TEGRA_WAKE_IRQ("usb2-port-1", 84, 965),
4651+
TEGRA_WAKE_IRQ("usb2-port-2", 85, 965),
4652+
TEGRA_WAKE_IRQ("usb2-port-3", 86, 965),
46424653
};
46434654

46444655
static const struct tegra_pmc_soc tegra264_pmc_soc = {

0 commit comments

Comments
 (0)