Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4131456imm; Mon, 18 Jun 2018 09:38:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJGIOT0lkZsJttzsAtk5rD1paanzS/6z10jSB/bViJjbPSl1JknClMS6mMya+04lZBAQY6+ X-Received: by 2002:a62:918:: with SMTP id e24-v6mr13979820pfd.30.1529339907056; Mon, 18 Jun 2018 09:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529339907; cv=none; d=google.com; s=arc-20160816; b=h17bhXyh5rHGAFwJ+Ug2fwR8jDxmTlRKfC0jOPUUoLvBPmXqBSEi/RlE8m9KdcvqrO g2OQu/psm7FFYMXdySXF6hWLOx1w84AYQ2Dz+UJxZyG562XRqooqM+t7lNtbFfG8xTCq x+h8SmKlJNrprmMyMkJDSLb6+cY4DlybM5WkBP18dd+eoxdhVDWlubYyVkQej8HAoPJx 07p62A2wjxraM9bJhhiyiFlaCf6g/YzDRU3vQ2LoQwzQ3rxHYbkYQFJqOUOYgILhsW2F vQNCQtbGgsF1STQ2cr0Ybdoyp/FQxfzI+daDlv8I1JYcpg9+P8kivevPF3nhWfcfiGOa 6LAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :domainkey-signature:dkim-signature:arc-authentication-results; bh=J++UfTo/3vor2G8Xq+p8RToVfTgJNH1lJwcQ2UmXr6U=; b=xnuEMurqmNTdgnoDv9Sm4gjjr+w4485C45yo+2lMHsTmmO4YLHQ+UhDzyiw1c1ZDNK gZ7HmP9TKTlYXUVUC3n4D7m/21tHRPqUCPqKjZ0/PHdml0pnBwxkYx3dPgbmEdz88oQ1 07ZZsKL8wWlMN39Nd1N8RO9M9JZrYn/DlBQ+SBKO31yB8VImOgw6dtCKHkK/P0m0xCrN vebvQCBh70kdE4xgi1MObTCsGt3GFMGsjOe0H6INRZBhmp0vT6g0OgtyKPoltqPEgCf/ 4Kf5kbsyfnuB+Un7wGrogYc31WoSdgfLEaOO2bw0eIRR/DHRYl1/syY/Opx6OEttyuj4 io6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bidouilliste.com header.s=mail header.b=cjsSa0z3; 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 q8-v6si12341405pgf.40.2018.06.18.09.38.12; Mon, 18 Jun 2018 09:38:27 -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; dkim=pass header.i=@bidouilliste.com header.s=mail header.b=cjsSa0z3; 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 S934963AbeFRQhZ (ORCPT + 99 others); Mon, 18 Jun 2018 12:37:25 -0400 Received: from mail.blih.net ([212.83.177.182]:15154 "EHLO mail.blih.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934644AbeFRQhU (ORCPT ); Mon, 18 Jun 2018 12:37:20 -0400 X-Greylist: delayed 399 seconds by postgrey-1.27 at vger.kernel.org; Mon, 18 Jun 2018 12:37:19 EDT Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id e14c3cbe; Mon, 18 Jun 2018 18:30:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=SBi4ZACnxb4J0qfwjsbnq1cfM7w=; b=cjsSa0z3dsohVJAp+hedJ1J2U2ra BGiz6pP7B+53gjejT0d/hdq9fj9bce1x66rZiM+v3Lg7y01UJYMCKPZKO7jIMY5f 4ePU4IG1Dz+dXqcMEJsrnoAsjZKe6vTXGZaA+Bpk6cB8cjr9oGPMPo/Xt3O1kpyp l/Hw8vrIs4DQGmQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=g5KRzeQe3q7TkuNSpN2gdG3ryVnitoMgqsnqTxNJssqKfW7vT5Ap3CNF c08Sb6jZS0sANm5H0aFXAwjYrQga8FJsfhzcT4mtnkx29QllbzXgZ6fPyeolihyz hvBaf+Wuk5ccDCnzZyEePq+MQFcf97eMgX9QqfCG5pbVdSLUjUU= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 14c7cb9b TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 18 Jun 2018 18:30:38 +0200 (CEST) Date: Mon, 18 Jun 2018 18:30:38 +0200 From: Emmanuel Vadot To: Lucas Stach Cc: Emmanuel Vadot , shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, linux-imx@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: dts: imx6: RIoTboard Add chosen stdout-path property Message-Id: <20180618183038.c8ee3164ff62ab5e27535c5c@bidouilliste.com> In-Reply-To: <1529337797.7211.4.camel@pengutronix.de> References: <20180618154257.16919-1-manu@freebsd.org> <1529337797.7211.4.camel@pengutronix.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 18 Jun 2018 18:03:17 +0200 Lucas Stach wrote: > Am Montag, den 18.06.2018, 17:42 +0200 schrieb Emmanuel Vadot: > > The RIoTboard debug uart is connected to serial1. > > Add a chosen property in the DTS so OS knows what serial port to use for > > the console. > >=20 > > > Signed-off-by: Emmanuel Vadot > > --- > > =A0arch/arm/boot/dts/imx6dl-riotboard.dts | 4 ++++ > > =A01 file changed, 4 insertions(+) > >=20 > > diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts= /imx6dl-riotboard.dts > > index 2e98c92adff7..315d2ae6fa45 100644 > > --- a/arch/arm/boot/dts/imx6dl-riotboard.dts > > +++ b/arch/arm/boot/dts/imx6dl-riotboard.dts > > @@ -19,6 +19,10 @@ > > > =A0 reg =3D <0x10000000 0x40000000>; > > > =A0 }; > > =A0 > > > + chosen { > > + stdout-path =3D "serial1:115200n8"; >=20 > If there a reason to deviate from the "stdout-path =3D &uart1;" notation > used by other i.MX boards? >=20 > Regards, > Lucas This is, AFAIK, the proper way to specify the stdout-path. See https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bind= ings/chosen.txt#L31 Cheers, > > + }; > > + > > > =A0 regulators { > > > =A0 compatible =3D "simple-bus"; > > > =A0 #address-cells =3D <1>; >=20 > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --=20 Emmanuel Vadot