From patchwork Tue Jul 20 15:33:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 481553 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp5247961jao; Tue, 20 Jul 2021 08:39:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1OqrkywBxvzxq4+4iBkRbWaarRzwCevVn8Mf1LcGwNr3FayqmXVPZmVYlkxyYSDYQtnLD X-Received: by 2002:a63:5616:: with SMTP id k22mr31173528pgb.211.1626795544403; Tue, 20 Jul 2021 08:39:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626795544; cv=none; d=google.com; s=arc-20160816; b=HsmfuejKJ8pYS6N2Iu7HN/2W7RLreqZMamCUHP92hicxe6Ch31/BhQqD+wMokWWwZ1 xbbtJ4urwVontx+3jM2Tg/J2mdIA1PLSeAqF4x952cobiUK6IfrOPgQj6/l/Qsr62lqo +n5XvPDKULRY+kAjKHMG3Gq0zM8CkJLjEGaM0IFs0CRBlaT5ft1W6p+r4OiRMd0NXvqf Meo+q8iN/ygxArutZ24zyIQdo8ybcLIhJcejUNJpyK1O2fYMPLL9Z+bb7mhYoCTE9HPK Nk8kTFE8myIJL7vMQRBQfiK2y5eRLPyuTAITgEAaljZJdykjvYmyUVwmsbh9p9SC9EkO A8TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:from:to:dkim-signature:date:delivered-to; bh=t8DojydpgKrlFaF/reC4F/AKwWgGLBuBD8TTSdpGt7c=; b=AYK1wuVfQ8x2FVNTRVUasW64187LyShffMBLB9/mCFv2AOv3J3NmIltp6QPCUrNZfd IyTp8Awlku+/c1KqPjdaWicHLWWfUXBY04WRBZP3AilbsqmAAQj43MzHcBHS/vvw8J4/ 5zDic0nmzyYAbBQO4wSqXhgi6bc0H98vKHRhN7fgE2jcfIe1MISZ89fmm+4Cot3rIrTt HRE9OYa2jo3/udp405ZLgSctJXzp9ahyZGTYmo3wdJ/ypeBOKTGpwXuo28v026T9Iuk6 jZiGd1HtXSVb8NTBO7DOuJ1yrOD6UqDQ202n0wd/klK1as8B4h/jgNUt2BsnnDDL7dTf lfLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@connolly.tech header.s=protonmail header.b=hlkCq9KK; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=connolly.tech Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id t193si1479195pgb.307.2021.07.20.08.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 08:39:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@connolly.tech header.s=protonmail header.b=hlkCq9KK; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=connolly.tech Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E914789B3B; Tue, 20 Jul 2021 15:38:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-4321.protonmail.ch (mail-4321.protonmail.ch [185.70.43.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 47D8489B20 for ; Tue, 20 Jul 2021 15:38:57 +0000 (UTC) Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by mail-4321.protonmail.ch (Postfix) with ESMTPS id 4GTjRg3sFhz4xZhG for ; Tue, 20 Jul 2021 15:33:51 +0000 (UTC) Authentication-Results: mail-4321.protonmail.ch; dkim=pass (1024-bit key) header.d=connolly.tech header.i=@connolly.tech header.b="hlkCq9KK" Date: Tue, 20 Jul 2021 15:33:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1626795227; bh=t8DojydpgKrlFaF/reC4F/AKwWgGLBuBD8TTSdpGt7c=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=hlkCq9KKy2ZQ3nNdVgMg9staiv/IPPp6A0ezhebLzmGZdpKNozDStzUQ28gYP3c58 Anwo8piiEyT67Bc23otsWBOdpduTHKIfnf5GqQqih0AvB1OSCtCrxfj2CpdU9n9PBm M5wKHrl0iAh3ARXiPWTsjAtEL08PmwuugbKeUiuU= To: Caleb Connolly From: Caleb Connolly Subject: [PATCH 2/5] dts: arm64: sdm845-oneplus-common: enable debug UART Message-ID: <20210720153125.43389-3-caleb@connolly.tech> In-Reply-To: <20210720153125.43389-1-caleb@connolly.tech> References: <20210720153125.43389-1-caleb@connolly.tech> MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Caleb Connolly Cc: devicetree@vger.kernel.org, David Airlie , linux-arm-msm@vger.kernel.org, Rob Herring , Bjorn Andersson , Andy Gross , Thierry Reding , dri-devel@lists.freedesktop.org, Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" A labelled diagram showing the location of the Rx and Tx testpoints for the OnePlus 6 is available on the postmarketOS wiki: https://wiki.postmarketos.org/wiki/Serial_debugging:Cable_schematics The device uses 1.8v UART at a baud rate of 115200, bootloader output is also available here. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.32.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index eb6b1d15293d..e81f5cc9f26d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -19,9 +19,14 @@ / { aliases { + serial0 = &uart9; hsuart0 = &uart6; }; + chosen { + stdout-path = "serial0:115200n8"; + }; + gpio-keys { compatible = "gpio-keys"; label = "Volume keys"; @@ -526,6 +531,11 @@ bluetooth { }; }; +&uart9 { + label = "LS-UART1"; + status = "okay"; +}; + &ufs_mem_hc { status = "okay";