Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1c04d30 authored by Sudeep Holla's avatar Sudeep Holla Committed by Thierry Reding
Browse files

ARM: tegra: Replace legacy *,wakeup property with wakeup-source



Though the keyboard and other driver will continue to support the legacy
"gpio-key,wakeup", "nvidia,wakeup-source" boolean property to enable the
wakeup source, "wakeup-source" is the new standard binding.

This patch replaces all the legacy wakeup properties with the unified
"wakeup-source" property in order to avoid any further copy-paste
duplication.

Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: linux-tegra@vger.kernel.org
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent b6641294
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1164,7 +1164,7 @@
			label = "Power";
			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
			linux,code = <KEY_POWER>;
			gpio-key,wakeup;
			wakeup-source;
		};

		volume_down {
+1 −1
Original line number Diff line number Diff line
@@ -1047,7 +1047,7 @@
			label = "Power";
			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
			linux,code = <KEY_POWER>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};

+1 −1
Original line number Diff line number Diff line
@@ -292,7 +292,7 @@
			label = "Power";
			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
			linux,code = <KEY_POWER>;
			gpio-key,wakeup;
			wakeup-source;
		};

		volume_down {
+1 −1
Original line number Diff line number Diff line
@@ -1787,7 +1787,7 @@
			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
			linux,code = <KEY_POWER>;
			debounce-interval = <10>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};

+2 −2
Original line number Diff line number Diff line
@@ -509,7 +509,7 @@
			linux,input-type = <5>;
			linux,code = <KEY_RESERVED>;
			debounce-interval = <1>;
			gpio-key,wakeup;
			wakeup-source;
		};

		power {
@@ -517,7 +517,7 @@
			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
			linux,code = <KEY_POWER>;
			debounce-interval = <30>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};

Loading