From patchwork Fri Jul 19 13:25:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 813448 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 0727C84A28; Fri, 19 Jul 2024 13:25:38 +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=1721395539; cv=none; b=ga7re+lav6jaqgWrSg9WnSBc9mLWA7m0yMECMhlomdsB3VWC5Tq6dYEBmpF3kR3VPAB6gK6xl1xA5GA+70f7YKb4PoRMm92o98WQHOm1J7rK5fwuJrlEC4adpiZkDue/o29aIIoRH5kuTlQMvQoljWVDEdYaCaqXXTagPirxbX4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721395539; c=relaxed/simple; bh=nTpOqNJ4PzR01+Bu5uIixOxMbOnqss1t/gbvzvgIneA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eQ2UWaabsf7o57A5/91KptHlWN7iDE9g+59NnEudzOjJM21cYHylGdLmuV72vwlW5EyyASKJuiWFX0hVw1PZy6WTNfqBMlNf8l6HLMSSYsvq1qy1QwBIHKzi2rJYOShLVKSTtLneGvxTlBRcsZRgTaYWUBd8PRJpoAeBf9a8ZL0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IqDFgbQQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IqDFgbQQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CD87C4AF0A; Fri, 19 Jul 2024 13:25:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721395538; bh=nTpOqNJ4PzR01+Bu5uIixOxMbOnqss1t/gbvzvgIneA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IqDFgbQQPs51geR3fVkk2GnpdGxIrpkqALovJbLl783gh4M4DD+YWTA1/jQYMetBo u2T/UaFvACoXFCzTYhTm8KS3DLJtQq1B8jVdfk9GdxrXVRkaXzXf/paig5eBoq/CBF ocGCF+9YZeQqi6kX3TreI/ZqPgbYpbbdn99KXmgkbLuUf9w/xj2izZV8FU8ZNDm+xu YeWOjfTB13bdYp9b5OSYiTWLlD5sZjhhYFcrQ6BJxox7V8fBIbzSuz7H0LEB/4Zg9N RI4LutegUltbZG5kWUnh4cu2UDs3jtZ8PJ91PJvBFnoAhuj8i8GR9L/lMYYsFDaES2 IfQiuPHy5qqtg== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sUncI-000000002Oz-3RS1; Fri, 19 Jul 2024 15:25:46 +0200 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 1/4] arm64: dts: qcom: sc8280xp-crd: disable PCIe perst pull downs Date: Fri, 19 Jul 2024 15:25:19 +0200 Message-ID: <20240719132522.9176-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240719132522.9176-1-johan+linaro@kernel.org> References: <20240719132522.9176-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Disable the PCIe perst pull-down resistors to save some power. Signed-off-by: Johan Hovold Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts index 2897dff8e3bb..4c8ae13d25b9 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts @@ -885,7 +885,7 @@ perst-n-pins { pins = "gpio143"; function = "gpio"; drive-strength = <2>; - bias-pull-down; + bias-disable; }; wake-n-pins { @@ -908,7 +908,7 @@ perst-n-pins { pins = "gpio151"; function = "gpio"; drive-strength = <2>; - bias-pull-down; + bias-disable; }; wake-n-pins { @@ -931,7 +931,7 @@ perst-n-pins { pins = "gpio141"; function = "gpio"; drive-strength = <2>; - bias-pull-down; + bias-disable; }; wake-n-pins { From patchwork Fri Jul 19 13:25:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 813447 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 307A113CA9C; Fri, 19 Jul 2024 13:25:38 +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=1721395539; cv=none; b=l16/XcbLaRCuX73RAh/Rqrh9RCI+Qk7XaMH21MgdBGwV8sOxIm5X021LZgDvPkFbjHGFx+rNDigZImOle9AvTxOVDEaT7mcnpE/ObIRLH0uLpH5QUyF6VFNxtzDfGe1tAum8JnaS/MjRcqEF9QvT+QV0F0HwW5Tv6GUyfeLPTSQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721395539; c=relaxed/simple; bh=1HdVAteyd4axGn1VdTXZmiikOo+Azic0I71ylzksmgs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VCFMPRiiQOt/Usd450y8C2WDZB8D3Tb2KH9W1Iv0Pg79DqB4dx+IYRoxcpZltSTWdM/hrgOatpT3vXr/3EJSpMIjxPqmkugwJbCvIH+ImMC3mEGrGYquo+PLwWTbnGPcT9w8D5Es+88HEDiabglz/DNMR4jFg4+iyz7V5Ru9OSQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AH6QvPC/; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AH6QvPC/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDEE6C4AF1A; Fri, 19 Jul 2024 13:25:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721395538; bh=1HdVAteyd4axGn1VdTXZmiikOo+Azic0I71ylzksmgs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AH6QvPC/HJHNgP2KtWGRUX9pFmLVJgcwPn26Qp2dNifk5ALklsab/I9l/yT5mRRLF jh+/HidRlXlzhwYvE/IFGe5gtXj6jlrwAp1v4dm+SN3mhoA24mgfXqMXitxClWVKMm H8cTVHmo2MBBu7FJ6XV54nD9uwEBMtyR0PNYmYdvyT4Y3AJJJ8ycJdz0nhnuH6etpE sGV4IOoCPC72YhepP6GYv53K1fOR9n6lLv3ZIUI3XxlgvWegixleM+RMP58Akig6bT B5Ob3Kn/Q6BQrJ8Wey0ofJinfFkbSjrHDJCFLxE3DXTREcLpNnIzIvSHZ3NoNTF5zG RWyyQCaBvaY6w== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sUncI-000000002P1-3rSZ; Fri, 19 Jul 2024 15:25:46 +0200 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 2/4] arm64: dts: qcom: sc8280xp-crd: clean up PCIe2a pinctrl node Date: Fri, 19 Jul 2024 15:25:20 +0200 Message-ID: <20240719132522.9176-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240719132522.9176-1-johan+linaro@kernel.org> References: <20240719132522.9176-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Clean up the PCIe2a pinctrl node indentation which should use tabs only. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts index 4c8ae13d25b9..97bc717279a2 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts @@ -889,11 +889,11 @@ perst-n-pins { }; wake-n-pins { - pins = "gpio145"; - function = "gpio"; - drive-strength = <2>; - bias-pull-up; - }; + pins = "gpio145"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; }; pcie3a_default: pcie3a-default-state { From patchwork Fri Jul 19 13:25:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 813626 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 307E013DDC0; Fri, 19 Jul 2024 13:25:38 +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=1721395539; cv=none; b=FzJKJWnyguAO45mCgKlqiaZaJzfF+9cmVzUejby4a/cIDjQTKwfiEPCqTwihC7z15jzp+p2Fnj9MBpkK3z1cKc9c8WHzWXJVPjZO0qcL0l8UxPi96XYlmR+nR/KXFeNvortur9djomUz8Ir+xY/5JZK6ZCY5X3aBdiPX3/XMAxI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721395539; c=relaxed/simple; bh=DIE5NkW7qO81i3m/Ghl/+SL61kt8Bqn/USbyce9dJws=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dGs6YrgCrQoCUnznubtQCci06sHC/aiB8o7OKw3pS2Xf7Dg2tpsSerbjGyGRqRitfVCfReYKjtE5R9NMR3RucVshqf6hM+nLTTIUz1dMvyWpinPwgcsfE0omyL2KSpMJUmoyOHypTQ/B6AFiHQAJzcjrpO+c+abdVmyMnQDIqgM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bXvA9NIl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bXvA9NIl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9689C4AF18; Fri, 19 Jul 2024 13:25:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721395538; bh=DIE5NkW7qO81i3m/Ghl/+SL61kt8Bqn/USbyce9dJws=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bXvA9NIlX59KUP7pRyz1mZM4h1kPNKDrtNep8/q7mFazW2C9E3j1iwFeTy2RYi0CC clYjy64j0mLnljLfGlwvxyjmma00+3G1IhhryZSLBA7XgOcq4rxS1fgEEF0zG+XBh+ nDOlcf72Wt9mxqwTEZe6JwpSH/g/97GKQG9NWPDZgdTGdXaD7K3yq4/ddYLM9GODpx 1pqToYjzC5qDA52Nabh90ggbpl2h+dR0TG5jgyzi63qYulxNl5C/yDupMtcsfNZgEx BXYtPLDS4Ie5fO6jVGzAgbrMLLEor0JGSnCwlbyMpN8Yb9+Nvp0o1r/MR5aM4mmx0g S11nY/AX4QGTA== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sUncJ-000000002P4-02gi; Fri, 19 Jul 2024 15:25:47 +0200 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 3/4] arm64: dts: qcom: sc8280xp-x13s: disable PCIe perst pull downs Date: Fri, 19 Jul 2024 15:25:21 +0200 Message-ID: <20240719132522.9176-4-johan+linaro@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240719132522.9176-1-johan+linaro@kernel.org> References: <20240719132522.9176-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Disable the PCIe perst pull-down resistors to save some power. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index a1baf30b023c..5e5fdb085b88 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -1617,7 +1617,7 @@ perst-n-pins { pins = "gpio143"; function = "gpio"; drive-strength = <2>; - bias-pull-down; + bias-disable; }; wake-n-pins { @@ -1640,7 +1640,7 @@ perst-n-pins { pins = "gpio151"; function = "gpio"; drive-strength = <2>; - bias-pull-down; + bias-disable; }; wake-n-pins { @@ -1663,7 +1663,7 @@ perst-n-pins { pins = "gpio141"; function = "gpio"; drive-strength = <2>; - bias-pull-down; + bias-disable; }; wake-n-pins { From patchwork Fri Jul 19 13:25:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 813446 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 83E14143751; Fri, 19 Jul 2024 13:25:39 +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=1721395539; cv=none; b=KJ1mkPRC9fsjZT55svNbldsdbOI/7fnFV8aZTTlOgz7i6YkDSL1BCvoMr+GiltILFzQc2lzXSq2S2nC/Fj62sfu3H11OqNah25NouMLNKPf9Jza5TY+1+tSNTaKt7Iy6KDHH/bBWUQODjmM79HurwdJcGPYy1dMPSbECeT9QlaU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721395539; c=relaxed/simple; bh=4cAkDIcI+gdctKi3KRbi2FbnJnqrEPOi9gLMxHSHIM8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KRSd+T+BVT6CYabHJDPXBIegGhebQ9AM2GUO/AST4niUvsUZDMqjXYvqfYBaNBHfSz/0T/7lnxciO/ypDRdl7Oya7/m90NhVtAW2CPJIAav+UGuF8IWRUHSSTEEtPwr0dOyqIUZQeQtCTxC9DsK8e1QrxYCTGB/O8BEQr+rk66Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pS0ffJaP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pS0ffJaP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1ED6FC4AF0F; Fri, 19 Jul 2024 13:25:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721395539; bh=4cAkDIcI+gdctKi3KRbi2FbnJnqrEPOi9gLMxHSHIM8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pS0ffJaPrZLIUCXyh5fulmgMy9ZX7wGlHzAy74C/h73ZCmD6c0MCUeeqKZUyd68iY N+Ectyw+FOffGUXMaMzUBHDd1tlLZdiy+mnaglI+oCLkOzpWgSojwainQpXsbWyf/+ xb+0WuBvS8e4w8fzFJVORPfDX0JkXq0e3NVazUYb6e9dENDh8JYRN0gJqJ0sLx+8EJ zgnHROcQp13P/MCrNwqcwVz/I6fmR3X/WJK5pjp+EgzmC9x65zy41etwvAGW366cvw J54U0wWdcz/AaP9mARaNYhwbyUaCSS0Bj70om85CtRMK8Wd3IfwAira/EG6tlHsc+l 2pGZM9PAEpt6w== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sUncJ-000000002P7-0SiN; Fri, 19 Jul 2024 15:25:47 +0200 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 4/4] arm64: dts: qcom: sc8280xp-x13s: clean up PCIe2a pinctrl node Date: Fri, 19 Jul 2024 15:25:22 +0200 Message-ID: <20240719132522.9176-5-johan+linaro@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240719132522.9176-1-johan+linaro@kernel.org> References: <20240719132522.9176-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Clean up the PCIe2a pinctrl node indentation which should use tabs only. Signed-off-by: Johan Hovold --- .../boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 5e5fdb085b88..888f42ca230f 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -1621,11 +1621,11 @@ perst-n-pins { }; wake-n-pins { - pins = "gpio145"; - function = "gpio"; - drive-strength = <2>; - bias-pull-up; - }; + pins = "gpio145"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; }; pcie3a_default: pcie3a-default-state {