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

Commit 3efda001 authored by Sudeep Holla's avatar Sudeep Holla Committed by Tony Lindgren
Browse files

ARM: dts: am335x: replace gpio-key,wakeup with wakeup-source property



Though the keyboard driver for GPIO buttons(gpio-keys) will continue to
check for/support the legacy "gpio-key,wakeup" boolean property to
enable gpio buttons as wakeup source, "wakeup-source" is the new
standard binding.

This patch replaces the legacy "gpio-key,wakeup" with the unified
"wakeup-source" property in order to avoid any futher copy-paste
duplication.

Cc: "Benoît Cousson" <bcousson@baylibre.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent cce1ee00
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -83,14 +83,14 @@
			label = "volume-up";
			linux,code = <115>;
			gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
			gpio-key,wakeup;
			wakeup-source;
		};

		switch@10 {
			label = "volume-down";
			linux,code = <114>;
			gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};

+1 −1
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@
			label = "button2";
			linux,code = <0x102>;
			gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
			gpio-key,wakeup;
			wakeup-source;
		};

		switch@4 {
+3 −3
Original line number Diff line number Diff line
@@ -630,21 +630,21 @@
		label = "home";
		linux,code = <KEY_HOME>;
		gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
		gpio-key,wakeup;
		wakeup-source;
	};

	button@1 {
		label = "menu";
		linux,code = <KEY_MENU>;
		gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
		gpio-key,wakeup;
		wakeup-source;
	};

	buttons@2 {
		label = "power";
		linux,code = <KEY_POWER>;
		gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
		gpio-key,wakeup;
		wakeup-source;
	};
};