Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2055303lqe; Tue, 9 Apr 2024 08:20:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVe/c8iTvEibZkg8vOw5df7uza2Z8MbwhfTIIJNIeMXpe2nbSiaoCQlV4hG5QkW30nEOL6eBppDrBbsVFtHvM9zG1I26VTOrLKx1V+yog== X-Google-Smtp-Source: AGHT+IEPJaXRqg3VlVHldvygSOwp/X6yJ8M6vF4r9+fqTv+eadbFWl+e/olLxApnnepn2FQYoubz X-Received: by 2002:a67:f591:0:b0:47a:1652:60c2 with SMTP id i17-20020a67f591000000b0047a165260c2mr1604598vso.15.1712676019983; Tue, 09 Apr 2024 08:20:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712676019; cv=pass; d=google.com; s=arc-20160816; b=qVmMSWSCU8PhhXFRItDm5rWCjQSRIWtyOIngjaifG+EMgNvmPntbLZr5fSqBbH1L1X ziI99hk0GKYaeLH0PiQBUE7OdfPuGKFBc61jHaIoBMxaOhraVO+wBMR1DgOfOq3pK8a7 yJkYOUBYJth+kmvdiut+hn1whhi2tqQJAwIcMBefRhARnEvYzLZBGM9s+yBsWe+Je3tP CiG5ZKXmQH63nzPK9SoBCeiYfMXbhGaZGgShIseqlnNxUjHz3y/2IkLwoPn/JrMa4/SF gpWqMuf/RsEUUu3hOQoFxkiKyQQkuBO//F2BbacrIObe6wCHjZqfrJt4a3WudL4Nrs5i qrjg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rZJdAWgJdOAVf+EPv8jpec0AJ/X7g6qwcvvJbsMNBEw=; fh=UzxTfDzsK1D5ss7gKQt4MyYsEzqtUOP+pu2jImtllI8=; b=IrRRsXXKWrav5bdU5VqNz6pFaSiXHHhVBbYstuc//D+Yrb0C4YK1WmQYfq6KDeHCh8 ICqW7mcGMRGarZYmc+zoLKdWSpQpq7zUjAah0nAC2MPmeOiAuEf56b0dejgFWra8sawy 84yoGH9Rq5MwaqrMabnBG2TRggHaShiyxOhB1HYelbInr3NNyF76Qmdu3/HlLlcHi9J/ OxW6jOwfT8sK6ei6AtWmpVjMEr07PzHvjl9j8WizsZUASrozzWdPIRPXMvnSrV0Xz0Xv aW/XbF3M179F/BFmMwksT+qknDqIq+zYH+0myUl2Sbu5IXzgpvagWQaaGU3V4/2qx3h0 7Vjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eXphSvrz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137201-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137201-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id cu19-20020a056102161300b0047a201365b2si122321vsb.794.2024.04.09.08.20.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 08:20:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137201-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eXphSvrz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137201-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137201-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5E2391C20B17 for ; Tue, 9 Apr 2024 15:20:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8B9113AD07; Tue, 9 Apr 2024 15:17:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eXphSvrz" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 073F9130A4D; Tue, 9 Apr 2024 15:17:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712675848; cv=none; b=Mq0ypqgf+4jZqHmLSS6gb0t4gFXeMT8FJmKe7M10k6JU8B61uQR1gAxmtX/gTOZBOj8Jm4CsNte0RAZqfY/xoVP4fnWkN6Kj7F2285Qb00srEboG+dovJXbSQJDeyhAllSStzK4mXueKw1XIlbnVvbOHdoihLghGEKGArA5qdOI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712675848; c=relaxed/simple; bh=es1MYjnQwIto0uL6LwEAbpD4rpRO8wPyukz2ygDwB38=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=X0WrIV1EluUIcm19F+i6drI8exf+BO014NxBmuvjbiZBP7JokExukrRrYYRY3NaOgomP7gOBo9dL6H+63Mtcs+95dvj0VCXmTD6hPwXCuUOP2YBj2Fq6ghBDEs2ubFdThh3HAu6Vem80r7dmptxHnt1D1LMEFrWtfOyU3kIySqQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eXphSvrz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C993FC433F1; Tue, 9 Apr 2024 15:17:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712675847; bh=es1MYjnQwIto0uL6LwEAbpD4rpRO8wPyukz2ygDwB38=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eXphSvrzfQlLteAwykxf90vsjX5sUCf6QZhMeJwnnwi9wV+OmF/zPeaoj2vwU2Ipg PgcuWz01XA6QLO3UAPPG3L6WuHO+VFv3Fexn829rfFRET7sRdyWXI9HJGz3BLGsV7s oGGVDPD3PBbsZNu93DoKaixR6BHvuybLTAxabFJgzvWwLU3HTNQYIltK3iR4cHspr2 9J/3c9SiUJ48odINzX09ZEmIHIrYx2mHnREDbFMnVkxRpOWCpGwr2SoeSILYhQj093 isp6yPLT3JgaqYd4MdBHMWAXrDSDbdYou5WFgkJPk+R26fHbHPiLSvCQdy7XkAsoo1 8k9pTlmxbZ4lA== Date: Tue, 9 Apr 2024 10:17:25 -0500 From: Bjorn Andersson To: Umang Chheda Cc: Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] arm64: dts: qcom: qcs6490-rb3gen2: enable PMIC Volume and Power buttons Message-ID: <6b3gqfrvljvlfaf365l55kjcbjd4rfmw223tro6rqy5crykxgb@l66dptcrujip> References: <20240403132839.2117675-1-quic_uchheda@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240403132839.2117675-1-quic_uchheda@quicinc.com> On Wed, Apr 03, 2024 at 06:58:39PM +0530, Umang Chheda wrote: > The Volume Down & Power buttons are controlled by the PMIC via > the PON hardware, and the Volume Up is connected to a PMIC gpio. > > Enable the necessary hardware and setup the GPIO state for the > Volume Up gpio key. > > Signed-off-by: Umang Chheda > --- I suppose this isn't a "resend" either, so please send me a new version of this as well. Regards, Bjorn > arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 37 ++++++++++++++++++++ > 1 file changed, 37 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > index 63ebe0774f1d..73f6d18d2331 100644 > --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > @@ -9,6 +9,8 @@ > #define PM7250B_SID 8 > #define PM7250B_SID1 9 > > +#include > +#include > #include > #include "sc7280.dtsi" > #include "pm7250b.dtsi" > @@ -39,6 +41,22 @@ chosen { > stdout-path = "serial0:115200n8"; > }; > > + gpio-keys { > + compatible = "gpio-keys"; > + > + pinctrl-0 = <&key_vol_up_default>; > + pinctrl-names = "default"; > + > + key-volume-up { > + label = "Volume_up"; > + gpios = <&pm7325_gpios 6 GPIO_ACTIVE_LOW>; > + linux,code = ; > + wakeup-source; > + debounce-interval = <15>; > + linux,can-disable; > + }; > + }; > + > reserved-memory { > xbl_mem: xbl@80700000 { > reg = <0x0 0x80700000 0x0 0x100000>; > @@ -471,6 +489,25 @@ &gcc { > ; > }; > > +&pm7325_gpios { > + key_vol_up_default: key-vol-up-state { > + pins = "gpio6"; > + function = "normal"; > + input-enable; > + bias-pull-up; > + qcom,drive-strength = ; > + }; > +}; > + > +&pon_pwrkey { > + status = "okay"; > +}; > + > +&pon_resin { > + linux,code = ; > + status = "okay"; > +}; > + > &qupv3_id_0 { > status = "okay"; > }; > -- > 2.25.1 >