Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3609038ybi; Mon, 27 May 2019 03:00:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOvDtt9IWmR71ynQQRwZ2Zuf818MnYrI0T+lwoyByRyovg6XgrTgJe7esupyeabLBxK0Ub X-Received: by 2002:a17:902:56a:: with SMTP id 97mr88606252plf.20.1558951230625; Mon, 27 May 2019 03:00:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558951230; cv=none; d=google.com; s=arc-20160816; b=yt8ppkeUqEsE/Hki4FCDeqMRDE9ZwPLJ0hfAGgUGg8R8HeouJ3Qfuk5PWTVptunZD0 IGEith+cbNZSCl4EQ2n0yHwAO/53a3aOjOZCLkeLSNFIyE3G1rnnfKQmAYaEewp20muO a17VevE5O+a4LYtMATZpmybTGmkm9bGocjjJbAELYzGtmLUzZORBodQlLlID5GRopT8S Zguf5MfBGEf/7HQzESotMXRRMigH8uCdm6pzi6xNlm2t3ddejwWuhEu6agHT0F84hg2w oNA8ZroxExXvVlNRTLj/ZQmAiHzj3b22sNqRhZrKqDCLK7WP0ynWIu7RXbG8FmzDB6/9 Z/9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=fM4+eFwkYjZtB3Vki4L5BsDOpq+Z4RzqjBwQ77aec8s=; b=oHmOz581BsoV+Mk4XZF+bRD9G0dK8WAemo2Wqu5AODQMIMHAM0q3ow40dQoZSGuIEG Zmz6bkkPqJNE8H6bl9bTa7bBam8//1bv+sm2nTZc4X/wqPQNteQT4lXvND/7ygb6usQe gTqyijxTlfv80iMFS/ToxV8qDy5KyXcilsZ/2Lh2TgrWHF3Xa2n5uBtsaL9YxSjUZOwS LIjAAroobpk5tDwmRePpIZ0icAsEIjYkYkXKwatIEdUS1G2p9MYV2HdqXC8pfYAp1X5/ B55PK/2kNyVgmulNk0+f7euQp2tO4YbZKscEpw79zJfvpOtPaS9iKJf1w5PU2/qY70O1 BxKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si16613555pjr.109.2019.05.27.03.00.14; Mon, 27 May 2019 03:00:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726730AbfE0J6z (ORCPT + 99 others); Mon, 27 May 2019 05:58:55 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:59307 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726072AbfE0J6y (ORCPT ); Mon, 27 May 2019 05:58:54 -0400 Received: from localhost (aaubervilliers-681-1-27-134.w90-88.abo.wanadoo.fr [90.88.147.134]) (Authenticated sender: maxime.ripard@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id BC7B2200013; Mon, 27 May 2019 09:58:49 +0000 (UTC) Date: Mon, 27 May 2019 11:58:49 +0200 From: Maxime Ripard To: Yegor Timoshenko Cc: Chen-Yu Tsai , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: allwinner: a64: bananapi-m64: enable UART2 Message-ID: <20190527095849.uvsivexbb6tfjccw@flea> References: <20190526094715.12289-1-yegortimoshenko@riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ktylujpg3yzbdylg" Content-Disposition: inline In-Reply-To: <20190526094715.12289-1-yegortimoshenko@riseup.net> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ktylujpg3yzbdylg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Sun, May 26, 2019 at 12:47:15PM +0300, Yegor Timoshenko wrote: > BananaPi M64 exposes UART2 interface that is supposed to be enabled > by default (see "Default Function" in the pin definition table from > the manufacturer [1]). > > [1]: https://bananapi.gitbooks.io/bpi-m64/en/bpi-m64gpiopindefine.html > > Signed-off-by: Yegor Timoshenko > --- > arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts > index 094cfed13df9..100d1a8fd292 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts > @@ -54,6 +54,7 @@ > ethernet0 = &emac; > serial0 = &uart0; > serial1 = &uart1; > + serial2 = &uart2; > }; > > chosen { > @@ -312,6 +313,12 @@ > status = "okay"; > }; > > +&uart2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&uart2_pins>; > + status = "okay"; > +}; > + Unfortunately, this can still be used for something else. Our policy so far has been that we would fill the muxing but keep the nodes disabled so that it's easier for people that want to enable it, but it seems like it's already using the default muxing as well. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ktylujpg3yzbdylg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXOu02QAKCRDj7w1vZxhR xUciAP4y8fZNwh7eAtCPtUgJ3FdM3Qacd6yxUNimUc62YkREFQD6Az4IJj3Bx6Iv LnR7PXw+or0ouBFSx4ziaPuhdOMsPQg= =VGIR -----END PGP SIGNATURE----- --ktylujpg3yzbdylg--