Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp694326pxb; Fri, 3 Sep 2021 11:14:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylBTZ9DGgUnJJtMVm3Vh6d8kpHK8FgXnF9OdOH2cA4olxO/DneSJjP+AWlaxuqBMUCHMdG X-Received: by 2002:a17:906:2f15:: with SMTP id v21mr187891eji.444.1630692895574; Fri, 03 Sep 2021 11:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630692895; cv=none; d=google.com; s=arc-20160816; b=yA3b2EaNhccwGP/iXSwuiaEOQsqYR3hbi9VrWgvbVwq+19gvPMcBZVn0vgrJlb09JQ SwBf/3QP5RMSEmUM5tb4/DS0xpdfmSNMexEsYl7p5HcBjOsq6R947pzDXrfy353eIN0T sq/RIZQ1J5IeyEp5HuyBVM3ZmD5q7ArtgOWsSBGBxdM/tOopTLzyXPxdKR4M8J4fggpK 7uq0uJKc+oQ1or4iGDKAZrPLPrd0L5KYbNLWhvWAbNN2uRfT9Vz0yn+q5DuMcy7W834n /aSv89T7ZzytWQbucF4YHoSh/LnNBWVugtvJEmetbYpHEo5YJUoSJTROeJE24xsYQ5XS yvCg== 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=EmxGvSFHzwGSo5pc2/hQyVW83mXoB+h7zPtCUkGNIwE=; b=VzErTIu5EiCBxMYoJZIMwkKscTvtYuLisWcefhcvZZbBkMOlALo1Y14MDFs+yOlDBG vLST6jF9Cb2u+jMZyrF8sYeIkDS9QmAOGn3Q+qBgIhRAKVVpjVlQm84xgBK4I2Q3KCH7 v0MAu0ppVh9bBWtQDs93Qeirt6PHdCHZlRIYe8tVnxxXy+J2PJNJPuPQ+qMt2JPzBdRb EJcreH+y9FB1GcxRAH/l2oL/46NLyJmqrQaxsdbwJdafKtGZy1z0yGAKwChRj/oM7Z52 VXaObZ0yeKlkIjlTK+yRM7OWmzCJ1lZup1bbLPFVF5eymgjdz1vR4lyy5mVAFmObUR+m 7QuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=K9bKKR5p; 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 z8si259902edx.190.2021.09.03.11.14.31; Fri, 03 Sep 2021 11:14:55 -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=K9bKKR5p; 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 S1350400AbhICSNc (ORCPT + 99 others); Fri, 3 Sep 2021 14:13:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350403AbhICSNc (ORCPT ); Fri, 3 Sep 2021 14:13:32 -0400 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1EC9C061760 for ; Fri, 3 Sep 2021 11:12:31 -0700 (PDT) Received: by mail-oi1-x232.google.com with SMTP id h133so211413oib.7 for ; Fri, 03 Sep 2021 11:12:31 -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=EmxGvSFHzwGSo5pc2/hQyVW83mXoB+h7zPtCUkGNIwE=; b=K9bKKR5p2Hj2dhQigCQ/Rvb66nsPCiDyB65R1H+Uc84IFdA9pH+Fj4/myNe5PdhG2x WtYjgGbOGYPlmE3ASrCrurIbw5w9QLknsSyS3BcSfN4BvuLQm0LWnjbq0cQS/hf38Tqe ZK/KbCE1Mq0CMe4+goX2oFt1VZ5xN4pIg580A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=EmxGvSFHzwGSo5pc2/hQyVW83mXoB+h7zPtCUkGNIwE=; b=g7pkkFyJcrIN0V9j5j6S1lKCyOzSxPC7fnHTYS2axz0a+eSC3fi4f+JpnApR5YXeUT hhvkM2nHK29VuxkO5uFSrHdJGe0mznn/rVy1x+uIT+Kj9+v843cDsCZuYfpJXCx2zQ3e Ll4rstxKnHtXH5mZevQMiKh4IbVPRbssPdcKXtL9+0sQEc3lxnlfRHrXp6Xmqs56ml06 8geWKu1ggMBYczXNBQD7uc2Zn20bElkOeds6FQJuvsP0qljDJfNofEfJ0VKF6L6P0u62 g03P3ZQY0H8ZOY5bg1u5kKOXiNWwsa/sB0xbf+gk63KAuASm7H1lmRgc/wQRFO/HQfBE iKXg== X-Gm-Message-State: AOAM531Gij/t0f1G9wKYYYnMoA0/FEASackgFqqLXWkgyNEEWvrrLgm6 00Xw9IF+4YEp7H+FdMto8eGs99yB2z1T/MSmuch+sg== X-Received: by 2002:a54:4419:: with SMTP id k25mr125286oiw.32.1630692751276; Fri, 03 Sep 2021 11:12:31 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 3 Sep 2021 14:12:30 -0400 MIME-Version: 1.0 In-Reply-To: <1630574106-3394-3-git-send-email-skakit@codeaurora.org> References: <1630574106-3394-1-git-send-email-skakit@codeaurora.org> <1630574106-3394-3-git-send-email-skakit@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Fri, 3 Sep 2021 14:12:30 -0400 Message-ID: Subject: Re: [PATCH V2 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-02 02:15:06) > diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > index 371a2a9..52bcbbc 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > @@ -199,6 +199,37 @@ > modem-init; > }; > > +&soc { 's' comes after 'p' so this is in the wrong place. > + gpio_keys { > + compatible = "gpio-keys"; > + label = "gpio-keys"; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&key_vol_up_default>; > + > + vol_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; > + }; > + }; > +}; > + > +&pm7325_gpios { > + key_vol_up_default: key_vol_up_default { Please move this to the "PINCTRL - additions to nodes defined in sc7280.dtsi" section and then sort alphabetically on node naem. > + pins = "gpio6"; > + function = "normal"; > + input-enable; > + bias-pull-up; > + power-source = <0>; > + qcom,drive-strength = <3>; > + }; > +}; > + > &pmk8350_vadc { > pmk8350_die_temp { > reg = ;