From nobody Sun Sep 22 01:47:28 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 CFB8CC433EF for ; Thu, 9 Jun 2022 11:39:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233351AbiFILjw (ORCPT ); Thu, 9 Jun 2022 07:39:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242417AbiFILjc (ORCPT ); Thu, 9 Jun 2022 07:39:32 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B61391B12F4 for ; Thu, 9 Jun 2022 04:39:29 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id bg6so27092191ejb.0 for ; Thu, 09 Jun 2022 04:39:29 -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=766FyUMB4XnY1SLKxJJqa2Xdrs65xVhwuFeKmL62QsE=; b=YiZ/to9BW3gq/r4YiLcIjhn+qZ8UdvY2FiUMuR4LTzpAbxFPXcIbKFFogvvemTEjmb 8DWn0G7cKSV3QlLXluHZRHoehP4RZ4/La/3oqAEdUApn+9RNqA4yUDmc6yh3gXTgRUJb Tqrzk8rPJHUfKVnIeHKmpue0TatCn1zAUtBTUJuwbfdrVKt9qjLwgnxjGu+1EGhcDylG Vfua9s2/TVSjGoq3f2AYc7J6/l1k5I1OaP59FhFa0FWRhIyAoNjKmAONPlZmiWFQjuLh zmeDvy2nz1D2UqbF9szTEQ7acKZ99imvgQrYXp4xpQxFpEj5js5i3eBjiHOX78ZY3Bx3 uFEQ== 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=766FyUMB4XnY1SLKxJJqa2Xdrs65xVhwuFeKmL62QsE=; b=THd5H8HsWooceXl7WWv/0a1lUMTbmxLq7d9kgZhRB7UYyr3WBraL5TDGco/kRaHOjp YEBlmabYNu/YGiw6Iy5cPsN5rN596Qn/KqmiDlbHKBABf140grYQMTGfn8Nj8pjGTGXn Ljy40+gsscvYlLsLXONJd0jNh2IDcSTekOQDpbQfMx01pJ+TSCr78EdFwzm9tXV25PjL 6GbfMSMLtE7r9fSsdJNZn8gp8rM7zM07+0bQvsVhLjSvZ8Rw8ggouBFUQW1yQzx8YM1c tqPtwB6aRtbpPRghOlJI5gXyaCXaR6C/CMU2tIqVFpfMzayc1X5v7omA8RgREC3/gaqe lKCw== X-Gm-Message-State: AOAM530bxBfQmFKo0WipIrlo6ZfVmJweRTogEah0ADJ1OJx4L3ksB/oh oilqwTC49aleM/3jjml41hdCsg== X-Google-Smtp-Source: ABdhPJyEO1FWSvDxaLCW4XTIgv0lg+pYroYdvvUgXuq+IGEhWkOWA/2i8yXzX5Rz5j7281LR/r+V0w== X-Received: by 2002:a17:906:dff9:b0:6ff:2f22:7d0 with SMTP id lc25-20020a170906dff900b006ff2f2207d0mr28109541ejc.198.1654774769212; Thu, 09 Jun 2022 04:39:29 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id u14-20020aa7d54e000000b0042e21f8c412sm11898495edr.42.2022.06.09.04.39.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 04:39:28 -0700 (PDT) From: Krzysztof Kozlowski To: Arnd Bergmann , Olof Johansson , arm@kernel.org, soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 07/48] arm64: dts: amlogic: correct gpio-keys properties Date: Thu, 9 Jun 2022 13:39:09 +0200 Message-Id: <20220609113911.380368-6-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" gpio-keys children do not use unit addresses. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts | 2 -- arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts | 2 -- arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts | 2 -- arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 4 +--- arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts | 4 +--- .../arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-kii-pro.dts | 4 +--- arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts | 4 +--- arch/arm64/boot/dts/amlogic/meson-gxl-s905d-vero4k-plus.dts | 4 +--- arch/arm64/boot/dts/amlogic/meson-gxm-mecool-kiii-pro.dts | 4 +--- arch/arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.dts | 4 +--- arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts | 4 +--- arch/arm64/boot/dts/amlogic/meson-gxm-wetek-core2.dts | 2 -- 12 files changed, 8 insertions(+), 32 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts b/arch/arm= 64/boot/dts/amlogic/meson-g12b-gsking-x.dts index 6c7bfacbad78..1540ce47bc6e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts @@ -22,8 +22,6 @@ aliases { =20 gpio-keys-polled { compatible =3D "gpio-keys-polled"; - #address-cells =3D <1>; - #size-cells =3D <0>; poll-interval =3D <100>; =20 power-button { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts b/arch/a= rm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts index 707daf92787b..afe375fa83ca 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts @@ -21,8 +21,6 @@ aliases { =20 gpio-keys-polled { compatible =3D "gpio-keys-polled"; - #address-cells =3D <1>; - #size-cells =3D <0>; poll-interval =3D <100>; =20 power-button { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts b/arch/arm6= 4/boot/dts/amlogic/meson-gxbb-kii-pro.dts index e8394a8269ee..6d8cc00fedc7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts @@ -26,8 +26,6 @@ status { =20 gpio-keys-polled { compatible =3D "gpio-keys-polled"; - #address-cells =3D <1>; - #size-cells =3D <0>; poll-interval =3D <20>; =20 button-reset { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts b/arch/= arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts index f887bfb445fd..63137ce3cb9d 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts @@ -42,11 +42,9 @@ led-blue { =20 gpio-keys-polled { compatible =3D "gpio-keys-polled"; - #address-cells =3D <1>; - #size-cells =3D <0>; poll-interval =3D <100>; =20 - button@0 { + button { label =3D "reset"; linux,code =3D ; gpios =3D <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts b/arch/= arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts index 6eae692792ec..505ffcd8eb76 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts @@ -37,11 +37,9 @@ led-ethernet { =20 gpio-keys-polled { compatible =3D "gpio-keys-polled"; - #address-cells =3D <1>; - #size-cells =3D <0>; poll-interval =3D <100>; =20 - button@0 { + button { label =3D "reset"; linux,code =3D ; gpios =3D <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-kii-pro.dts= b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-kii-pro.dts index c529b6c860a4..a4fa186f0458 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-kii-pro.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-kii-pro.dts @@ -30,11 +30,9 @@ button-function { =20 gpio-keys-polled { compatible =3D "gpio-keys-polled"; - #address-cells =3D <1>; - #size-cells =3D <0>; poll-interval =3D <100>; =20 - button@0 { + button { label =3D "power"; linux,code =3D ; gpios =3D <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts b/arch/ar= m64/boot/dts/amlogic/meson-gxl-s905d-p230.dts index b2ab05c22090..c1470416faad 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts @@ -30,11 +30,9 @@ button-function { =20 gpio-keys-polled { compatible =3D "gpio-keys-polled"; - #address-cells =3D <1>; - #size-cells =3D <0>; poll-interval =3D <100>; =20 - button@0 { + button { label =3D "power"; linux,code =3D ; gpios =3D <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-vero4k-plus.dts b/= arch/arm64/boot/dts/amlogic/meson-gxl-s905d-vero4k-plus.dts index 4b0ff707e21b..595b49085074 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-vero4k-plus.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-vero4k-plus.dts @@ -16,11 +16,9 @@ / { =20 gpio-keys-polled { compatible =3D "gpio-keys-polled"; - #address-cells =3D <1>; - #size-cells =3D <0>; poll-interval =3D <20>; =20 - button@0 { + button { label =3D "power"; linux,code =3D ; gpios =3D <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-mecool-kiii-pro.dts b/ar= ch/arm64/boot/dts/amlogic/meson-gxm-mecool-kiii-pro.dts index ebebf344b715..f5b3424c0f61 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-mecool-kiii-pro.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-mecool-kiii-pro.dts @@ -35,11 +35,9 @@ button-function { =20 gpio-keys-polled { compatible =3D "gpio-keys-polled"; - #address-cells =3D <1>; - #size-cells =3D <0>; poll-interval =3D <100>; =20 - button@0 { + button { label =3D "power"; linux,code =3D ; gpios =3D <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.dts b/arch= /arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.dts index ea9f234d1fc7..b8ef3bd8b840 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.dts @@ -41,11 +41,9 @@ button-function { =20 gpio-keys-polled { compatible =3D "gpio-keys-polled"; - #address-cells =3D <1>; - #size-cells =3D <0>; poll-interval =3D <100>; =20 - button@0 { + button { label =3D "power"; linux,code =3D ; gpios =3D <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts b/arch/arm64/bo= ot/dts/amlogic/meson-gxm-q200.dts index 8edbfe040805..d4858afa0e9c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts @@ -30,11 +30,9 @@ button-function { =20 gpio-keys-polled { compatible =3D "gpio-keys-polled"; - #address-cells =3D <1>; - #size-cells =3D <0>; poll-interval =3D <100>; =20 - button@0 { + button { label =3D "power"; linux,code =3D ; gpios =3D <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-wetek-core2.dts b/arch/a= rm64/boot/dts/amlogic/meson-gxm-wetek-core2.dts index 1e7f77f9b533..f8c40340b9c5 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-wetek-core2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-wetek-core2.dts @@ -45,8 +45,6 @@ button-update { =20 gpio-keys-polled { compatible =3D "gpio-keys-polled"; - #address-cells =3D <1>; - #size-cells =3D <0>; poll-interval =3D <100>; =20 button-power { --=20 2.34.1