diff options
author | Mark Hasemeyer <markhas@chromium.org> | 2024-01-03 00:07:29 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2024-02-16 14:30:05 +0300 |
commit | a6e0afc29a8bd2c1f8cde87043d69c3e77ef23d5 (patch) | |
tree | a1e353a966d7ca835549e436ab8a8186b939bfae /arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) | |
download | linux-a6e0afc29a8bd2c1f8cde87043d69c3e77ef23d5.tar.xz |
ARM: tegra: Enable cros-ec-spi as wake source
The cros_ec driver currently assumes that cros-ec-spi compatible device
nodes are a wakeup-source even though the wakeup-source property is not
defined.
Some Chromebooks use a separate wake pin, while others overload the
interrupt for wake and IO. With the current assumption, spurious wakes
can occur on systems that use a separate wake pin. It is planned to
update the driver to no longer assume that the EC interrupt pin should
be enabled for wake.
Add the wakeup-source property to all cros-ec-spi compatible device
nodes to signify to the driver that they should still be a valid wakeup
source.
Signed-off-by: Mark Hasemeyer <markhas@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi')
-rw-r--r-- | arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi b/arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi index a2ee37180200..8125c1b3e8d7 100644 --- a/arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi +++ b/arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi @@ -338,6 +338,7 @@ interrupt-parent = <&gpio>; interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>; reg = <0>; + wakeup-source; google,cros-ec-spi-msg-delay = <2000>; |