mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 11:21:26 -04:00
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>
This commit is contained in:
committed by
Thierry Reding
parent
bc8b07878c
commit
91d5b17fd3
@@ -60,6 +60,7 @@
|
||||
#include <dt-bindings/gpio/tegra186-gpio.h>
|
||||
#include <dt-bindings/gpio/tegra194-gpio.h>
|
||||
#include <dt-bindings/gpio/tegra234-gpio.h>
|
||||
#include <dt-bindings/gpio/nvidia,tegra264-gpio.h>
|
||||
#include <dt-bindings/soc/tegra-pmc.h>
|
||||
|
||||
#define PMC_CNTRL 0x0
|
||||
@@ -4639,6 +4640,16 @@ static const char * const tegra264_reset_sources[] = {
|
||||
};
|
||||
|
||||
static const struct tegra_wake_event tegra264_wake_events[] = {
|
||||
TEGRA_WAKE_IRQ("pmu", 0, 727),
|
||||
TEGRA_WAKE_GPIO("power", 5, 1, TEGRA264_AON_GPIO(AA, 5)),
|
||||
TEGRA_WAKE_IRQ("rtc", 65, 548),
|
||||
TEGRA_WAKE_IRQ("usb3-port-0", 79, 965),
|
||||
TEGRA_WAKE_IRQ("usb3-port-1", 80, 965),
|
||||
TEGRA_WAKE_IRQ("usb3-port-3", 82, 965),
|
||||
TEGRA_WAKE_IRQ("usb2-port-0", 83, 965),
|
||||
TEGRA_WAKE_IRQ("usb2-port-1", 84, 965),
|
||||
TEGRA_WAKE_IRQ("usb2-port-2", 85, 965),
|
||||
TEGRA_WAKE_IRQ("usb2-port-3", 86, 965),
|
||||
};
|
||||
|
||||
static const struct tegra_pmc_soc tegra264_pmc_soc = {
|
||||
|
||||
Reference in New Issue
Block a user