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

Commit 67ae8b9b authored by Sudeep Holla's avatar Sudeep Holla Committed by Nicolas Ferre
Browse files

ARM: at91/dt: 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: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent f67d8469
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -155,21 +155,21 @@
			label = "keyswitch_in";
			gpios = <&pioB 1 GPIO_ACTIVE_HIGH>;
			linux,code = <28>;
			gpio-key,wakeup;
			wakeup-source;
		};

		error_in {
			label = "error_in";
			gpios = <&pioB 2 GPIO_ACTIVE_HIGH>;
			linux,code = <29>;
			gpio-key,wakeup;
			wakeup-source;
		};

		btn {
			label = "btn";
			gpios = <&pioC 23 GPIO_ACTIVE_HIGH>;
			linux,code = <31>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};
};
+1 −1
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@
			label = "Button";
			gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
			linux,code = <0x103>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};
};
+2 −2
Original line number Diff line number Diff line
@@ -94,14 +94,14 @@
			label = "PB_RST";
			gpios = <&pioB 30 GPIO_ACTIVE_HIGH>;
			linux,code = <0x100>;
			gpio-key,wakeup;
			wakeup-source;
		};

		user {
			label = "PB_USER";
			gpios = <&pioB 31 GPIO_ACTIVE_HIGH>;
			linux,code = <0x101>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};

+3 −3
Original line number Diff line number Diff line
@@ -171,21 +171,21 @@
			label = "PB_PROG";
			gpios = <&pioE 27 GPIO_ACTIVE_LOW>;
			linux,code = <0x102>;
			gpio-key,wakeup;
			wakeup-source;
		};

		reset {
			label = "PB_RST";
			gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
			linux,code = <0x100>;
			gpio-key,wakeup;
			wakeup-source;
		};

		user {
			label = "PB_USER";
			gpios = <&pioE 31 GPIO_ACTIVE_HIGH>;
			linux,code = <0x101>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};

+2 −2
Original line number Diff line number Diff line
@@ -98,14 +98,14 @@
			label = "PB_PROG";
			gpios = <&pioC 17 GPIO_ACTIVE_LOW>;
			linux,code = <0x102>;
			gpio-key,wakeup;
			wakeup-source;
		};

		reset {
			label = "PB_RST";
			gpios = <&pioC 16 GPIO_ACTIVE_LOW>;
			linux,code = <0x100>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};

Loading