Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp5016811pxb; Tue, 28 Sep 2021 08:54:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7vr0XIrBs5bCsgooB3AfQSgWO9Tty/MBvNWF3G69xvZqojHqWIP1qeyjtE/34wO/l8Oc6 X-Received: by 2002:a17:907:2d1f:: with SMTP id gs31mr7562275ejc.174.1632844469942; Tue, 28 Sep 2021 08:54:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632844469; cv=none; d=google.com; s=arc-20160816; b=yjv8vg6StVTEAVkdLc5hZ8Sfi/FBCC+xIL1m+/bEPNBKGaDar3jbJdrmneQH7bv4od NE702gNAX/TnE6tarmUCxBqTiBrdLRo1p174ApTyY+pIvbfYO+/Ei6CAYrQst+CcOsO7 U2e2TJTCmG55zjWBvKfaNxkRQyTgwIl6dWenwJzIIH5d+DkD/WS4a4Xf0PQyQgTPDEzy jH+DBtdXCOqWMz27zeEmfLReAVGpqmvau6gX5dpCqMXbbWhTLmd8Ai2FUY3OExMAI2nK u6RQqqMk+zZPl8y7Oeb2iPxjZUuD+bJkJFx7cn6g0OdJC3uIkW1dPrPASPOMkMXVwMrW jHdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=wxYuy78GSwnBdZScF5Az+aCcxt1YS2AWU5xnG/nVgEk=; b=VHFR6KWsCaL+OcxA61dCVF/Fzm/yUj96BEqFK3Sj0TLDY2ou070AzAXUB1C9RhvbWc 0sLGlktVzjjvPtsyILt7yvqJLco3SXhu4ssxe2nrvt7KLq8CHrfm1WFcTQPPotykgHTX L+v4vVCJfXymUMJ5xMWrnaBzWZW2FZiEla2Aiu/rKK7/aD/0egOG9glpgHvse+LY2iU4 w/SzVZ6lifjQQbLi/LAwn7voFZUxr+Lmi7tQmIPF3fCWFyP61r8VxhhfOItJ1RJbKkE2 RRW6AsTDY4iFSD0LbPeJsMCG0VMTylqgtKoNodUwunVxCcgMNmJqOqLu353Qs9ye2Pw7 mQDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura-hr.20210112.gappssmtp.com header.s=20210112 header.b=F6fY0qbh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i13si10468067edr.507.2021.09.28.08.54.04; Tue, 28 Sep 2021 08:54:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@sartura-hr.20210112.gappssmtp.com header.s=20210112 header.b=F6fY0qbh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241514AbhI1Pvq (ORCPT + 99 others); Tue, 28 Sep 2021 11:51:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241523AbhI1Pvp (ORCPT ); Tue, 28 Sep 2021 11:51:45 -0400 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E595C061745 for ; Tue, 28 Sep 2021 08:50:06 -0700 (PDT) Received: by mail-io1-xd32.google.com with SMTP id r75so27987967iod.7 for ; Tue, 28 Sep 2021 08:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=wxYuy78GSwnBdZScF5Az+aCcxt1YS2AWU5xnG/nVgEk=; b=F6fY0qbhuT1hJI5Z/ipCwh0MerMWZ3dQ24GXGYOIK9M6LWFnGkLLywiqooiTeefo4p x5FJFoT03LXDWs+BoLRYGVze3wbt+RwkygMIlbRdQBEceHX6HoCxrFxnVZlzNQcPjlGa W6MUwh7yoxZ/EPuJoVGZHDTCAgrQPKM/EJ9g94MOEwP9iqzpMtj+vRZGgDxXU8MpC8JA MUVoVBS0GwbyBl/vpvyhhuo9k5WI+awyWXSrbEcdi14xF71YWae67JaweH2eiuqB4faJ cWzfTRsRwg/IluAFSjA/wEoSu803gubeD6BRfOnOqz5WGku6U/h5Tic99zb2Wog6LuLv Rd9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=wxYuy78GSwnBdZScF5Az+aCcxt1YS2AWU5xnG/nVgEk=; b=UUcpQ4/Ve/qLiE3t6/0IMaHfg6MWpR5pJPXmejHV8NKRURJk9fC4/kEfIrcH/fWijh u0FV3BVE/Js7Gzm4pkha1B4HQMiSkiFnBiFCVAfh/+yCxp32U4qR65xtbWZtAFNntQ2x lnTgbuzKs6GtEpqy8vHFjbY1jH72Y1vv3AXXMa39Rftbq3AhUWxv2ac1GvpOJ/BozX+r dRP/6RVIAofIN9Su3p0OvAavFp89CG9FZLscJvS8Uice1NegqGWISS004JEsrdPlebhT VUmYRPEhVebxw8fu7KFkSTJp1bwENRaUjBkx/fnHY2vOgMYZ73c7vQ3F99Vtf4JTy9xr sKAA== X-Gm-Message-State: AOAM531AzuDtR/uzu+Egpk3oIFKhkzGQelaSBh9fZqQcmKnlTqtE6Gay 4+PF5RF/w7IOMrHmTWY0GZyH9dn7mPHyaRZ6ZEP8sw== X-Received: by 2002:a05:6638:24c4:: with SMTP id y4mr5111355jat.31.1632844205978; Tue, 28 Sep 2021 08:50:05 -0700 (PDT) MIME-Version: 1.0 References: <20210927154159.2168500-1-robert.marko@sartura.hr> <20210928151348.cqgy6uuxs3owxaug@pali> In-Reply-To: <20210928151348.cqgy6uuxs3owxaug@pali> From: Robert Marko Date: Tue, 28 Sep 2021 17:49:55 +0200 Message-ID: Subject: Re: [PATCH 1/4] arm64: dts: marvell: espressobin-ultra: enable UART output by default To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: Andrew Lunn , gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 28, 2021 at 5:13 PM Pali Roh=C3=A1r wrote: > > On Monday 27 September 2021 17:41:56 Robert Marko wrote: > > Since Espressobin Ultra board has a microUSB port > > with the onboard USB to UART connected to it to be > > used as a debug UART it makes no sense to require > > the bootloader to pass console args to the kernel in > > order to get console working. > > > > So, use the "stdout-path" property to enable the UART > > output on the microUSB port by default. > > > > Signed-off-by: Robert Marko > > --- > > arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.= dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts > > index c5eb3604dd5b..c1770ceff3c1 100644 > > --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts > > +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts > > @@ -15,6 +15,10 @@ / { > > compatible =3D "globalscale,espressobin-ultra", "marvell,armada37= 20", > > "marvell,armada3710"; > > > > + chosen { > > + stdout-path =3D "serial0:115200n8"; > > + }; > > + > > This code is duplication of common espressobin code from > armada-3720-espressobin.dtsi file: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/a= rch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi Ahh yes, I don't know why was it not working by default then. Sorry for the noise, I will drop this patch. Regards, Robert > > > aliases { > > /* ethernet1 is WAN port */ > > ethernet1 =3D &switch0port5; > > -- > > 2.31.1 > > --=20 Robert Marko Staff Embedded Linux Engineer Sartura Ltd. Lendavska ulica 16a 10000 Zagreb, Croatia Email: robert.marko@sartura.hr Web: www.sartura.hr