Commit 271e2c92 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Heiko Stuebner
Browse files

ARM: dts: rockchip: align gpio-key node names with dtschema



The node names should be generic and DT schema expects certain pattern
(e.g. with key/button/switch).

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220616005333.18491-27-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 4b076db7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ gpio-keys {
		compatible = "gpio-keys";
		autorepeat;

		power {
		key-power {
			gpios = <&gpio6 RK_PA2 GPIO_ACTIVE_LOW>; /* GPIO6_A2 */
			linux,code = <KEY_POWER>;
			label = "GPIO Key Power";
@@ -56,7 +56,7 @@ power {
			wakeup-source;
			debounce-interval = <100>;
		};
		volume-down {
		key-volume-down {
			gpios = <&gpio4 RK_PC5 GPIO_ACTIVE_LOW>; /* GPIO4_C5 */
			linux,code = <KEY_VOLUMEDOWN>;
			label = "GPIO Key Vol-";
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ ir: ir-receiver {
	keys: gpio-keys {
		compatible = "gpio-keys";

		power {
		key-power {
			wakeup-source;
			gpios = <&gpio6 RK_PA2 GPIO_ACTIVE_LOW>;
			label = "GPIO Power";
+2 −2
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ gpio-keys {
		pinctrl-names = "default";
		pinctrl-0 = <&pwr_key &usb_int>;

		power {
		key-power {
			gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_POWER>;
			label = "GPIO Key Power";
@@ -46,7 +46,7 @@ power {
			wakeup-source;
		};

		wake_on_usb: wake-on-usb {
		wake_on_usb: key-wake-on-usb {
			label = "Wake-on-USB";
			gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_WAKEUP>;
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ gpio-keys {
		compatible = "gpio-keys";
		autorepeat;

		power {
		key-power {
			gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_POWER>;
			label = "GPIO Key Power";
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ gpio-keys {
		compatible = "gpio-keys";
		autorepeat;

		power {
		key-power {
			gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_POWER>;
			label = "GPIO Key Power";
Loading