Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4526262rdb; Fri, 29 Dec 2023 05:04:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPVWYljduYbGK7Lkr4uYfus9poOPXcOXP4mmdUjz7POzErzZVk6QFpx7kgRv3L5brNvM6p X-Received: by 2002:a17:902:da88:b0:1d4:3797:f836 with SMTP id j8-20020a170902da8800b001d43797f836mr6059904plx.104.1703855097703; Fri, 29 Dec 2023 05:04:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703855097; cv=none; d=google.com; s=arc-20160816; b=ixcOznOSkuHfzPfuuOFsYa5D42S3tLS5vkKVEyfkMl8A0FVcaMNl46Go/b5mVwacUz WUL8257wx4b1peZO/b8UYo2SkaTnpuBH+Ckg/hc9UHzwPT+mxe/l4J9qQFfCIx6Hv9kq DwXbzWvLAkmZYaWzWCFRFJOXyCXEqZJ9tpSJ7/3r7Rc2yQEJVu+2vV7lAYPYhbEq1uHi R4SGmGbAsa6JNHDztlzGshlluM0XxC/dwMv5qY7qf/VMgpBTo4L6bCR3c92qxhn6WVu2 Pfz7PkfL8FsBPaeIr2yho/49ZV58QZWPQBXiQb3V+2Udbn0IK/DZ2h2HXC/BgELUeR69 ib2w== ARC-Message-Signature: i=1; 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=1EXPTwoQKg4b9PvgKXiKtteeNrApdfWsKQSORNa5OAQ=; fh=/mTksL3vHH1VcANFHGU4DFYCYMEAlsSi9iZiMWs+96Q=; b=zA2be6qHCvcMzzkHTDYi20x1Dj4vBHEkzC/ws73LdbPLC6jTPAgtzyboJhNL7pOqJb K4NbW0nRZDwbSn4oCydL2u1Z8sZp1Ghl2KnYZI9QeiYUralNrcSB7EC035etkwSefy9A GZR4RhxVfNwmbEWZXkKJDaulYsXFzwcKCmrgUE2DLi4Cb5SHryjx2h6ymVf3fiUrput6 UO4pDjppXKtBqMm8ItJHiXQlWdRe3KVB1H5taKSJ+UE44s5pbQGLDhX64FjSK937P6wR 7aqdosqFVoU6QYdqPOZ+jyddQ8XmJGJ0Se84RbuYn3tqrOsUawARyjkG7Okpo570Z8de gKmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="LtaRb/39"; spf=pass (google.com: domain of linux-kernel+bounces-13086-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13086-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d16-20020a170902aa9000b001d3e547b0eesi14242091plr.184.2023.12.29.05.04.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 05:04:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13086-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="LtaRb/39"; spf=pass (google.com: domain of linux-kernel+bounces-13086-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13086-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E5B14284D59 for ; Fri, 29 Dec 2023 12:55:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 679DB111A4; Fri, 29 Dec 2023 12:55:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LtaRb/39" X-Original-To: linux-kernel@vger.kernel.org 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 95E1A111AB; Fri, 29 Dec 2023 12:55:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 163AAC433C8; Fri, 29 Dec 2023 12:55:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703854512; bh=aTnhvu/a+fFNZukUNewDL5zHRCt6veGzDwTQmZE1yCg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LtaRb/390cdHST6fnrqYgXaUibt7YvkRfVDPi1Jp6sEFDB6QnIIbmHNeQF3Sawd76 Y5QQMZE6nFztN9CW1cQqLF4BPJg0SSfi2+uqcuixvn3mq0OdcBJN83w5z5gqgMELnm aS/lHcZb8OBTcYVnpla+ghHCZXFO9AU6HcYRVKNmo25cYVuI1YTApav7yPIe9A94Eq 70SKjqSHOG4EIQ3FVvy0rMdv5P0zB8+qRKjpWRrrby+T5eLEwmChyKLRFFL4T3XbHp mRn3+r3zDTFL3U9UaOtkgmOXRcM6YMozGywFDGEgpS5AOkP4LxgZEBCIJBIj+9Tb+Z 4i/9kVrbiBIEA== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rJCOG-0007ge-0r; Fri, 29 Dec 2023 13:55:05 +0100 Date: Fri, 29 Dec 2023 13:55:04 +0100 From: Johan Hovold To: Konrad Dybcio Cc: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Johan Hovold , Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio Subject: Re: [PATCH 3/3] arm64: dts: qcom: sc8280xp-crd: Add PCIe CLKREQ# sleep state Message-ID: References: <20231227-topic-8280_pcie_dts-v1-0-13d12b1698ff@linaro.org> <20231227-topic-8280_pcie_dts-v1-3-13d12b1698ff@linaro.org> 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: <20231227-topic-8280_pcie_dts-v1-3-13d12b1698ff@linaro.org> On Wed, Dec 27, 2023 at 11:28:28PM +0100, Konrad Dybcio wrote: > The CLKREQ pin should not be muxed to its active function when the RC > is asleep. You forgot to explain *why* you think this is needed. Note that this is only appears to be done for one upstream Qualcomm SoC (msm8996) currently, and that, notably, there is no driver support for actually changing the pin state. > Add the missing pin sleep states to resolve that. > Fixes: d907fe5acbf1 ("arm64: dts: qcom: sc8280xp-crd: enable WiFi controller") > Fixes: 17e2ccaf65d1 ("arm64: dts: qcom: sc8280xp-crd: enable SDX55 modem") > Fixes: 6a1ec5eca73c ("arm64: dts: qcom: sc8280xp-crd: enable NVMe SSD") So not sure these Fixes tags are warranted either. > Signed-off-by: Konrad Dybcio > --- > arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 78 ++++++++++++++++++++----------- > 1 file changed, 51 insertions(+), 27 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts > index ffc4406422ae..58c0c2d10cb3 100644 > --- a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts > +++ b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts > @@ -530,8 +530,9 @@ &pcie2a { > > vddpe-3v3-supply = <&vreg_nvme>; > > - pinctrl-names = "default"; > - pinctrl-0 = <&pcie2a_default>; > + pinctrl-0 = <&pcie2a_default>, <&pcie2a_clkreq_default>; > + pinctrl-1 = <&pcie2a_default>, <&pcie2a_clkreq_sleep>; > + pinctrl-names = "default", "sleep"; Johan