From patchwork Tue Oct 30 14:59:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vicente Bergas X-Patchwork-Id: 10661067 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 242FB13B5 for ; Tue, 30 Oct 2018 15:20:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17F802A63F for ; Tue, 30 Oct 2018 15:20:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C3B82A67D; Tue, 30 Oct 2018 15:20:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AA4842A643 for ; Tue, 30 Oct 2018 15:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=n/LXg+s580qwCAkFgw4uKfbvlTHsMolJv8zrnFYa5tM=; b=rjHHhhz7PVScSB dZteU3HcJ5riqVBkDrjFzsf1RB+4n/IzW0gSxupbWHSiuUJ1Yu9wkTaNVFIjh7ULBoJXE4QKpZgvJ bIRSqWKTB/ghAh3oKAjxY44X5ODYh4Gj7MYCNxcYcQu0QfC5XmiZjn4J4txERfYBADavRO+/0a61E Szvf7j/laygddSGgs2ODb/hn8LeGOSLjfBMeF15CaRBK9Lz0h2vJFoFIps7NnkumgcKjy3i8x/HS4 7HwfvbFTe0sacN0Iw+aQevCl0Ui6Tuq7lNNmTeNVJcXCMI2ERBf0tBNmW3iPLbSOpmKGsaY0CtLBa K51K9WIG7BIo4+O/TINA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHVot-0000UD-Pi; Tue, 30 Oct 2018 15:20:39 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHVdF-0000at-M6 for linux-rockchip@lists.infradead.org; Tue, 30 Oct 2018 15:09:10 +0000 Received: by mail-wr1-x441.google.com with SMTP id 74-v6so4784976wrb.13 for ; Tue, 30 Oct 2018 08:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mBB8gKZZnB20KhCsMVgw5mLDdsWod89oe2g98DJCuqI=; b=Hh5dipqKMrBS8EXaMuDaU2BvwTvEJZZIFxA/eGE+js/b8XR7kEW52mcezlfbLdEykk TVmO91KLyMScvk6DZBK+G17Fmh4+cpbN8oa/LcfQXla0Pc8tdob5PIV2xTxab+vswKQJ bfihE1sBEnJvZB8OAwUyLehMXaI5jUnGirm/E/NgpN0Ql57eI25Qm5WexsiTAQh+q5An brWRmAnYfJ1gXFru3kvm6acqo3y+LQcSPEka9lX5+MSprikE2AGeH5xfiK9OYsYx919O PV+JRZV0T4w2LX4EcsXtKsvz28lG8oyUxxktl0efhlRRQDOPzA3undljG+VxQzQro+nt HtCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mBB8gKZZnB20KhCsMVgw5mLDdsWod89oe2g98DJCuqI=; b=pVNORmjafByhOuWhVLeu4RRlaEilwAkk2etbbwbcnBMEdcgLdrQcZPq0ikRYNy7smk YCTGbeoVBETlQDldMc3UFNYHcZdUERymCqvvlHxrbpIb/dyZo0f2XtqQoQqdxv+rN9pk 6sd6SGDqKBpfHwmNBfeTgHvxlEuATZAFLwb1fGcxyxVKJszOhdDQwqNQXHPGG7wEDT6L q+W29H8SC7HMRW/eQNXnmZ+wXdFeadPqxuhioJu3Ea3Ru8d9morjTP3ERjuNZxfrZmzN 91Df0UxPLmlM8n61rPVbk0j+b/r/96lFdMxF2RA4DocQRctDBJhuv+DXua6mmYnaOjD+ p8rg== X-Gm-Message-State: AGRZ1gJT+bel5n9PStE6zm9kFjnoPCixyb7KsP3KuZTIOH5ZOrZMu0RP Y0fCyu76ShE7nyp+59sqSF0= X-Google-Smtp-Source: AJdET5dZbpXWqIPPW1wn3JsaYuGCIxl03aj3xKBvJtyj/0PAw2DNIhDvBJxES1W2BiNSfwdH2DWc7Q== X-Received: by 2002:adf:e551:: with SMTP id z17-v6mr17901450wrm.238.1540911618279; Tue, 30 Oct 2018 08:00:18 -0700 (PDT) Received: from localhost.localdomain ([92.59.185.54]) by smtp.gmail.com with ESMTPSA id x17-v6sm18011853wrs.84.2018.10.30.08.00.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 08:00:17 -0700 (PDT) From: Vicente Bergas To: Heiko Stuebner , linux-rockchip@lists.infradead.org Subject: [PATCH v2] arm64: dts: rockchip: sapphire: add chosen node Date: Tue, 30 Oct 2018 15:59:41 +0100 Message-Id: <20181030145941.15975-1-vicencb@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <5408972.CYYHPefPr5@phil> References: <5408972.CYYHPefPr5@phil> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181030_080858_675822_50A94876 X-CRM114-Status: GOOD ( 15.19 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vicente Bergas Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP In order to use earlycon, the stdout-path property needs to be set in the chosen node. --- Hi Heiko, > shouldn't that maybe live in the shared .dtsi instead? this v2 applies the change in the .dtsi as suggested. > I do guess the excavator will have the same default serial? Well, in fact it seems to me that serial2 is set as the default serial port at the chip level, although there are some exceptions. But on the other hand the baud rate is more free form. So, as suggested, it could be a good compromise to put it at the daugther-card level. The point for working around the kexec bug is still valid, but with the update from the maintainer it is not enough to fix everything: http://lists.infradead.org/pipermail/kexec/2018-October/021762.html Regards, Vicenç. Signed-off-by: Vicente Bergas --- arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi index 5421e2376..2eb6489d4 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi @@ -11,6 +11,10 @@ / { compatible = "rockchip,rk3399-sapphire", "rockchip,rk3399"; + chosen { + stdout-path = "serial2:1500000n8"; + }; + backlight: backlight { compatible = "pwm-backlight"; brightness-levels = <