Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4888569rwl; Mon, 3 Apr 2023 11:01:59 -0700 (PDT) X-Google-Smtp-Source: AKy350Y9IoEyW15s3GdslToZOFpmWdWWkwKu354Gy4v119CKS/6tNYBysuFnqlBMQxTHhrd4iq3s X-Received: by 2002:a05:6402:1a3a:b0:500:50f6:dd30 with SMTP id be26-20020a0564021a3a00b0050050f6dd30mr93219edb.15.1680544919470; Mon, 03 Apr 2023 11:01:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680544919; cv=none; d=google.com; s=arc-20160816; b=IallcyjYFCj0J1EvCvtBcVKVbnjtzn2ti73CoSIyZsmslVyID2/9rw96Yh2frx7gzH Xszp72wFn50xF4ijSF8poaMyQ+AD0mPmJD9wlgRAHNc4hnfi2yIVTtcWZGnSRe7QbVtg z7kmdfI2QVslHFgIzlcKVcKcXjA6xPMMHsaEwGIzOUFKTroGCrxbwt+AuKVsy3HcK0Ey KGCHutdsW42OyEbsD9tSqmCQd7wNrX+oHgrMP4z6zO+qnxlR5iD7H7I/A39jWf6wpxy+ V+aVuX0xy5zhwcMLrnEmvSuXyKoWDMwR0GsnKjG/54oTu/JwpzvtF7AvyO2UCNICAoaO Y8CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=WlvpCHWMmiZdlbkC384yczmvM52H5PXcaJ7qF3TTD/w=; b=nyMbs7ytg/V7QFdaNpB4aQ4JVVwuBOgeTBQYPFmUcdeDw//iq6nTmX5TQ8wmn8+0Yd 4ZHNVOwoWKNYZkHta+SF5+tWU8QM1VO1DxuYYOUeA7i4L7uhpMVRSOr5iUlMBbiHPcmF JRDtdHmPUfn0pc9wawordxXEgoK7cvbwqsyg2rVBuIkzHckhzRCwmxBWdF1ZxhKrXetk lyX9Rb9DWBGlIzQJ5JKuEgrQz6jfIXLK57cRJ+uxEOyzkIfEbIER1YrgZFUxrcpmcAYS XTMkt8keMZG46QHHAXkH2vwYNss8qEyMNks9FW5FFw9a9s1KpvTeoKV6KLSca3jVJhJ5 JFTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CeC03Jbi; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u5-20020a056402064500b004acc992d6f7si296328edx.257.2023.04.03.11.01.32; Mon, 03 Apr 2023 11:01:59 -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=@redhat.com header.s=mimecast20190719 header.b=CeC03Jbi; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232855AbjDCSBK (ORCPT + 99 others); Mon, 3 Apr 2023 14:01:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232911AbjDCSBA (ORCPT ); Mon, 3 Apr 2023 14:01:00 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66EDD128 for ; Mon, 3 Apr 2023 11:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680544790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=WlvpCHWMmiZdlbkC384yczmvM52H5PXcaJ7qF3TTD/w=; b=CeC03JbiKUFO0kWdPZ1lEw6exgPagtVAvsc1jGLqW+N9TgtyZ6PIDyeb9MC4Ja8G2lP4k8 2+cTda1EXxAUAgpyOCBt0LkJMTdBFgEjgk5Q5BsIAEs4qIPb2FSWyW4/wQm3lP2vN1pbn8 3FaEpS2WYQYn4WzJBfsL6Ce08/JXlZE= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-86-GjVcFpb4M-GD_6Snvv_wkA-1; Mon, 03 Apr 2023 13:59:49 -0400 X-MC-Unique: GjVcFpb4M-GD_6Snvv_wkA-1 Received: by mail-wm1-f69.google.com with SMTP id k1-20020a05600c1c8100b003ee6dbceb81so15105826wms.5 for ; Mon, 03 Apr 2023 10:59:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680544788; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WlvpCHWMmiZdlbkC384yczmvM52H5PXcaJ7qF3TTD/w=; b=dTOqxICQvOgvzMasQPtLIHPhqkniokL5jWJQ9PewViz/1bQ9BOprpvUZpF92swWgOC IR1Bdx7aiADFYvF8xdGsLfMN/4O4qlTe+wBSY9wkMcaEn8SfyU5L95EbsDVo8jouWFM6 5/UtPPn7Gv4Sw3QAAFv+KV7vLoRK1FiOuYqWwYY6w8uGY4rTwuDOgSYLy1DgcVyZnaEB lXeopG3+x7OaCtTz2m2cua0vNOpG490zBMMI5p11/u2YbVVv5teIFoe87QPi4iA5sS/i 3/B5jo8fhempb/xxaW4FYmdzVLRUVJm2n9wBJ6CiOETYWMYoaiEfyuY2T1D53IVwgWZQ z1hg== X-Gm-Message-State: AAQBX9eS8QLw8YeRJ6g+93Rf7ZFsVlug0kAxkjLDEmGjtUA5tE0P8zw8 whzICD2kBUDW4Gilrzn9k0FiB7jOm9fA+vn8+Fgn7lX9BAK/vye5jKh+W3UnulZaVr6WdNol/50 qOTa5wSSi47fy0tyrKB68sb5/fMlhrQhEky1iUNPiYK2CDz4OTlcsFzE+sUwDeY+IeFRyR5TKse zvLrs94FU= X-Received: by 2002:a05:6000:6:b0:2d4:a1c1:d1a2 with SMTP id h6-20020a056000000600b002d4a1c1d1a2mr28010989wrx.63.1680544788135; Mon, 03 Apr 2023 10:59:48 -0700 (PDT) X-Received: by 2002:a05:6000:6:b0:2d4:a1c1:d1a2 with SMTP id h6-20020a056000000600b002d4a1c1d1a2mr28010964wrx.63.1680544787794; Mon, 03 Apr 2023 10:59:47 -0700 (PDT) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id e11-20020a5d4e8b000000b002cde626cd96sm10222763wru.65.2023.04.03.10.59.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 10:59:47 -0700 (PDT) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Peter Robinson , Javier Martinez Canillas , Caleb Connolly , Heiko Stuebner , Jarrah Gosbell , Krzysztof Kozlowski , Martijn Braam , Ondrej Jirman , Rob Herring , Tom Fitzhenry , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH] arm64: dts: rockchip: Change serial baud rate for Pinephone Pro to 1.5 MB Date: Mon, 3 Apr 2023 19:59:37 +0200 Message-Id: <20230403175937.2842085-1-javierm@redhat.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org This baud rate is set for the device by mainline u-boot and is also what is set in the Pinebook Pro Device Tree, which is a device similar to the PinePhone Pro but with a different form factor. Otherwise, the baud rate of the firmware and Linux don't match by default and a 'console=ttyS2,1500000n8' kernel command line parameter is required to have proper output for both. Signed-off-by: Javier Martinez Canillas --- I tried to instead get rid of the baud rate altogether, as suggested by Peter Robinson. AFAIU that should just pick whatever bad rate has been using by the early console. But neither using 'stdout-path = "serial2" nor 'stdout-path = &uart2' worked for me. In both cases I didn't have any output unless setting a baud rate using the 'console='param. arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts index a0795a2b1cb1..6bbe65bd5bd4 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts @@ -26,7 +26,7 @@ aliases { }; chosen { - stdout-path = "serial2:115200n8"; + stdout-path = "serial2:1500000n8"; }; gpio-keys { base-commit: 3adf89324a2b2a9dbc2c12d8895021e7e34e3346 -- 2.40.0