devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephan Gerhold <stephan.gerhold@linaro.org>
To: Bjorn Andersson <andersson@kernel.org>,
	 Konrad Dybcio <konradybcio@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	linux-arm-msm@vger.kernel.org,  devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,  Sam Day <me@samcday.com>,
	Casey Connolly <caleb.connolly@linaro.org>
Subject: [PATCH 5/8] arm64: dts: qcom: apq8016-sbc: Move non-console UART pinctrl to board
Date: Tue, 15 Apr 2025 15:52:48 +0200	[thread overview]
Message-ID: <20250415-msm8916-console-pinctrl-v1-5-a1d33ea994b9@linaro.org> (raw)
In-Reply-To: <20250415-msm8916-console-pinctrl-v1-0-a1d33ea994b9@linaro.org>

Prepare for removing the generic UART pinctrl templates from msm8916.dtsi
by copying the definition for the 4 pin UART1 instance into apq8016-sbc.dts
Having it defined separately in the board DT file makes it clear that the
set of pins/pull etc are specific to the board and UART use case.

No functional change.

Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
 arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
index f12a5e2b1e8c2cce6e85b8444c97a7e0d7b7c58f..b0c594c5f236c9c1d334e6acfcaa7e41c1f9f3a5 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
@@ -597,6 +597,21 @@ &tlmm {
 		"USR_LED_2_CTRL", /* GPIO 120 */
 		"SB_HS_ID";
 
+	blsp_uart1_default: blsp-uart1-default-state {
+		/* TX, RX, CTS_N, RTS_N */
+		pins = "gpio0", "gpio1", "gpio2", "gpio3";
+		function = "blsp_uart1";
+		drive-strength = <16>;
+		bias-disable;
+	};
+
+	blsp_uart1_sleep: blsp-uart1-sleep-state {
+		pins = "gpio0", "gpio1", "gpio2", "gpio3";
+		function = "gpio";
+		drive-strength = <2>;
+		bias-pull-down;
+	};
+
 	sdc2_cd_default: sdc2-cd-default-state {
 		pins = "gpio38";
 		function = "gpio";

-- 
2.47.2


  parent reply	other threads:[~2025-04-15 13:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-15 13:52 [PATCH 0/8] arm64: dts: qcom: msm8916/39: Cleanup/fix UART console pinctrl Stephan Gerhold
2025-04-15 13:52 ` [PATCH 1/8] arm64: dts: qcom: msm8916/39: Move UART pinctrl to board files Stephan Gerhold
2025-04-15 20:37   ` Konrad Dybcio
2025-04-15 13:52 ` [PATCH 2/8] arm64: dts: qcom: msm8916/39: Introduce new UART console pinctrl Stephan Gerhold
2025-04-15 20:42   ` Konrad Dybcio
2025-04-15 13:52 ` [PATCH 3/8] arm64: dts: qcom: msm8919/39: Use UART2 console pinctrl where appropriate Stephan Gerhold
2025-04-15 20:43   ` Konrad Dybcio
2025-04-15 13:52 ` [PATCH 4/8] arm64: dts: qcom: msm8916-motorola: Use UART1 console pinctrl Stephan Gerhold
2025-04-15 20:44   ` Konrad Dybcio
2025-04-15 13:52 ` Stephan Gerhold [this message]
2025-04-15 20:46   ` [PATCH 5/8] arm64: dts: qcom: apq8016-sbc: Move non-console UART pinctrl to board Konrad Dybcio
2025-04-15 13:52 ` [PATCH 6/8] arm64: dts: qcom: apq8016-schneider-hmibsc: Move " Stephan Gerhold
2025-04-15 13:52 ` [PATCH 7/8] arm64: dts: qcom: apq8039-t2: Move customized " Stephan Gerhold
2025-04-15 13:52 ` [PATCH 8/8] arm64: dts: qcom: msm8916/39: Drop generic UART pinctrl templates Stephan Gerhold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250415-msm8916-console-pinctrl-v1-5-a1d33ea994b9@linaro.org \
    --to=stephan.gerhold@linaro.org \
    --cc=andersson@kernel.org \
    --cc=caleb.connolly@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=me@samcday.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).