From nobody Thu Apr 2 12:41:26 2026 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 7AF6E39FCE; Sat, 28 Mar 2026 22:49:17 +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=1774738157; cv=none; b=WV8B0QlSnS0HWXkC1FLr/rTOG5brc6AVKEn+iQmWZ35UfobvT4gFQFDI+DRq2HAJXETZjALmiAiJNq8lFBj7XZ2hTH1w5zY4caMQQdcY+oIo6eRe1M4/SEE2dYRFX/geOecu+acq6Cuc/17hfiJiNSVSKuwZyWv+Q26YBiHqF+c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774738157; c=relaxed/simple; bh=c7q27+5pV6seCz6fw/OaZXueVh85YipuI8NB3yehnEg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jaO6kzIo1axPTVOXlJ+yUtoy6FZULFVnJJo354gIPgGPGJdJm2EHAmMKhVST/VogEFOqS25G6fUZl1yhCboVNzNLf5nbh3Z0zDyIIg1RxBkj9r3W5+tXFBbCXiWLJpUEIptyZyQw7/x69D+2YGbCZOQKS89gRnmOoTN49KelmTs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VF8k6Byn; 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="VF8k6Byn" Received: by smtp.kernel.org (Postfix) with ESMTPS id 248C0C2BC9E; Sat, 28 Mar 2026 22:49:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774738157; bh=c7q27+5pV6seCz6fw/OaZXueVh85YipuI8NB3yehnEg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=VF8k6Byn548WP5WFdiZuZ6IQrkTAEGiJgeBLUraMFPV/OE5g0AJmAh7sPwCIYq2zp +sj8c2PZwMc25VxdmQVli4keTdC1UAGiDc/9PHx2gEvOf/grQrWI3Tcp5pbNu/oVYT 4Y75vg5ZZrJ7c/ex5/D5uc8b5iE8n0cPxWIngo6tnPFCqXcd26ItDO+YJoxSo3dIHd tWMj0+KRO5nClXSU0UJo+Fdo2iGpDuSFET88gxaSk6U1CrbMu+s6OJATK7Ta/QOQQf PuafhpMC2KGbQtcKiDbHkFcxts4TfuQrsPp0XX4IsCuOmpOi6blbydTkzaK3IZnzF3 enbIHN6OIrn9w== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1385110D148A; Sat, 28 Mar 2026 22:49:17 +0000 (UTC) From: =?utf-8?q?Pablo_Correa_G=C3=B3mez_via_B4_Relay?= Date: Sat, 28 Mar 2026 23:49:14 +0100 Subject: [PATCH 1/3] arm64: dts: qcom: sdm670: add default uart pinctrl nodes 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260328-pabloyoyoista-debug-uart-on-rdacayan-next-v1-1-0babf584acdb@postmarketos.org> References: <20260328-pabloyoyoista-debug-uart-on-rdacayan-next-v1-0-0babf584acdb@postmarketos.org> In-Reply-To: <20260328-pabloyoyoista-debug-uart-on-rdacayan-next-v1-0-0babf584acdb@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Richard Acayan , ~postmarketos/upstreaming@lists.sr.ht, =?utf-8?q?Pablo_Correa_G=C3=B3mez?= X-Mailer: b4 0.15.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=4680; i=pabloyoyoista@postmarketos.org; h=from:subject:message-id; bh=BuzAL9B0hzH8sHOEbYMQsrlBM+zPhBYp09xz2YwAGlk=; b=owEBbQKS/ZANAwAKAXo0JWX/Y195AcsmYgBpyFrrXpAQWTb7W+QjpHqobvCh2SmXr+x2hASSM eHTxJCvyRWJAjMEAAEKAB0WIQS9CheUSi6o/ykTCaJ6NCVl/2NfeQUCacha6wAKCRB6NCVl/2Nf eYNYEACDSCce1l06Uf2MXaQx1x6krS5VxHLMDGSD+AN3gKorKSJIheioX2Ji5yYVWUeSGK/yDl9 fh7UsxT6/14IfSh3XuIPwpLg0qCZBh3PSspqjGMct0ydHl6IXE1ZIbh5y3XmnwAYHvXrJTPvWwk WObmnoJ3CRhNjUgpDlIQwERE3N1+1qLoQlq2PeI0CThb9HI+3hYRYGH5CHcHFCLQBHKqRgDdLi6 +14V3kYNYsWZHnKVz3RVEMlpJWQr73cKtePNMNMdYlSdjD/jTBgZ6Asf8rDO+x/AjczilX49mem a35wLdz8osduzlFF9ssx7Uq7lzRsdTHf0RaMwcQ6xhB+7HiZWxXD4gKNzoDNB/PLFc/lxioHvtC DnXvKDS+P/M0A0aAJyL5+wEWOJkZBJyD+QKV8PNnIte4+fxJwB1iOImqm16jzmAW9EQB0zZCNk7 zBXX9VAafy3Blgix6lnGP90WdpyU11k+OgjwclRgrPpLb2VlKj7epO74oiULg+kfZE2HcsdENci qEqjv26LQatsC6bKaSQo4FxMCPJVM4u09iOAV49JFwUJPh2k9ZTH1Jy3Lg6gO3WzqGE4wr32DBy KYmaW9tFls07sMGiEIO492GCJUGRSCxxsHj7vtlf3VuwzeU4ft5mfFIrvMrn6Agv/Kd/1rjT3BX gSDqoX/qkDLZrfQ== X-Developer-Key: i=pabloyoyoista@postmarketos.org; a=openpgp; fpr=BD0A17944A2EA8FF291309A27A342565FF635F79 X-Endpoint-Received: by B4 Relay for pabloyoyoista@postmarketos.org/default with auth_id=698 X-Original-From: =?utf-8?q?Pablo_Correa_G=C3=B3mez?= Reply-To: pabloyoyoista@postmarketos.org From: Pablo Correa G=C3=B3mez This is a pre-requisite to enable UART in sargo and bonito. Values for the pins have been taken from sdm845, and cross-checking dowstream, where available. Signed-off-by: Pablo Correa G=C3=B3mez --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 192 +++++++++++++++++++++++++++++++= ++++ 1 file changed, 192 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qco= m/sdm670.dtsi index 6b296ceaebc2..3e60ab527a42 100644 --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi @@ -1352,6 +1352,198 @@ qup_i2c15_default: qup-i2c15-default-state { function =3D "qup15"; }; =20 + qup_uart0_default: qup-uart0-default-state { + qup_uart0_tx: tx-pins { + pins =3D "gpio2"; + function =3D "qup0"; + }; + + qup_uart0_rx: rx-pins { + pins =3D "gpio3"; + function =3D "qup0"; + }; + }; + + qup_uart1_default: qup-uart1-default-state { + qup_uart1_tx: tx-pins { + pins =3D "gpio19"; + function =3D "qup1"; + }; + + qup_uart1_rx: rx-pins { + pins =3D "gpio20"; + function =3D "qup1"; + }; + }; + + qup_uart2_default: qup-uart2-default-state { + qup_uart2_tx: tx-pins { + pins =3D "gpio29"; + function =3D "qup2"; + }; + + qup_uart2_rx: rx-pins { + pins =3D "gpio30"; + function =3D "qup2"; + }; + }; + + qup_uart3_default: qup-uart3-default-state { + qup_uart3_tx: tx-pins { + pins =3D "gpio43"; + function =3D "qup3"; + }; + + qup_uart3_rx: rx-pins { + pins =3D "gpio44"; + function =3D "qup3"; + }; + }; + + qup_uart4_default: qup-uart4-default-state { + qup_uart4_tx: tx-pins { + pins =3D "gpio91"; + function =3D "qup4"; + }; + + qup_uart4_rx: rx-pins { + pins =3D "gpio92"; + function =3D "qup4"; + }; + }; + + qup_uart5_default: qup-uart5-default-state { + qup_uart5_tx: tx-pins { + pins =3D "gpio87"; + function =3D "qup5"; + }; + + qup_uart5_rx: rx-pins { + pins =3D "gpio88"; + function =3D "qup5"; + }; + }; + + qup_uart6_default: qup-uart6-default-state { + qup_uart6_tx: tx-pins { + pins =3D "gpio47"; + function =3D "qup6"; + }; + + qup_uart6_rx: rx-pins { + pins =3D "gpio48"; + function =3D "qup6"; + }; + }; + + qup_uart7_default: qup-uart7-default-state { + qup_uart7_tx: tx-pins { + pins =3D "gpio95"; + function =3D "qup7"; + }; + + qup_uart7_rx: rx-pins { + pins =3D "gpio96"; + function =3D "qup7"; + }; + }; + + qup_uart8_default: qup-uart8-default-state { + qup_uart8_tx: tx-pins { + pins =3D "gpio67"; + function =3D "qup8"; + }; + + qup_uart8_rx: rx-pins { + pins =3D "gpio68"; + function =3D "qup8"; + }; + }; + + qup_uart9_default: qup-uart9-default-state { + qup_uart9_tx: tx-pins { + pins =3D "gpio4"; + function =3D "qup9"; + }; + + qup_uart9_rx: rx-pins { + pins =3D "gpio5"; + function =3D "qup9"; + }; + }; + + qup_uart10_default: qup-uart10-default-state { + qup_uart10_tx: tx-pins { + pins =3D "gpio53"; + function =3D "qup10"; + }; + + qup_uart10_rx: rx-pins { + pins =3D "gpio54"; + function =3D "qup10"; + }; + }; + + qup_uart11_default: qup-uart11-default-state { + qup_uart11_tx: tx-pins { + pins =3D "gpio33"; + function =3D "qup11"; + }; + + qup_uart11_rx: rx-pins { + pins =3D "gpio34"; + function =3D "qup11"; + }; + }; + + qup_uart12_default: qup-uart12-default-state { + qup_uart12_tx: tx-pins { + pins =3D "gpio51"; + function =3D "qup12"; + }; + + qup_uart12_rx: rx-pins { + pins =3D "gpio52"; + function =3D "qup12"; + }; + }; + + qup_uart13_default: qup-uart13-default-state { + qup_uart13_tx: tx-pins { + pins =3D "gpio107"; + function =3D "qup13"; + }; + + qup_uart13_rx: rx-pins { + pins =3D "gpio108"; + function =3D "qup13"; + }; + }; + + qup_uart14_default: qup-uart14-default-state { + qup_uart14_tx: tx-pins { + pins =3D "gpio31"; + function =3D "qup14"; + }; + + qup_uart14_rx: rx-pins { + pins =3D "gpio32"; + function =3D "qup14"; + }; + }; + + qup_uart15_default: qup-uart15-default-state { + qup_uart15_tx: tx-pins { + pins =3D "gpio83"; + function =3D "qup15"; + }; + + qup_uart15_rx: rx-pins { + pins =3D "gpio84"; + function =3D "qup15"; + }; + }; + sdc1_state_on: sdc1-on-state { clk-pins { pins =3D "sdc1_clk"; --=20 2.53.0 From nobody Thu Apr 2 12:41:26 2026 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 7E0C03128B8; Sat, 28 Mar 2026 22:49:17 +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=1774738157; cv=none; b=f+bVTtn83DzC+mDqeNZxqJDyvDcLWD5C/rq/r/4OPDb03y6wIHJ4OIOjOXGgJ1iSEUt+nS4CxGMVgZSyFduLUq9KR6opvkzFJZdGWeCx8d+VCPzNRdZ8zk2Vl5voESw2G6Ny8kQXIJYADXNidpDSVGxUCrhauwB4VDrWH3RP3A4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774738157; c=relaxed/simple; bh=FBj259TMWNjh4lmEQqHW+lg7SFATzeEKq1MFGG46xnA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eBHOjpys9B3FXhieebSQGNoPa6bnTxJPvSFI9iHDhINWG8DxlKyzZDsn/tZXdw/fFs9JWT1VBUR2x87JE3lm8q3Pu2iVvRtaosfn8HDjUJF6pZyARo8xicNJHTDyc12cHBf1TYKPy4ua5UFLb6ilm3c5416GGF1f1uy/BE4vDic= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WZI8X9y7; 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="WZI8X9y7" Received: by smtp.kernel.org (Postfix) with ESMTPS id 31916C2BC86; Sat, 28 Mar 2026 22:49:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774738157; bh=FBj259TMWNjh4lmEQqHW+lg7SFATzeEKq1MFGG46xnA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=WZI8X9y7UF5TEbOgyuREucU2lSERU2b9HKZ3KrrOpwFZ/eqBako4iQVEHL+CuWkpY 7iUXAHIAvxa+NpCg0fNZYvlS4Eh8mCcnX7y3G8rtLu4J2JVWaYsC7U+HqPXAUM7CWp 9diUH3QdDALd8dmy3nDJcZIqiTjmUxbQNzr5F2yMnHEW8rEzoX62R6hltBrY+ovdN8 kbr4XCzX27JVFaSATA6r3ceHgl/WHCmgYrbAZ+wwUpQr9JLWIx7/kISuLhs6uEPpRh aWo7GxtyjRAPJyxwIv6ponXVAtgMCQY8kPWv+39nDb7tF0hQ4R57UnB68+fv9b7+2B 7lSvfleW99BPA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 237E610D1489; Sat, 28 Mar 2026 22:49:17 +0000 (UTC) From: =?utf-8?q?Pablo_Correa_G=C3=B3mez_via_B4_Relay?= Date: Sat, 28 Mar 2026 23:49:15 +0100 Subject: [PATCH 2/3] arm64: dts: qcom: sdm670: add debug uart soc node 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260328-pabloyoyoista-debug-uart-on-rdacayan-next-v1-2-0babf584acdb@postmarketos.org> References: <20260328-pabloyoyoista-debug-uart-on-rdacayan-next-v1-0-0babf584acdb@postmarketos.org> In-Reply-To: <20260328-pabloyoyoista-debug-uart-on-rdacayan-next-v1-0-0babf584acdb@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Richard Acayan , ~postmarketos/upstreaming@lists.sr.ht, =?utf-8?q?Pablo_Correa_G=C3=B3mez?= X-Mailer: b4 0.15.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1225; i=pabloyoyoista@postmarketos.org; h=from:subject:message-id; bh=L1100JIpppZkEIE9KsBz4sU5OJaPhYVcFrm/i+/xKLw=; b=owEBbQKS/ZANAwAKAXo0JWX/Y195AcsmYgBpyFrrXUDnvwlheDZ+2hKu3twU3X75u12vBwfwQ Ue01ImBC9SJAjMEAAEKAB0WIQS9CheUSi6o/ykTCaJ6NCVl/2NfeQUCacha6wAKCRB6NCVl/2Nf edABD/9aqMSORu2P0cDJ2ZuBG55trNlwe2J+pMjrZIgTmr2gWZxj36RvEZ11a4rh+kcXfi1jr9N DDxKEC9baYhU1tc9o3DqcMqlV5I1hsZuHfJ5+RHFtbO06VenbcAqH/mciUVe5lQMdKtqqXImJ8m uB22mRXGmgBsTmumqYmVqMbM5JGwPfuqgMry6rd/0cGvVC7cA4YbP9LIRdOl1Z0juDrMkDvBmk8 heVkHAHdoAoMQgAQuBmc9gQjEEBIgxOV9p1iMwcoOaK5pLiGphnVPKJBPJhfAoUg79Y5TI9glwq gFTB/9yah9qumsLbr0jiqDyD1Fxp7M1BZpcBCQLY8fauMOzsRFOYMXXkpABsPtmZTY0GYOAXWlM dHHQoM5gHSkJNTTMsMfQ6n5i4pmTCaTSutqGVDP3Ibzffj8UQYP3BUVrBfJpbz7ez3g9aL/Vi4N zh3LwbJB6nnyUr/4E+jHDffGqOWEhRQbaYbMmCIY7hMEp6cZ5yjIIZJjIjjWFf+4wkoBqj8gyx8 f84JjIujJejG/cIAPS/GILd1MC56Io2rtPzSHuJbAyxmec+o8HGkPT2wX7cWmZyABOSN6WUnnYd VujlKnlU45BBjgOKhzpggl/nda47chqsBD2GOG9VFrLtQ+HgHtqjVGhJN3slyOodbcITevdX+AM ZCztYpWiwNMGKcw== X-Developer-Key: i=pabloyoyoista@postmarketos.org; a=openpgp; fpr=BD0A17944A2EA8FF291309A27A342565FF635F79 X-Endpoint-Received: by B4 Relay for pabloyoyoista@postmarketos.org/default with auth_id=698 X-Original-From: =?utf-8?q?Pablo_Correa_G=C3=B3mez?= Reply-To: pabloyoyoista@postmarketos.org From: Pablo Correa G=C3=B3mez Values are taken from the other geni nodes Signed-off-by: Pablo Correa G=C3=B3mez --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qco= m/sdm670.dtsi index 3e60ab527a42..25cf21c57b7d 100644 --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi @@ -1069,6 +1069,21 @@ i2c12: i2c@a90000 { status =3D "disabled"; }; =20 + uart12: serial@a90000 { + compatible =3D "qcom,geni-debug-uart"; + reg =3D <0 0x00a90000 0 0x4000>; + clock-names =3D "se"; + clocks =3D <&gcc GCC_QUPV3_WRAP1_S4_CLK>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&qup_uart12_default>; + interrupts =3D ; + power-domains =3D <&rpmhpd SDM670_CX>; + interconnects =3D <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_= 2 0>, + <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>; + interconnect-names =3D "qup-core", "qup-config"; + status =3D "disabled"; + }; + i2c13: i2c@a94000 { compatible =3D "qcom,geni-i2c"; reg =3D <0 0x00a94000 0 0x4000>; --=20 2.53.0 From nobody Thu Apr 2 12:41:26 2026 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 845223254A9; Sat, 28 Mar 2026 22:49:17 +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=1774738157; cv=none; b=c3UR8ZP0u4Uo1eha2Hpb+B5EVQ7YfPls+Ag9ZMxO1N1pHQfVqxg3kTcRakd7RtBupL+cWJvJZEsE5w0peSRksuuVNENjvLxl/GRQqiQfKkT+GMzDjMiaBH3+drcAExgqsKojAvck+iqaLl7+fptZEBHTLNfEuV+9qKY/UCqLs+Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774738157; c=relaxed/simple; bh=8xdx2HbnXq6Mh5ZvIUF+ZUXZWo/BQLtnb8f+Cdo6Grc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jtqsHPRM7tTj+/u/TCurCUGc+mHjKWm9XsEdXbrtTr0ntKr2J9SODRKEdK3aBibvkkZClCAWTvzKWIshLDfz4S5Xjb8bnzMZuDDoMqz7+DbUnVebYuIdHKDE/TDAo+qQ7O9N9w4IEoCgDp1EfidRu6FLzvWwn8uPT7mu0sq0gt4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=j9hbxwKg; 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="j9hbxwKg" Received: by smtp.kernel.org (Postfix) with ESMTPS id 3E1FDC2BCB0; Sat, 28 Mar 2026 22:49:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774738157; bh=8xdx2HbnXq6Mh5ZvIUF+ZUXZWo/BQLtnb8f+Cdo6Grc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=j9hbxwKg5TaP3Oz6ZGQK/AX0yfOfQR2d9uov6V6pLTIC84ff4q5lGXd3thCLWYHma 9iqIQhmpqCMsbqZhDIEo2WwU8lOqTNzcgrEcWEqHuF4F6Y5Ieto4IOZAngO/Jq9mlo KKWVR6BCxfgtSDo6A8izJ55DiV+YhXQFJ+d+dM8rQ4MFJbu+vmqrCWS3VIfPxL7b+P pYoq43V13uPJO/jahD81KQ8xGI+e9O7K3Qh0DpwHcX33QGRmuY5hfk2FpnElZWiVES 2+G+QEY5qw1ZQAtwn0MXkAG2YirhQ9PiMbBRKrdqm5Oaf5JBgytRjEfd6QC8HZ6RmF vqY7E/yxzAgIw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3427210D148E; Sat, 28 Mar 2026 22:49:17 +0000 (UTC) From: =?utf-8?q?Pablo_Correa_G=C3=B3mez_via_B4_Relay?= Date: Sat, 28 Mar 2026 23:49:16 +0100 Subject: [PATCH 3/3] arm64: dts: qcom: sdm670-google-common: enabled debug uart 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260328-pabloyoyoista-debug-uart-on-rdacayan-next-v1-3-0babf584acdb@postmarketos.org> References: <20260328-pabloyoyoista-debug-uart-on-rdacayan-next-v1-0-0babf584acdb@postmarketos.org> In-Reply-To: <20260328-pabloyoyoista-debug-uart-on-rdacayan-next-v1-0-0babf584acdb@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Richard Acayan , ~postmarketos/upstreaming@lists.sr.ht, =?utf-8?q?Pablo_Correa_G=C3=B3mez?= X-Mailer: b4 0.15.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1252; i=pabloyoyoista@postmarketos.org; h=from:subject:message-id; bh=VHLwmsN4P772ow9/6v2H4OaVcZPfDAQIcntWKTFdTMc=; b=owEBbQKS/ZANAwAKAXo0JWX/Y195AcsmYgBpyFrr6yxaCAZfF6nwPfGCllYi9Uwpe8Sh+kyUo 03w8ZPL/i6JAjMEAAEKAB0WIQS9CheUSi6o/ykTCaJ6NCVl/2NfeQUCacha6wAKCRB6NCVl/2Nf eYD4D/456HqecDssmjPOnvmNqZg4/wivHZJPn0rYiFSBup5h9cqKUEjaG96XACKW8V4Dx0O+EQ0 77HTYNxLV/FUavEB1a43O5visnvFlCJPyE7QlQXXXx0iVB8VeTxb/DAf5wpqHpYaBch/6wHA8Oe TVuhoMbFTB/BPl2k3d4NFVtvjpOAajIALBDWoKm3BKNb1shE7ycZjGMQC5bGz8nV9tiFkL4OKBD IIJ7CnaSAhtmuhhmx/USxeIO7nl/HJOXjNunEPTU/lLkKWelyqz2vo7wgPSS20GMdwv9ba2FhGt NiUhD6f9W5/Imj8tgOFdpIsn6lsk/9JYyFnBWO67nRUk0a3TQ9bCtR+s7DwDdzzqNmPV7peGpEE tVE8Ag9HySn3gfSEDqDukzYE+Q+Pq0HzCCrirzocRjjsC8w/1h88nlXRngajpSmaBOCFPXhhhJK CYhYTStCtMXS/2v+c2IRVHmmAJkZeKEoO0Pp7Yp0lCHdSmy6nZOE1ng/NgBGUvu9e1ivZTCrwU3 z7SIeAfOEx4RSaaEliNRNw+Pq1QgjPJR2zd0rL5LinBQXOMqJ5A9CrcIyqttbQEhBIaYApVEnNk BTsWshEXSM35BI1xBleJuvWU3cXKO8h9GxEsjw0r7gf6SJT9PEt3Pldk82ohP9y5Fa7+ov17hBS LNsKUYn/XKfxXxw== X-Developer-Key: i=pabloyoyoista@postmarketos.org; a=openpgp; fpr=BD0A17944A2EA8FF291309A27A342565FF635F79 X-Endpoint-Received: by B4 Relay for pabloyoyoista@postmarketos.org/default with auth_id=698 X-Original-From: =?utf-8?q?Pablo_Correa_G=C3=B3mez?= Reply-To: pabloyoyoista@postmarketos.org From: Pablo Correa G=C3=B3mez This has been tested on the Pixel 3a with USB Cereal board Depends on https://lore.kernel.org/all/20260310002606.16413-5-mailingradian@gmail.com/ Signed-off-by: Pablo Correa G=C3=B3mez --- arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi b/arch/arm6= 4/boot/dts/qcom/sdm670-google-common.dtsi index 32dce1cfdf6f..e8bd5f3861e4 100644 --- a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi @@ -27,7 +27,9 @@ /delete-node/ &gpu_mem; =20 / { - aliases { }; + aliases { + serial0 =3D &uart12; + }; =20 battery: battery { compatible =3D "simple-battery"; @@ -683,6 +685,16 @@ &qupv3_id_1 { status =3D "okay"; }; =20 +&qup_uart12_rx { + drive-strength =3D <2>; + bias-pull-up; +}; + +&qup_uart12_tx { + drive-strength =3D <2>; + bias-disable; +}; + &sdhc_1 { supports-cqe; mmc-hs200-1_8v; @@ -749,6 +761,10 @@ ts-switch-pins { }; }; =20 +&uart12 { + status =3D "okay"; +}; + &usb_1_hsphy { vdd-supply =3D <&vreg_l1b_0p925>; vdda-pll-supply =3D <&vreg_l10a_1p8>; --=20 2.53.0