Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2721393pxb; Mon, 6 Sep 2021 04:01:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyz8AhgowKLfnfINU58L6cob/F6AaKUNTwmOUEKspt4fi//yD3ksjJJgPo9KYMpO0ryI2aw X-Received: by 2002:a17:907:2677:: with SMTP id ci23mr12764985ejc.429.1630926104471; Mon, 06 Sep 2021 04:01:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630926104; cv=none; d=google.com; s=arc-20160816; b=sIfUO/+vD/cprxnvB0AMFmCt6DLgKcE+eEQ4X6ORQsq3TAV6fcvkW1+n+43EJwIcKC 2Kg+hqdCaOy4dH9mlp8A3J8o3cIJscYlFCNFDsbKMuWGiIIWG24/uOe7p370ljKVyNUn E8vtNZOxw1TX3Z5btTd4VD5K1F8yK1z1MmUVJovE/77wKQxdH9nPEPthrv/l/35NXFsu KXsgmU5LCVXyiEUFdV5i56KfSVDt6BIZajWipn58tEu2npBict07ecPbQXTRQOQAg1d6 Bo7hNFRr48xEh0hvv3URsutxwbN+lMbWukaaYlocJUSNrkFfiN2ZQBWUNy1DUV9JnTD+ 1v3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=vsOcnMr2wpiwvzUcC8f61q76ivDkmYdEEI0Rs1N9cVE=; b=YLmYT4KLHQhKioVf2RqAhRZp9eFXl9CsM6hDBbnEtzuXDybp5RJctETP5glYSOArJp ofRzLrBGsC0wsj34CGrTucn8/Jw+9iTg2Z0YMFAHfOgMBsKrLdZNXO4jQU0s0gHfmcWx Zv7/A5XjRlLmmQbYzrabfRFfDbsMqv1KUIrmO4D20UfM9JYgfGm5BxgkY87gy0aSv4+e Uih4/EZH/FAjO9c9nKltV1K5yoEv5JBYOWbFHE7QxI0cFiUK8yL3g6JMXwxLJP/KmxyY qNZb4wXUi0cBIF/8c2xftH5b1iG/n83TdV2ow/EZ6D8dJE3CzYimij9DGX05as8nH1+r LJ+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=tWnLLBce; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p15si10037386edj.97.2021.09.06.04.01.20; Mon, 06 Sep 2021 04:01:44 -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=@mg.codeaurora.org header.s=smtp header.b=tWnLLBce; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240404AbhIFK7V (ORCPT + 99 others); Mon, 6 Sep 2021 06:59:21 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:18597 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240407AbhIFK7U (ORCPT ); Mon, 6 Sep 2021 06:59:20 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1630925895; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=vsOcnMr2wpiwvzUcC8f61q76ivDkmYdEEI0Rs1N9cVE=; b=tWnLLBcer4ahKFBZKflFNR1FqbbxDfTkPOu3jwEGsbpXj6EPBoJ2OoXLHkndjsDjIJePa/QC IgOowgkQufjThdat/sPNA1d4bYRWlRslfjYLQYce7B82WoWDo2+IaXTjqvkzyEeMi0a5n6U8 E9i4+Qoy8A/68WvrBGgyago0s6U= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-west-2.postgun.com with SMTP id 6135f44740d2129ac15e150f (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 06 Sep 2021 10:58:15 GMT Sender: skakit=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id D75D9C4360D; Mon, 6 Sep 2021 10:58:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: skakit) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5FF9AC4338F; Mon, 6 Sep 2021 10:58:14 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 06 Sep 2021 16:28:14 +0530 From: skakit@codeaurora.org To: Stephen Boyd Cc: Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring , 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 Subject: Re: [PATCH V2 2/2] arm64: dts: sc7280: Add volume up support for sc7280-idp In-Reply-To: References: <1630574106-3394-1-git-send-email-skakit@codeaurora.org> <1630574106-3394-3-git-send-email-skakit@codeaurora.org> Message-ID: <9137f113e0cdd718edaa3d32b30bf043@codeaurora.org> X-Sender: skakit@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-09-03 23:42, Stephen Boyd wrote: > 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. > Okay will move it accordingly. >> + 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. > Okay. >> + pins = "gpio6"; >> + function = "normal"; >> + input-enable; >> + bias-pull-up; >> + power-source = <0>; >> + qcom,drive-strength = <3>; >> + }; >> +}; >> + >> &pmk8350_vadc { >> pmk8350_die_temp { >> reg = ;