From patchwork Tue Sep 12 13:48:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 139181 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp23412vqi; Wed, 13 Sep 2023 17:35:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFIT+dmAIXLaHJzF25ScPqNU8JmkeNDqnUxMuz6PaMnOjo0p9TwMthuMEJ3TXtklbMmFNR8 X-Received: by 2002:a17:90a:9285:b0:267:909f:3719 with SMTP id n5-20020a17090a928500b00267909f3719mr3793350pjo.19.1694651717004; Wed, 13 Sep 2023 17:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694651716; cv=none; d=google.com; s=arc-20160816; b=YMrSe+rMf3Y88/+bfCTGrRJi1JibQraIAx7B/LPnAsgnPqd+CnFGcyxnnyHnp3m3lm A9eRtS8r0ZlK7aEtrqcFFp+HymRnrJbIw+AQJKcIcsG11nociVBq/xDtDIb6+im5CY60 bCRK+67v1GUYfxJt63fPIq/db8IpltQYreeEHyMJ1GxgaDd6H+2lzztnYG7T1EZsB05Z ejoWDb+GFOiT/TZRI8Rq4CLvx4heE52NKmoKDIujM0xwCsygEjqJ5YNyPOR6qSBq2WYS t0NTBqEi1ko4md7aaVR0YtlGJheW6AlZ+U9IoAJy1twu/B/AaEvxM0369OAidYof8gdq E7rw== 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=hwJmObPcsD50LIqTPhJmLbLl8WWuDdVPEjUtTz2cJ/U=; fh=eHG+RAOcICnzA87RuMie1IWZNGQb3hwEDg6Yr6gwrl4=; b=lMcJd0VCJNzl7UCuOFPBpCRUwgtM97BTPSbfgX7iDmh8w3P4F7EAmofwHFySZpx2/Y SelKJQesyVEUKtIgsaJXBZpxMdCrCy8jvLiVk1L6Q/S8kdBJULHRbhPOB9O0htKNE0Lz fAM+yfHsZ7Rep5l3EXoZ3SOnEmDEoGzqsJ6lItPaffe6O4nAwAuX/dF+bSSl4KAVJEw7 LAHfuBWa1Y8qN9rD7vVoRAa4Pnxg0KjHyS8WAnt+dxBtQMHHYCD90h5RHT7IcenEJkdV L2L0qBPjyUnmhoRBOJ1jZ7gJG/s7CYErLltbgZmFj6p4/Y0Jrp3QBRwy/7aOkonlYpj2 Hffw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cfXDOcF0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id b24-20020a17090ae39800b002689d34ae8dsi2606133pjz.18.2023.09.13.17.35.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 17:35:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cfXDOcF0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 50F5A83BAC88; Tue, 12 Sep 2023 06:48:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235011AbjILNso (ORCPT + 37 others); Tue, 12 Sep 2023 09:48:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234834AbjILNsl (ORCPT ); Tue, 12 Sep 2023 09:48:41 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 196D610D7 for ; Tue, 12 Sep 2023 06:48:37 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2bcb0b973a5so91324121fa.3 for ; Tue, 12 Sep 2023 06:48:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694526515; x=1695131315; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=hwJmObPcsD50LIqTPhJmLbLl8WWuDdVPEjUtTz2cJ/U=; b=cfXDOcF0H5KVVEJOfj92jxv4jOOcnPcPYkHUdtoWAdTL87PWI7J+BU1M9mIFcCRu8I btghSJh4fGzOKRZvBSQ4E+rGY0c0HEsKCiHoiTLJ3fX7fHRisKi90X9chog/RL6FEi6n fMTtJlfQCaAKHrX6N8h9M8LcaFUaHj+rrx+LeFdaVPU/piBKv7fJxH35KvNCYlASje2v wRBQRSrITMKWJwr0WvxF+EMSLRbxCs13xUv1cwxshMglvcNynhEfcc7YapR9w+WHy5Lu wECui/yERZsqsOzTXLYszrzVnI3IgYI4KCEzR9zRulJBLhKapL6WHk9jmlT9yNdZzYR2 HrQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694526515; x=1695131315; 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=hwJmObPcsD50LIqTPhJmLbLl8WWuDdVPEjUtTz2cJ/U=; b=hpijLbZoXDd1x3FewNNeLq1tzXymFS3uFp7DALYhkbQCQo33k5704dy7Lxu1sQp0/X Ymvo2nUp09ovoWgHFhxNj3hUFc8SB8NDtb0ZiQmQb3oUOV30V/FIDU9Q25q4n7QJcto0 t36Ligsc3pQhrm0FHMmViR1tkttHNmJpmV2OgRxLDGznf/zqkwU0bL9M3vWjUtiFFX8o ViOelpJF/1WQieMJUhVIVCzRRPMxmrm47vg+nd3LyUcrp7CaQ+gMffWuE8AMX93dYx0Y LsYWQnEQ20VCc6CdKhGfshGm0edQ30N8DRbQi5ie3I6TvTxh4KxQ4Jerha7jzN/bq5SV vAzQ== X-Gm-Message-State: AOJu0YyDDD17J2l7QJXlvDDi/YYjnllaRYp+VEXvusKuMMGpBi3FUABk QXobwl1ZZPDijaNbqOyXw60ZsQ== X-Received: by 2002:a2e:7010:0:b0:2bc:d376:1bb5 with SMTP id l16-20020a2e7010000000b002bcd3761bb5mr10102644ljc.19.1694526515313; Tue, 12 Sep 2023 06:48:35 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id f20-20020a170906825400b0099bc2d1429csm6895178ejx.72.2023.09.12.06.48.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:48:34 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:48:31 +0200 Subject: [PATCH] arm64: dts: qcom: sm8250-edo: Set UART alias and stdout-path MIME-Version: 1.0 Message-Id: <20230912-topic-edoconsole-v1-1-b392ea67e539@linaro.org> X-B4-Tracking: v=1; b=H4sIAC5sAGUC/x2NQQrDMAzAvlJ8XqBJ6SH7ytjBdZ3VEJwSb6NQ+ veZHSUQOsG4CxvchxM6f8WkqUO8DUAb6ouDrM6QxjSNOabwbrtQ4LVRU2uVQ4lTngl5LhnBswW Nw9JRafNQP7W63DsXOf6fx/O6fhediU93AAAA To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694526513; l=1055; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=eIpio4od8Jh95jYfK299qD9hOrK4tv6sbBOrChytBbE=; b=xp5ZeUvUwGrJC/vKkEPY43/ECBM4XkUvGCi4bbf+MCvTJX7Or0KK1LClBpsVRQvCqfAYIkpjD ULwB4JnTq+SC7Z0dLrMZuvufasVmg0e431Z/ZNvyAD63C44VdmZgDJd X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:48:50 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776971118848706004 X-GMAIL-MSGID: 1776971118848706004 The GENI UART driver requires one specifies a numeric alias. Do so and set the stdout-path to route the console to the debug uart in the microSD slot by default. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi | 5 +++++ 1 file changed, 5 insertions(+) --- base-commit: 3c13c772fc233a10342c8e1605ff0855dfdf0c89 change-id: 20230912-topic-edoconsole-f1395cae5f9a Best regards, diff --git a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi index ecdc20bc10f5..e07d0311ecb5 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi @@ -18,7 +18,12 @@ / { qcom,msm-id = <356 0x20001>; /* SM8250 v2.1 */ qcom,board-id = <0x10008 0>; + aliases { + serial0 = &uart12; + }; + chosen { + stdout-path = "serial0:115200n8"; #address-cells = <2>; #size-cells = <2>; ranges;