Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp961869pxb; Tue, 14 Sep 2021 12:40:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlf7TFoH0D4hywzFRRsycqPMPjw4pQbJJYvyIGDSTD8WfOBJ/a/MmJcmRmGrghOHuHugzt X-Received: by 2002:a05:6512:a82:: with SMTP id m2mr11173841lfu.66.1631648426934; Tue, 14 Sep 2021 12:40:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631648426; cv=none; d=google.com; s=arc-20160816; b=g37Oy6ZqvXFmM6tt5+pTUDTkgSBX4OJ3m3PGx5RFEw4JgpLolGzsHqC6zZQRq6o4c3 FHo4gjaOeX17gtLiB0IAVRSgsyPDCuWRxSrpmnf+GJ7yCL5hANKvjKSJSL6HTOUae5I2 wgE+gTtORU2PyELXUT1yU/I3sYopSQfGlhX6Zz6eHjWiIQ9lgVB+ZG03TLfbG6Sn3Tlm nHgA4r9hdwY08j9ouyULqh0afsvbesPvPxaP4odfg3jAbGs8ZBllGen9L5Oh3TG5/LgB xCtw9mp9taqSi6Xd1wsmKR/E/d87qI5VJeuBt0WESnEvPbp5Cj7SHlDkcUcIqzr30YIL GMyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=MLQfJAb2nshbl/BB+0CPYD8WzePweEOPxKjryODlhBY=; b=NQeceA+0JfUVhpHdKlgAfVo7Spr0sP9CbtQfbGpANoqF/FrGaYEwoI3b3FxMkpJ7/o JJ5aqfU49/7cccbX+wzKQ02SJl5vQXYgQjaRR3+w5fb7TlIkOytvr3o5vo7dRB341s68 6LvcVvvE7kkq8yMuB8812arGknSHU1R9l0AYWSLlkDntZoB3cR7Ei7OhkiVoJuNNZFir hrT63ISv5pUkjX0TBimP3ZMjm5HQRCo/UVP36W5hly5ccBSWuHuGYESIg8ZMyfqsDswP ML2001Lm64DlPn1ofGW7RkqErw8qNovSZS+j1w6YGyCIN7YNT48dggoKY/zqwaqaHGJ5 PE8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fU+2fUmh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si13601895ljc.353.2021.09.14.12.39.59; Tue, 14 Sep 2021 12:40:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fU+2fUmh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231863AbhINTjg (ORCPT + 99 others); Tue, 14 Sep 2021 15:39:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232182AbhINTjf (ORCPT ); Tue, 14 Sep 2021 15:39:35 -0400 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B4C6C061764 for ; Tue, 14 Sep 2021 12:38:18 -0700 (PDT) Received: by mail-ot1-x329.google.com with SMTP id x10-20020a056830408a00b004f26cead745so93222ott.10 for ; Tue, 14 Sep 2021 12:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=MLQfJAb2nshbl/BB+0CPYD8WzePweEOPxKjryODlhBY=; b=fU+2fUmhgATKS8sAffT3oVU6G2cnoZkbVdK4P3jZkCaJb9Xfxl7zEis23p11wyRKLT gevV9/SEA5s4KPdSYD/V458UJayvvtRbj36OivXuugfYVP8wsl59bEM5GB4iKnz7Luph dlhHwKeU4rYMBNLJ08Mo9iphxOG4w0qe+9FXE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=MLQfJAb2nshbl/BB+0CPYD8WzePweEOPxKjryODlhBY=; b=Q9zf+puoA+6883d2RjO8GlfbtI5kCg9lDvxWisYxVD4sxBUBe9bg+q/KfE2XkjjLPY v78eSIjkTRl2oQisilpcbDFyvH0pbRZITg/h8TkHiBXrSruvIRDpG502PVFFays7ms3m wJFsz9S3SVQ0EgjApWtYQeESFR4T8+7VV7EmFUnroAXS1dg087wIx0DzF3LDxD8T+gTe 1uFwtf0eEIaTugR20bnP9jhRLR9eCNZCtMFBF7dihD+/hKKfIprNivfipWnlJkWkgKs/ d+nogBRl49Y4AkuXLI2PlIc0mJg+h+I0hGLLbPdT/alEyNFQ0dkU74JGz9gDKaTmz96Q UsjA== X-Gm-Message-State: AOAM533HJVbRTXzO3ugBdTVIGpu/eUS+DH7Vae84zGkv7Z3wEeLzv3T8 lDyDSrl9xjm4yj8QthSiPoZGKOKKFP5y8piTqMcVHQ== X-Received: by 2002:a05:6830:719:: with SMTP id y25mr16212633ots.77.1631648296004; Tue, 14 Sep 2021 12:38:16 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 14 Sep 2021 12:38:15 -0700 MIME-Version: 1.0 In-Reply-To: <1631624108-15491-3-git-send-email-skakit@codeaurora.org> References: <1631624108-15491-1-git-send-email-skakit@codeaurora.org> <1631624108-15491-3-git-send-email-skakit@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Tue, 14 Sep 2021 12:38:15 -0700 Message-ID: Subject: Re: [PATCH V4 2/2] arm64: dts: sc7280: Add volume up support for sc7280-idp To: Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring , Satya Priya Cc: David Collins , kgunda@codeaurora.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Satya Priya (2021-09-14 05:55:08) > diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > index 371a2a9..003112f 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > @@ -239,6 +239,26 @@ > cd-gpios = <&tlmm 91 GPIO_ACTIVE_LOW>; > }; > > +&soc { > + gpio-keys { This should be in the root node, not soc node as it doesn't have any reg property. Please move it to / and put it at the top of the file. > + compatible = "gpio-keys"; > + label = "gpio-keys"; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&key_vol_up_default>; > + > + volume-up { > + label = "volume_up"; > + gpios = <&pm7325_gpios 6 GPIO_ACTIVE_LOW>; > + linux,input-type = <1>; > + linux,code = ; > + gpio-key,wakeup; > + debounce-interval = <15>; > + linux,can-disable; > + }; > + }; > +}; > + > &uart5 { > status = "okay"; > };