From nobody Sun Sep 22 02:05:24 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 542BEC433EF for ; Thu, 16 Jun 2022 00:55:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350771AbiFPAzW (ORCPT ); Wed, 15 Jun 2022 20:55:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350707AbiFPAyl (ORCPT ); Wed, 15 Jun 2022 20:54:41 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F7F35717E for ; Wed, 15 Jun 2022 17:54:28 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id d13so11777863plh.13 for ; Wed, 15 Jun 2022 17:54:28 -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=AlVYTGpdyD/4RoZufqMfUAtnxIkgzdNZQq9JlVcPm2M=; b=cY0VSx2ynxjdY8z+E6cCzS3l8zxPG1fWd74Jb4Jr/0GWbnKM4qNz0HCiiG533beJOM LEedo4/FvmUlX0+ZeZEjwn4ZzPjkJQqOBVsm8ZrcHRPYOM6nWeIuYfhO1d9fXrvZneHV u7187RhJmfWAXV7sJCdskcE++bBoSi1sCSIXfPef79i5WudcTOz6UmoZ98ARJ70p1SoO bzIHIa9np3dzrY0vSYJhZ0bDnac9rTyoQXpuGyP4qQ2G/7J65fWG56WygIYQ6m83rwi4 WHevtoMGQNcaeSbfMVjqFQw2jLTt1hVj05U1GWN/H07516LmvsnB/TnfiBEL8G5YNyYu hpOg== 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=AlVYTGpdyD/4RoZufqMfUAtnxIkgzdNZQq9JlVcPm2M=; b=uoW4cMrPzy3KqQXZLJSepQlwTlhnz3L3oaJwo75oQhdsDyM7WI4/jXr9Y+ZL5Yf3am T/rWSv9I8e/RGd25GQrS4LXb52zScNqtglpMsuaBYiTndRZTPyW1VdOi2DDndypsneao NT6BwZZed1gBJd9Qi7nvhSub9l7rgQeOxEtM8AN0yyWJBNvghMQ+9wzR8K2xrz2YmSWG 3uPeai8iNI3ftF4/htSe8HW2kGxU2EQoaRtZvLl7JkQhlWPgb5k64TmzYMvMYvygEhyb gEQgAQmEu1FFjhXUB+9YuOJDIk5p7R74WCmHH3DbvO92XXc1lw/M4/aIXDQse8zAu7T6 5Ybg== X-Gm-Message-State: AJIora9PHy8YQ5CvqFaz99QV6M0y7vS8TlLKIOMURmkmwFoDoE9PeNA8 sZLyJxSgElStuCYkgRSGIlFSAw== X-Google-Smtp-Source: AGRyM1tGtiIX6Q330qWJmOieQKnEfWXRHpC3+9vuAQgGbl6oEmdtl2Gv4l/SWKlCK3ZvaZjiBWTNtw== X-Received: by 2002:a17:902:f652:b0:156:701b:9a2a with SMTP id m18-20020a170902f65200b00156701b9a2amr2202537plg.14.1655340867906; Wed, 15 Jun 2022 17:54:27 -0700 (PDT) Received: from krzk-bin.. ([192.77.111.2]) by smtp.gmail.com with ESMTPSA id p4-20020a170902780400b0016760c06b76sm233660pll.194.2022.06.15.17.54.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 17:54:27 -0700 (PDT) From: Krzysztof Kozlowski To: arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v3 22/40] arm64: dts: qcom: correct gpio-keys properties Date: Wed, 15 Jun 2022 17:53:15 -0700 Message-Id: <20220616005333.18491-22-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220616005224.18391-1-krzysztof.kozlowski@linaro.org> References: <20220616005224.18391-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 --- arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 4 +--- arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 4 +--- arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts | 4 +--- .../boot/dts/qcom/msm8994-sony-xperia-kitakami.dtsi | 10 ++++------ arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts | 2 -- arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 2 -- .../boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | 2 -- 7 files changed, 7 insertions(+), 21 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts= /qcom/apq8016-sbc.dts index 7c1eab605c15..21242919fe18 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts @@ -92,14 +92,12 @@ hdmi_con: endpoint { =20 gpio-keys { compatible =3D "gpio-keys"; - #address-cells =3D <1>; - #size-cells =3D <0>; autorepeat; =20 pinctrl-names =3D "default"; pinctrl-0 =3D <&msm_key_volp_n_default>; =20 - button@0 { + button { label =3D "Volume Up"; linux,code =3D ; gpios =3D <&msmgpio 107 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts b/arch/arm64/boot/= dts/qcom/apq8096-db820c.dts index 1dbfedd5711c..ba76d4620224 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts @@ -84,14 +84,12 @@ div1_mclk: divclk1 { =20 gpio-keys { compatible =3D "gpio-keys"; - #address-cells =3D <1>; - #size-cells =3D <0>; autorepeat; =20 pinctrl-names =3D "default"; pinctrl-0 =3D <&volume_up_gpio>; =20 - button@0 { + button { label =3D "Volume Up"; linux,code =3D ; gpios =3D <&pm8994_gpios 2 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts b/arch/arm64= /boot/dts/qcom/msm8992-xiaomi-libra.dts index cdb2dfe02e56..04887182bca3 100644 --- a/arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts +++ b/arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts @@ -53,11 +53,9 @@ framebuffer0: framebuffer@3400000 { =20 gpio-keys { compatible =3D "gpio-keys"; - #address-cells =3D <1>; - #size-cells =3D <0>; autorepeat; =20 - button@0 { + button { label =3D "Volume Up"; gpios =3D <&pm8994_gpios 3 GPIO_ACTIVE_LOW>; linux,input-type =3D <1>; diff --git a/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami.dtsi b/a= rch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami.dtsi index 0fb12db47d6e..f430d797196f 100644 --- a/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami.dtsi @@ -29,11 +29,9 @@ / { =20 gpio-keys { compatible =3D "gpio-keys"; - #address-cells =3D <1>; - #size-cells =3D <0>; autorepeat; =20 - button@0 { + button-0 { label =3D "Volume Down"; gpios =3D <&pm8994_gpios 2 GPIO_ACTIVE_LOW>; linux,input-type =3D <1>; @@ -42,7 +40,7 @@ button@0 { debounce-interval =3D <15>; }; =20 - button@1 { + button-1 { label =3D "Volume Up"; gpios =3D <&pm8994_gpios 3 GPIO_ACTIVE_LOW>; linux,input-type =3D <1>; @@ -51,7 +49,7 @@ button@1 { debounce-interval =3D <15>; }; =20 - button@2 { + button-2 { label =3D "Camera Snapshot"; gpios =3D <&pm8994_gpios 4 GPIO_ACTIVE_LOW>; linux,input-type =3D <1>; @@ -60,7 +58,7 @@ button@2 { debounce-interval =3D <15>; }; =20 - button@3 { + button-3 { label =3D "Camera Focus"; gpios =3D <&pm8994_gpios 5 GPIO_ACTIVE_LOW>; linux,input-type =3D <1>; diff --git a/arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts b/arch/arm64/b= oot/dts/qcom/msm8998-fxtec-pro1.dts index 1ffe72b47f67..6a200f37c035 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts +++ b/arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts @@ -101,8 +101,6 @@ key-alt { gpio-keys { compatible =3D "gpio-keys"; label =3D "Side buttons"; - #address-cells =3D <1>; - #size-cells =3D <0>; pinctrl-names =3D "default"; pinctrl-0 =3D <&vol_up_pin_a>, <&cam_focus_pin_a>, <&cam_snapshot_pin_a>; diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi b/arch/a= rm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi index bc06b485897c..42e89f41eb7d 100644 --- a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi @@ -90,8 +90,6 @@ cam_vana_rear_vreg: cam_vana_rear_vreg { gpio-keys { status =3D "okay"; compatible =3D "gpio-keys"; - #address-cells =3D <1>; - #size-cells =3D <0>; =20 key-camera-focus { label =3D "Camera Focus"; diff --git a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts b= /arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts index f933b6c4f763..c9f195649954 100644 --- a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts +++ b/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts @@ -42,8 +42,6 @@ extcon_usb: extcon-usb { gpio-keys { status =3D "okay"; compatible =3D "gpio-keys"; - #address-cells =3D <1>; - #size-cells =3D <0>; autorepeat; =20 key-vol-dn { --=20 2.34.1