Message ID | 20230627-topic-tama_uart-v1-1-0fa790248db8@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8369939vqr; Tue, 27 Jun 2023 10:49:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4lKqAQAi21pIUOurTsuToRfiJwONvdK/5hkBPd0M/3kzqn39VVuQS/9Ayy3jCXUl3mcX8B X-Received: by 2002:a17:907:944c:b0:953:834d:899b with SMTP id dl12-20020a170907944c00b00953834d899bmr35834999ejc.29.1687888143865; Tue, 27 Jun 2023 10:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687888143; cv=none; d=google.com; s=arc-20160816; b=CB7WYoridzKFTcgDImV+5qk/aOcAcQLTUvVfdgJD+ONlo3muZShUlKEocicqU3ruke SOW13ojoQRlaCeA/fkwzQPRPQ2SS8em6ZoRxqInDNi70EIdYzX5sETfma8jLIHhnBiHv dRh/qJA6X0HLHWaqsxanY0EvHt54i3WJWScLF355A+GTQhI7AqXa5XsCIvufuQAgkNUW Cmf0FCqVYAlvchyJI547dZHqCqcswshWsV8BC8wkF/F+isFbOBZBPuYwNXNNMjSN9vlB 6g2RozoQZ7LtxspuNWJbdV6Pynlq52jxUhdbrlf18rF69cxmMGjP9jALTDPxvRLmne+7 YZJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=HmZJiDmHOXzvcLFH+CkhF2O0s1JxneKrl7S3B3Km+E0=; fh=XatEU70DjuQ2LK3VW8Lf/E1+tckORxpuUr89kUDBfW4=; b=sc12tgePEU3dEjabdEU1X8s/BULdzZYiZuENpaqGwC7XdEL19MvXH4+C8DwrFkveVF 9TkNASsJBTkOY/466dDA4PTwA+chK+uHvPffRz8lDQSYr3LS4issrl389/Qdclvl2Ooc bXNYRBFs5rLTL/IYWczEZ36KAOCB8q4VOtG8+v/kZuMO0TP911ix6GAUbJYfNMPJMsWy LC1JvWZyaoCI3+qnTfDduQezPVOLlOaUqXSnWsQo8OlYdCZLuR5th8nAmfxBIyEZYSfv e0TMxJb98C+XzM8LtkxPoOaJnBjBOtSr8KTAgUlfNp/vDUBrmgBBHekQEPYKGBqRxMWe w+MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Fyn0Ss8g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id os17-20020a170906af7100b0098e19ebc8f4si3910235ejb.678.2023.06.27.10.48.39; Tue, 27 Jun 2023 10:49:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Fyn0Ss8g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231137AbjF0R15 (ORCPT <rfc822;nicolai.engesland@gmail.com> + 99 others); Tue, 27 Jun 2023 13:27:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230363AbjF0R1z (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 27 Jun 2023 13:27:55 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3E6F213F for <linux-kernel@vger.kernel.org>; Tue, 27 Jun 2023 10:27:53 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4fb7373dd35so98891e87.1 for <linux-kernel@vger.kernel.org>; Tue, 27 Jun 2023 10:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687886872; x=1690478872; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=HmZJiDmHOXzvcLFH+CkhF2O0s1JxneKrl7S3B3Km+E0=; b=Fyn0Ss8gJ8W6qSjPlecef0bZzi7ZB9ieorBxH9HOeRgTh+B/aUiYlF8+KP3lLXb16i T250EE7wyU4Kd0IGzXrBgcwZ7415ICLHKkJgMcbT2Dv5TkppDrtilDiFJsU8EFmYeE2b jOGXnhGlvrcD5bgN/IOlWeAjH3up5wC+NZbkHjaMYvUgf+/0sWHw3UvRb8RfXwxso51k UCtNg0qCuFmgCV3xnOFIyEtqApWbTynT1AxpKteOGVX0En9mrpnrzCTJ4X7OjgauTI3Z 9Y4RDvuv5fEd8Hue6RDQAvTvUvTcq7XHir9fWCgb16UqvUTOhNTuAzmLlQdSdvtr+zC4 kUbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687886872; x=1690478872; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HmZJiDmHOXzvcLFH+CkhF2O0s1JxneKrl7S3B3Km+E0=; b=Atk4VIDCAyOt0y/37psZeyLhcCVoIok8AgoakOAEV5m7O7CFkvvPlt2qavlun0tEM9 z0yURyKi8CZwtX1vHCH53LAkFmg8e+fMx8Ul8ZkGeM5jTnHvBMlqW85Khd4Bx3LgoL7M EFXNKwJAieil28DS5pyrdHcpPL2ft7SBydp2UoaHbwtjzBJkn3CMx3KgHYpNxAhsh2kX ZrPJ0rl5bhtU/4KfHC+1pOHzF++7wsdL8hdoEEEsulLKHlzHHbt35cgo0BEcteb5i5p2 L0F3yScCzNu68y+0wHFf6cWb8KF0NgH+4yzFDQiUXPd4S8+td2R6+8oVLNNJF7GhykTe 3JmA== X-Gm-Message-State: AC+VfDxpkoW1h95KMa6jnvAcCQGqZ6QvhFs6138o4F3S/ElzpVaRDUqd r/gsuVtk5OFAk0aW/gwkJCD1hw== X-Received: by 2002:a05:6512:1046:b0:4f4:7a5:e800 with SMTP id c6-20020a056512104600b004f407a5e800mr13600022lfb.10.1687886872054; Tue, 27 Jun 2023 10:27:52 -0700 (PDT) Received: from [192.168.1.101] (abxj103.neoplus.adsl.tpnet.pl. [83.9.3.103]) by smtp.gmail.com with ESMTPSA id o2-20020a056512050200b004faf6a87d63sm1269391lfb.38.2023.06.27.10.27.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 10:27:51 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Tue, 27 Jun 2023 19:27:50 +0200 Subject: [PATCH] arm64: dts: qcom: sdm845-tama: Set serial indices and stdout-path MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230627-topic-tama_uart-v1-1-0fa790248db8@linaro.org> X-B4-Tracking: v=1; b=H4sIABUcm2QC/x2N0QqDMAwAf0XyvEDtwLH9yhgjjXEGXJW0ykD8d 8Me7+C4HYqYSoFHs4PJpkXn7NBeGuCR8kdQe2eIIV5DF29Y50UZK33pvZJVTMSDELd9kDt4lag IJqPMo3d5nSaXi8mgv//m+TqOE0wjlYB2AAAA To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Martin Botka <martin.botka@somainline.org>, AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687886870; l=1226; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=OBDDr1WmWttJM5U194JqyHQ0vF5NSbcT7U2XPb0GAGs=; b=buLOIZs9qbugz1J6O7Lhd9xBGRuR2FKNodxTjcZw6z3FR9enD2zgxgp6lHOV58pOy+hoaFHIg cKHHdQYax02B3napZ07N8Kin/lIMOUO65KRa4NfYydBjlCh/Y/1Y/C1 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769878998034336140?= X-GMAIL-MSGID: =?utf-8?q?1769878998034336140?= |
Series |
arm64: dts: qcom: sdm845-tama: Set serial indices and stdout-path
|
|
Commit Message
Konrad Dybcio
June 27, 2023, 5:27 p.m. UTC
UART6 is used for debug (routed via uSD pins) and UART9 is connected
to the bluetooth chip.
Set indexed aliases to make the GENI UART driver happy and route serial
traffic through the debug uart by default.
Fixes: 30a7f99befc6 ("arm64: dts: qcom: Add support for SONY Xperia XZ2 / XZ2C / XZ3 (Tama platform)")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
---
base-commit: 53cdf865f90ba922a854c65ed05b519f9d728424
change-id: 20230627-topic-tama_uart-bacfeac1d0e9
Best regards,
Comments
On 2023-06-27 19:27:50, Konrad Dybcio wrote: > UART6 is used for debug (routed via uSD pins) and UART9 is connected > to the bluetooth chip. > > Set indexed aliases to make the GENI UART driver happy and route serial > traffic through the debug uart by default. > > Fixes: 30a7f99befc6 ("arm64: dts: qcom: Add support for SONY Xperia XZ2 / XZ2C / XZ3 (Tama platform)") > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org> > --- > arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi > index 3bc187a066ae..7ee61b20452e 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi > @@ -15,6 +15,15 @@ / { > qcom,msm-id = <321 0x20001>; /* SDM845 v2.1 */ > qcom,board-id = <8 0>; > > + aliases { > + serial0 = &uart6; > + serial1 = &uart9; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > gpio-keys { > compatible = "gpio-keys"; > > > --- > base-commit: 53cdf865f90ba922a854c65ed05b519f9d728424 > change-id: 20230627-topic-tama_uart-bacfeac1d0e9 > > Best regards, > -- > Konrad Dybcio <konrad.dybcio@linaro.org> >
On Tue, 27 Jun 2023 19:27:50 +0200, Konrad Dybcio wrote: > UART6 is used for debug (routed via uSD pins) and UART9 is connected > to the bluetooth chip. > > Set indexed aliases to make the GENI UART driver happy and route serial > traffic through the debug uart by default. > > > [...] Applied, thanks! [1/1] arm64: dts: qcom: sdm845-tama: Set serial indices and stdout-path commit: 9acc60c3e2d449243e4c2126e3b56f1c4f7fd3bc Best regards,
diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi index 3bc187a066ae..7ee61b20452e 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -15,6 +15,15 @@ / { qcom,msm-id = <321 0x20001>; /* SDM845 v2.1 */ qcom,board-id = <8 0>; + aliases { + serial0 = &uart6; + serial1 = &uart9; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + gpio-keys { compatible = "gpio-keys";