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

Commit 26cefdd1 authored by Sudeep Holla's avatar Sudeep Holla Committed by Shawn Guo
Browse files

ARM: dts: imx: replace legacy wakeup property with 'wakeup-source'



Though the keyboard and other driver will continue to support the legacy
"gpio-key,wakeup", "linux,wakeup" and "enable-sdio-wakeup" 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 futher copy-paste
duplication.

Cc: Sascha Hauer <kernel@pengutronix.de>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 26a91d89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
			label = "BP1";
			gpios = <&gpio3 18 GPIO_ACTIVE_LOW>;
			linux,code = <BTN_MISC>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};

+1 −1
Original line number Diff line number Diff line
@@ -225,7 +225,7 @@
			label = "User button";
			gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
			linux,code = <0x100>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};
};
+2 −2
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@
			label = "SW3";
			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
			linux,code = <BTN_MISC>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};

@@ -49,7 +49,7 @@
			label = "SW4";
			gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
			linux,code = <BTN_MISC>;
			gpio-key,wakeup;
			wakeup-source;
		};
	};

+1 −1
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@
			0x02020049 /* row 2, col 2, KEY_KP9 */
		>;
		gpio-activelow;
		linux,wakeup;
		wakeup-source;
		debounce-delay-ms = <100>;
		col-scan-delay-us = <5000>;
		linux,no-autorepeat;
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
			label = "BP1";
			gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
			linux,code = <BTN_MISC>;
			gpio-key,wakeup;
			wakeup-source;
			linux,input-type = <1>;
		};
	};
Loading