From nobody Sun Sep 22 01:37:31 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42870C433EF for ; Thu, 9 Jun 2022 11:43:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236782AbiFILnr (ORCPT ); Thu, 9 Jun 2022 07:43:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244154AbiFILmf (ORCPT ); Thu, 9 Jun 2022 07:42:35 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DAA91F0A56 for ; Thu, 9 Jun 2022 04:40:57 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id bg6so27099695ejb.0 for ; Thu, 09 Jun 2022 04:40:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=41oDl2jkYIAe+UpezywZKxtSXaIGEAoKjC6bZyfTtEs=; b=yGclU4iyQ66wby5XzT+mGMHwuLnUadKKPsx8vSBbA0tHlaj27yUBmx0FTDsAaqlA/3 VyZa5Bk+6+A/D4pOjQnG5TnMkJhAuJMAMenmdUyDYUtrwshT1rj1A8ekzUSnMP8pGqFc VGCZf0FGX2EX/stMLrMbAlpyvpoQmSX0XbM3W8vyjmx0X1AHB8f81sSycjEix3RjcpUD 6WOdttLPJ+SLpQB1jTQptsR+++vwKf+/w3e90Gzgl+Irifil6RgSlW5uy6Eeoy6URE25 5UueNhVx2Lah7/k8IictBXOG82fwVSmCcKbM6ycVW5bdVvQHc97YOA9wL/pK6tD9r4iX fTAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=41oDl2jkYIAe+UpezywZKxtSXaIGEAoKjC6bZyfTtEs=; b=AXwRvuMEEZsQG7bq8aRfF5F/r5sYAqZc1Yuakl+89CHW9gzLirJK7qwoWxzhIif91A +kyYQQvkx1CKCA5RWU8wtKHul7WG4TYo8ldQxXG+n9LCt69KyR2JMqPhFb5CgkLgP2O/ PyXsvKLiSKFobrMG3DMC6jMp1xqARujK3VyaStKgS6G6xr2KqkXwpChnKc55KK4m/zHc 5xcO3pNOLOFlBnOiLHeQC8teTAXh7zD25RjamVGLCqd9V5Gr85ZioHPy+GeRTIRvfadq t9WuYmn+NAz97poFrsszqMJ/9IsJAqQzc1BEy4Jfd9+2xcS4gww/dpfF4pIQ8FjswN5e sG3w== X-Gm-Message-State: AOAM531sEIvVcsQ8lD7Xh0SRZLZlRVFki1F+jt4aK19IR5RBE6bivyPy +/yXKhAQ1TTKb+O5zzvUPMunRA== X-Google-Smtp-Source: ABdhPJz+4Bz+KnA1gdGoTVTUN/iasE7Og/XaOpDwv7hD/PAbe2n7DnMtwPFsB4mgeAhDBQ9Dfi6mfA== X-Received: by 2002:a17:907:7d91:b0:6fe:efb8:8f97 with SMTP id oz17-20020a1709077d9100b006feefb88f97mr35675631ejc.717.1654774855509; Thu, 09 Jun 2022 04:40:55 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id bk2-20020a170906b0c200b006fef557bb7asm10498662ejb.80.2022.06.09.04.40.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 04:40:55 -0700 (PDT) From: Krzysztof Kozlowski To: Arnd Bergmann , Olof Johansson , arm@kernel.org, soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 42/48] ARM: dts: aspeed: align gpio-key node names with dtschema Date: Thu, 9 Jun 2022 13:40:41 +0200 Message-Id: <20220609114047.380793-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220609113721.379932-1-krzysztof.kozlowski@linaro.org> References: <20220609113721.379932-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The node names should be generic and DT schema expects certain pattern (e.g. with key/button/switch). Signed-off-by: Krzysztof Kozlowski --- .../arm/boot/dts/aspeed-bmc-ampere-mtjade.dts | 30 ++++++------ .../boot/dts/aspeed-bmc-bytedance-g220a.dts | 48 +++++++++---------- arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 8 ++-- arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 12 ++--- .../boot/dts/aspeed-bmc-inspur-fp5280g2.dts | 22 ++++----- arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts | 23 ++++----- arch/arm/boot/dts/aspeed-bmc-opp-mowgli.dts | 20 ++++---- arch/arm/boot/dts/aspeed-bmc-opp-nicole.dts | 2 +- arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 2 +- arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 2 +- arch/arm/boot/dts/aspeed-bmc-opp-swift.dts | 30 ++++++------ arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 12 ++--- arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts | 4 +- .../boot/dts/aspeed-bmc-opp-witherspoon.dts | 16 +++---- arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 4 +- 15 files changed, 118 insertions(+), 117 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot= /dts/aspeed-bmc-ampere-mtjade.dts index 1b2e7ad37566..82a6f14a45f0 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts @@ -100,91 +100,91 @@ identify { gpio-keys { compatible =3D "gpio-keys"; =20 - shutdown_ack { + event-shutdown-ack { label =3D "SHUTDOWN_ACK"; gpios =3D <&gpio ASPEED_GPIO(G, 2) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - reboot_ack { + event-reboot-ack { label =3D "REBOOT_ACK"; gpios =3D <&gpio ASPEED_GPIO(J, 3) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - S0_overtemp { + event-s0-overtemp { label =3D "S0_OVERTEMP"; gpios =3D <&gpio ASPEED_GPIO(G, 3) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - S0_hightemp { + event-s0-hightemp { label =3D "S0_HIGHTEMP"; gpios =3D <&gpio ASPEED_GPIO(J, 0) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - S0_cpu_fault { + event-s0-cpu-fault { label =3D "S0_CPU_FAULT"; gpios =3D <&gpio ASPEED_GPIO(J, 1) GPIO_ACTIVE_HIGH>; linux,code =3D ; }; =20 - S0_scp_auth_fail { + event-s0-scp-auth-fail { label =3D "S0_SCP_AUTH_FAIL"; gpios =3D <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - S1_scp_auth_fail { + event-s1-scp-auth-fail { label =3D "S1_SCP_AUTH_FAIL"; gpios =3D <&gpio ASPEED_GPIO(Z, 5) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - S1_overtemp { + event-s1-overtemp { label =3D "S1_OVERTEMP"; gpios =3D <&gpio ASPEED_GPIO(Z, 6) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - S1_hightemp { + event-s1-hightemp { label =3D "S1_HIGHTEMP"; gpios =3D <&gpio ASPEED_GPIO(AB, 0) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - S1_cpu_fault { + event-s1-cpu-fault { label =3D "S1_CPU_FAULT"; gpios =3D <&gpio ASPEED_GPIO(Z, 1) GPIO_ACTIVE_HIGH>; linux,code =3D ; }; =20 - id_button { + event-id { label =3D "ID_BUTTON"; gpios =3D <&gpio ASPEED_GPIO(Q, 5) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - psu1_vin_good { + event-psu1-vin-good { label =3D "PSU1_VIN_GOOD"; gpios =3D <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - psu2_vin_good { + event-psu2-vin-good { label =3D "PSU2_VIN_GOOD"; gpios =3D <&gpio ASPEED_GPIO(H, 5) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - psu1_present { + event-psu1-present { label =3D "PSU1_PRESENT"; gpios =3D <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - psu2_present { + event-psu2-present { label =3D "PSU2_PRESENT"; gpios =3D <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>; linux,code =3D ; diff --git a/arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts b/arch/arm/bo= ot/dts/aspeed-bmc-bytedance-g220a.dts index 0d1fb5ccfd36..f75cad41ae6f 100644 --- a/arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts +++ b/arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts @@ -100,7 +100,7 @@ bmc_alive { =20 gpio-keys { compatible =3D "gpio-keys"; - burn-in-signal { + event-burn-in-signal { label =3D "burn-in"; gpios =3D <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>; linux,code =3D ; @@ -111,139 +111,139 @@ gpio-keys-polled { compatible =3D "gpio-keys-polled"; poll-interval =3D <1000>; =20 - rear-riser1-presence { + event-rear-riser1-presence { label =3D "rear-riser1-presence"; gpios =3D <&pca0 1 GPIO_ACTIVE_LOW>; linux,code =3D <1>; }; =20 - alrt-pvddq-cpu0 { + event-alrt-pvddq-cpu0 { label =3D "alrt-pvddq-cpu0"; gpios =3D <&pca0 8 GPIO_ACTIVE_LOW>; linux,code =3D <2>; }; =20 - rear-riser0-presence { + event-rear-riser0-presence { label =3D "rear-riser0-presence"; gpios =3D <&pca0 9 GPIO_ACTIVE_LOW>; linux,code =3D <3>; }; =20 - fault-pvddq-cpu0 { + event-fault-pvddq-cpu0 { label =3D "fault-pvddq-cpu0"; gpios =3D <&pca0 10 GPIO_ACTIVE_LOW>; linux,code =3D <4>; }; =20 - alrt-pvddq-cpu1 { + event-alrt-pvddq-cpu1 { label =3D "alrt-pvddq-cpu1"; gpios =3D <&pca0 11 GPIO_ACTIVE_LOW>; linux,code =3D <5>; }; =20 - fault-pvddq-cpu1 { + event-fault-pvddq-cpu1 { label =3D "alrt-pvddq-cpu1"; gpios =3D <&pca0 12 GPIO_ACTIVE_LOW>; linux,code =3D <6>; }; =20 - fault-pvccin-cpu1 { + event-fault-pvccin-cpu1 { label =3D "fault-pvccin-cpuq"; gpios =3D <&pca0 13 GPIO_ACTIVE_LOW>; linux,code =3D <7>; }; =20 - bmc-rom0-wp { + event-bmc-rom0-wp { label =3D "bmc-rom0-wp"; gpios =3D <&pca1 0 GPIO_ACTIVE_LOW>; linux,code =3D <8>; }; =20 - bmc-rom1-wp { + event-bmc-rom1-wp { label =3D "bmc-rom1-wp"; gpios =3D <&pca1 1 GPIO_ACTIVE_LOW>; linux,code =3D <9>; }; =20 - fan0-presence { + event-fan0-presence { label =3D "fan0-presence"; gpios =3D <&pca1 2 GPIO_ACTIVE_LOW>; linux,code =3D <10>; }; =20 - fan1-presence { + event-fan1-presence { label =3D "fan1-presence"; gpios =3D <&pca1 3 GPIO_ACTIVE_LOW>; linux,code =3D <11>; }; =20 - fan2-presence { + event-fan2-presence { label =3D "fan2-presence"; gpios =3D <&pca1 4 GPIO_ACTIVE_LOW>; linux,code =3D <12>; }; =20 - fan3-presence { + event-fan3-presence { label =3D "fan3-presence"; gpios =3D <&pca1 5 GPIO_ACTIVE_LOW>; linux,code =3D <13>; }; =20 - fan4-presence { + event-fan4-presence { label =3D "fan4-presence"; gpios =3D <&pca1 6 GPIO_ACTIVE_LOW>; linux,code =3D <14>; }; =20 - fan5-presence { + event-fan5-presence { label =3D "fan5-presence"; gpios =3D <&pca1 7 GPIO_ACTIVE_LOW>; linux,code =3D <15>; }; =20 - front-bp1-presence { + event-front-bp1-presence { label =3D "front-bp1-presence"; gpios =3D <&pca1 8 GPIO_ACTIVE_LOW>; linux,code =3D <16>; }; =20 - rear-bp-presence { + event-rear-bp-presence { label =3D "rear-bp-presence"; gpios =3D <&pca1 9 GPIO_ACTIVE_LOW>; linux,code =3D <17>; }; =20 - fault-pvccin-cpu0 { + event-fault-pvccin-cpu0 { label =3D "fault-pvccin-cpu0"; gpios =3D <&pca1 10 GPIO_ACTIVE_LOW>; linux,code =3D <18>; }; =20 - alrt-p1v05-pvcc { + event-alrt-p1v05-pvcc { label =3D "alrt-p1v05-pvcc1"; gpios =3D <&pca1 11 GPIO_ACTIVE_LOW>; linux,code =3D <19>; }; =20 - fault-p1v05-pvccio { + event-fault-p1v05-pvccio { label =3D "alrt-p1v05-pvcc1"; gpios =3D <&pca1 12 GPIO_ACTIVE_LOW>; linux,code =3D <20>; }; =20 - alrt-p1v8-pvccio { + event-alrt-p1v8-pvccio { label =3D "alrt-p1v8-pvccio"; gpios =3D <&pca1 13 GPIO_ACTIVE_LOW>; linux,code =3D <21>; }; =20 - fault-p1v8-pvccio { + event-fault-p1v8-pvccio { label =3D "fault-p1v8-pvccio"; gpios =3D <&pca1 14 GPIO_ACTIVE_LOW>; linux,code =3D <22>; }; =20 - front-bp0-presence { + event-front-bp0-presence { label =3D "front-bp0-presence"; gpios =3D <&pca1 15 GPIO_ACTIVE_LOW>; linux,code =3D <23>; diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts b/arch/arm/boot/d= ts/aspeed-bmc-ibm-everest.dts index 382da7934eaa..afad8d732cc3 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts @@ -193,25 +193,25 @@ gpio-keys-polled { #size-cells =3D <0>; poll-interval =3D <1000>; =20 - fan0-presence { + event-fan0-presence { label =3D "fan0-presence"; gpios =3D <&pca0 15 GPIO_ACTIVE_LOW>; linux,code =3D <15>; }; =20 - fan1-presence { + event-fan1-presence { label =3D "fan1-presence"; gpios =3D <&pca0 14 GPIO_ACTIVE_LOW>; linux,code =3D <14>; }; =20 - fan2-presence { + event-fan2-presence { label =3D "fan2-presence"; gpios =3D <&pca0 13 GPIO_ACTIVE_LOW>; linux,code =3D <13>; }; =20 - fan3-presence { + event-fan3-presence { label =3D "fan3-presence"; gpios =3D <&pca0 12 GPIO_ACTIVE_LOW>; linux,code =3D <12>; diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/d= ts/aspeed-bmc-ibm-rainier.dts index 7213434695bf..fc8222ea2dd0 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts @@ -183,37 +183,37 @@ gpio-keys-polled { #size-cells =3D <0>; poll-interval =3D <1000>; =20 - fan0-presence { + event-fan0-presence { label =3D "fan0-presence"; gpios =3D <&pca0 6 GPIO_ACTIVE_LOW>; linux,code =3D <6>; }; =20 - fan1-presence { + event-fan1-presence { label =3D "fan1-presence"; gpios =3D <&pca0 7 GPIO_ACTIVE_LOW>; linux,code =3D <7>; }; =20 - fan2-presence { + event-fan2-presence { label =3D "fan2-presence"; gpios =3D <&pca0 8 GPIO_ACTIVE_LOW>; linux,code =3D <8>; }; =20 - fan3-presence { + event-fan3-presence { label =3D "fan3-presence"; gpios =3D <&pca0 9 GPIO_ACTIVE_LOW>; linux,code =3D <9>; }; =20 - fan4-presence { + event-fan4-presence { label =3D "fan4-presence"; gpios =3D <&pca0 10 GPIO_ACTIVE_LOW>; linux,code =3D <10>; }; =20 - fan5-presence { + event-fan5-presence { label =3D "fan5-presence"; gpios =3D <&pca0 11 GPIO_ACTIVE_LOW>; linux,code =3D <11>; diff --git a/arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts b/arch/arm/bo= ot/dts/aspeed-bmc-inspur-fp5280g2.dts index 60a39ea10ab1..208b0f094ed9 100644 --- a/arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts +++ b/arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts @@ -73,19 +73,19 @@ fsi: gpio-fsi { gpio-keys { compatible =3D "gpio-keys"; =20 - checkstop { + event-checkstop { label =3D "checkstop"; gpios =3D <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - ps0-presence { + event-ps0-presence { label =3D "ps0-presence"; gpios =3D <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - ps1-presence { + event-ps1-presence { label =3D "ps1-presence"; gpios =3D <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>; linux,code =3D ; @@ -97,49 +97,49 @@ gpio-keys-polled { compatible =3D "gpio-keys-polled"; poll-interval =3D <1000>; =20 - fan0-presence { + event-fan0-presence { label =3D "fan0-presence"; gpios =3D <&pca1 0 GPIO_ACTIVE_LOW>; linux,code =3D <1>; }; =20 - fan1-presence { + event-fan1-presence { label =3D "fan1-presence"; gpios =3D <&pca1 1 GPIO_ACTIVE_LOW>; linux,code =3D <2>; }; =20 - fan2-presence { + event-fan2-presence { label =3D "fan2-presence"; gpios =3D <&pca1 2 GPIO_ACTIVE_LOW>; linux,code =3D <3>; }; =20 - fan3-presence { + event-fan3-presence { label =3D "fan3-presence"; gpios =3D <&pca1 3 GPIO_ACTIVE_LOW>; linux,code =3D <4>; }; =20 - fan4-presence { + event-fan4-presence { label =3D "fan4-presence"; gpios =3D <&pca1 4 GPIO_ACTIVE_LOW>; linux,code =3D <5>; }; =20 - fan5-presence { + event-fan5-presence { label =3D "fan5-presence"; gpios =3D <&pca1 5 GPIO_ACTIVE_LOW>; linux,code =3D <6>; }; =20 - fan6-presence { + event-fan6-presence { label =3D "fan6-presence"; gpios =3D <&pca1 6 GPIO_ACTIVE_LOW>; linux,code =3D <7>; }; =20 - fan7-presence { + event-fan7-presence { label =3D "fan7-presence"; gpios =3D <&pca1 7 GPIO_ACTIVE_LOW>; linux,code =3D <8>; diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts b/arch/arm/boot/dt= s/aspeed-bmc-opp-mihawk.dts index a52a289cee85..48776fb663fb 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts @@ -92,30 +92,31 @@ video_engine_memory: jpegbuffer { gpio-keys { compatible =3D "gpio-keys"; =20 - air-water { + event-air-water { label =3D "air-water"; gpios =3D <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - checkstop { + event-checkstop { label =3D "checkstop"; gpios =3D <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - ps0-presence { + event-ps0-presence { label =3D "ps0-presence"; gpios =3D <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - ps1-presence { + event-ps1-presence { label =3D "ps1-presence"; gpios =3D <&gpio ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; linux,code =3D ; }; - id-button { + + button-id { label =3D "id-button"; gpios =3D <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>; linux,code =3D ; @@ -126,37 +127,37 @@ gpio-keys-polled { compatible =3D "gpio-keys-polled"; poll-interval =3D <1000>; =20 - fan0-presence { + event-fan0-presence { label =3D "fan0-presence"; gpios =3D <&pca9552 9 GPIO_ACTIVE_LOW>; linux,code =3D <9>; }; =20 - fan1-presence { + event-fan1-presence { label =3D "fan1-presence"; gpios =3D <&pca9552 10 GPIO_ACTIVE_LOW>; linux,code =3D <10>; }; =20 - fan2-presence { + event-fan2-presence { label =3D "fan2-presence"; gpios =3D <&pca9552 11 GPIO_ACTIVE_LOW>; linux,code =3D <11>; }; =20 - fan3-presence { + event-fan3-presence { label =3D "fan3-presence"; gpios =3D <&pca9552 12 GPIO_ACTIVE_LOW>; linux,code =3D <12>; }; =20 - fan4-presence { + event-fan4-presence { label =3D "fan4-presence"; gpios =3D <&pca9552 13 GPIO_ACTIVE_LOW>; linux,code =3D <13>; }; =20 - fan5-presence { + event-fan5-presence { label =3D "fan5-presence"; gpios =3D <&pca9552 14 GPIO_ACTIVE_LOW>; linux,code =3D <14>; diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-mowgli.dts b/arch/arm/boot/dt= s/aspeed-bmc-opp-mowgli.dts index 7d38d121ec6d..31ff19ef87a0 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-mowgli.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-mowgli.dts @@ -46,31 +46,31 @@ video_engine_memory: jpegbuffer { gpio-keys { compatible =3D "gpio-keys"; =20 - air-water { + event-air-water { label =3D "air-water"; gpios =3D <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - checkstop { + event-checkstop { label =3D "checkstop"; gpios =3D <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - ps0-presence { + event-ps0-presence { label =3D "ps0-presence"; gpios =3D <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - ps1-presence { + event-ps1-presence { label =3D "ps1-presence"; gpios =3D <&gpio ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - id-button { + button-id { label =3D "id-button"; gpios =3D <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>; linux,code =3D ; @@ -81,31 +81,31 @@ gpio-keys-polled { compatible =3D "gpio-keys-polled"; poll-interval =3D <1000>; =20 - fan0-presence { + event-fan0-presence { label =3D "fan0-presence"; gpios =3D <&pca9552 9 GPIO_ACTIVE_LOW>; linux,code =3D <9>; }; =20 - fan1-presence { + event-fan1-presence { label =3D "fan1-presence"; gpios =3D <&pca9552 10 GPIO_ACTIVE_LOW>; linux,code =3D <10>; }; =20 - fan2-presence { + event-fan2-presence { label =3D "fan2-presence"; gpios =3D <&pca9552 11 GPIO_ACTIVE_LOW>; linux,code =3D <11>; }; =20 - fan3-presence { + event-fan3-presence { label =3D "fan3-presence"; gpios =3D <&pca9552 12 GPIO_ACTIVE_LOW>; linux,code =3D <12>; }; =20 - fan4-presence { + event-fan4-presence { label =3D "fan4-presence"; gpios =3D <&pca9552 13 GPIO_ACTIVE_LOW>; linux,code =3D <13>; diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-nicole.dts b/arch/arm/boot/dt= s/aspeed-bmc-opp-nicole.dts index 3d4bdad27c2d..ac0d666ca10e 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-nicole.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-nicole.dts @@ -96,7 +96,7 @@ fsi: gpio-fsi { gpio-keys { compatible =3D "gpio-keys"; =20 - checkstop { + event-checkstop { label =3D "checkstop"; gpios =3D <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; linux,code =3D ; diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts b/arch/arm/boot/= dts/aspeed-bmc-opp-palmetto.dts index cd660c1ff3f5..45631b47a7b3 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts @@ -73,7 +73,7 @@ fsi: gpio-fsi { gpio-keys { compatible =3D "gpio-keys"; =20 - checkstop { + event-checkstop { label =3D "checkstop"; gpios =3D <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>; linux,code =3D ; diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/d= ts/aspeed-bmc-opp-romulus.dts index 084f54866f38..893e621ecab1 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts @@ -87,7 +87,7 @@ fsi: gpio-fsi { gpio-keys { compatible =3D "gpio-keys"; =20 - checkstop { + event-checkstop { label =3D "checkstop"; gpios =3D <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; linux,code =3D ; diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts b/arch/arm/boot/dts= /aspeed-bmc-opp-swift.dts index 4816486c0c9e..bbf864f84d37 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts @@ -38,37 +38,37 @@ gfx_memory: framebuffer { gpio-keys { compatible =3D "gpio-keys"; =20 - air-water { + event-air-water { label =3D "air-water"; gpios =3D <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - checkstop { + event-checkstop { label =3D "checkstop"; gpios =3D <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - ps0-presence { + event-ps0-presence { label =3D "ps0-presence"; gpios =3D <&gpio ASPEED_GPIO(R, 7) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - ps1-presence { + event-ps1-presence { label =3D "ps1-presence"; gpios =3D <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - oppanel-presence { + event-oppanel-presence { label =3D "oppanel-presence"; gpios =3D <&gpio ASPEED_GPIO(A, 7) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - opencapi-riser-presence { + event-opencapi-riser-presence { label =3D "opencapi-riser-presence"; gpios =3D <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>; linux,code =3D ; @@ -84,55 +84,55 @@ gpio-keys-polled { compatible =3D "gpio-keys-polled"; poll-interval =3D <1000>; =20 - scm0-presence { + event-scm0-presence { label =3D "scm0-presence"; gpios =3D <&pca9552 6 GPIO_ACTIVE_LOW>; linux,code =3D <6>; }; =20 - scm1-presence { + event-scm1-presence { label =3D "scm1-presence"; gpios =3D <&pca9552 7 GPIO_ACTIVE_LOW>; linux,code =3D <7>; }; =20 - cpu0vrm-presence { + event-cpu0vrm-presence { label =3D "cpu0vrm-presence"; gpios =3D <&pca9552 12 GPIO_ACTIVE_LOW>; linux,code =3D <12>; }; =20 - cpu1vrm-presence { + event-cpu1vrm-presence { label =3D "cpu1vrm-presence"; gpios =3D <&pca9552 13 GPIO_ACTIVE_LOW>; linux,code =3D <13>; }; =20 - fan0-presence { + event-fan0-presence { label =3D "fan0-presence"; gpios =3D <&pca0 5 GPIO_ACTIVE_LOW>; linux,code =3D <5>; }; =20 - fan1-presence { + event-fan1-presence { label =3D "fan1-presence"; gpios =3D <&pca0 6 GPIO_ACTIVE_LOW>; linux,code =3D <6>; }; =20 - fan2-presence { + event-fan2-presence { label =3D "fan2-presence"; gpios =3D <&pca0 7 GPIO_ACTIVE_LOW>; linux,code =3D <7>; }; =20 - fan3-presence { + event-fan3-presence { label =3D "fan3-presence"; gpios =3D <&pca0 8 GPIO_ACTIVE_LOW>; linux,code =3D <8>; }; =20 - fanboost-presence { + event-fanboost-presence { label =3D "fanboost-presence"; gpios =3D <&pca0 9 GPIO_ACTIVE_LOW>; linux,code =3D <9>; diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dt= s/aspeed-bmc-opp-tacoma.dts index 72b7a6639ed9..6f6a35fe2caf 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts @@ -50,13 +50,13 @@ vga_memory: region@bf000000 { gpio-keys { compatible =3D "gpio-keys"; =20 - ps0-presence { + event-ps0-presence { label =3D "ps0-presence"; gpios =3D <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - ps1-presence { + event-ps1-presence { label =3D "ps1-presence"; gpios =3D <&gpio0 ASPEED_GPIO(E, 5) GPIO_ACTIVE_LOW>; linux,code =3D ; @@ -69,25 +69,25 @@ gpio-keys-polled { #size-cells =3D <0>; poll-interval =3D <1000>; =20 - fan0-presence { + event-fan0-presence { label =3D "fan0-presence"; gpios =3D <&pca0 4 GPIO_ACTIVE_LOW>; linux,code =3D <4>; }; =20 - fan1-presence { + event-fan1-presence { label =3D "fan1-presence"; gpios =3D <&pca0 5 GPIO_ACTIVE_LOW>; linux,code =3D <5>; }; =20 - fan2-presence { + event-fan2-presence { label =3D "fan2-presence"; gpios =3D <&pca0 6 GPIO_ACTIVE_LOW>; linux,code =3D <6>; }; =20 - fan3-presence { + event-fan3-presence { label =3D "fan3-presence"; gpios =3D <&pca0 7 GPIO_ACTIVE_LOW>; linux,code =3D <7>; diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts b/arch/arm/boot/dt= s/aspeed-bmc-opp-vesnin.dts index 328ef472c479..8a7fb55ab489 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts @@ -63,13 +63,13 @@ alarm_yel { gpio-keys { compatible =3D "gpio-keys"; =20 - button_checkstop { + event-checkstop { label =3D "checkstop"; linux,code =3D <74>; gpios =3D <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>; }; =20 - button_identify { + event-identify { label =3D "identify"; linux,code =3D <152>; gpios =3D <&gpio ASPEED_GPIO(O, 7) GPIO_ACTIVE_LOW>; diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/bo= ot/dts/aspeed-bmc-opp-witherspoon.dts index 230f3584bcab..a20a532fc280 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts @@ -51,25 +51,25 @@ video_engine_memory: jpegbuffer { gpio-keys { compatible =3D "gpio-keys"; =20 - air-water { + event-air-water { label =3D "air-water"; gpios =3D <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - checkstop { + event-checkstop { label =3D "checkstop"; gpios =3D <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - ps0-presence { + event-ps0-presence { label =3D "ps0-presence"; gpios =3D <&gpio ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - ps1-presence { + event-ps1-presence { label =3D "ps1-presence"; gpios =3D <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>; linux,code =3D ; @@ -85,25 +85,25 @@ gpio-keys-polled { compatible =3D "gpio-keys-polled"; poll-interval =3D <1000>; =20 - fan0-presence { + event-fan0-presence { label =3D "fan0-presence"; gpios =3D <&pca0 4 GPIO_ACTIVE_LOW>; linux,code =3D <4>; }; =20 - fan1-presence { + event-fan1-presence { label =3D "fan1-presence"; gpios =3D <&pca0 5 GPIO_ACTIVE_LOW>; linux,code =3D <5>; }; =20 - fan2-presence { + event-fan2-presence { label =3D "fan2-presence"; gpios =3D <&pca0 6 GPIO_ACTIVE_LOW>; linux,code =3D <6>; }; =20 - fan3-presence { + event-fan3-presence { label =3D "fan3-presence"; gpios =3D <&pca0 7 GPIO_ACTIVE_LOW>; linux,code =3D <7>; diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts b/arch/arm/boot/dts= /aspeed-bmc-opp-zaius.dts index 7ae4ea0d2931..0cb7b20ff3ab 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts @@ -58,13 +58,13 @@ onewire3 { gpio-keys { compatible =3D "gpio-keys"; =20 - checkstop { + event-checkstop { label =3D "checkstop"; gpios =3D <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>; linux,code =3D ; }; =20 - pcie-e2b-present{ + event-pcie-e2b-present{ label =3D "pcie-e2b-present"; gpios =3D <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>; linux,code =3D ; --=20 2.34.1