From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1F07C2D0A3 for ; Wed, 4 Nov 2020 19:04:50 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7D1C820704 for ; Wed, 4 Nov 2020 19:04:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GgPD9ZTF"; dkim=temperror (0-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="SDqic7k/"; dkim=temperror (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="UqJGTyP0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D1C820704 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kpLc11Db22IB2zcRZ28QSuc4LDnkPaGFw768Phlv86k=; b=GgPD9ZTFOPeC2uNmZrI1GIsHd c0Ldl1W1Bf1EB4+njCYejCC3N0UH+rgJf2sQo72R9gpk0fsKk5N86YnYQvSzMCzarMdjYCfOLGuEk wumWy1R2+IwfztpKo5gDul3mg2jczL0/9sMxi0dAy6NiIdtucoIIZi0+mxirwnwYKB6KlXvH3nqDv o7qgobgN979Wl3HeiGJ/NpodQfulW4TqFOixULjAdMhDvjDwWSQoMKO1ycZoakBjB+2uGFCQfWvgJ t7rqL6bnVq1V7RzCuNEW5MJ7LZN0aPpdFp0dZd7mlG2wrbM5WLXD26KB51lMtpzZuKttNgZJCY9qn nHJqgzLIg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaO4v-00043u-Da; Wed, 04 Nov 2020 19:04:17 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaO4r-00042l-QD for linux-arm-kernel@lists.infradead.org; Wed, 04 Nov 2020 19:04:15 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id B783E9AF; Wed, 4 Nov 2020 14:04:11 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 04 Nov 2020 14:04:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=Q2SYH6K4Nqo96bsFhKCbE6Bdp7q 7RD+0bBhw2ThOJsY=; b=SDqic7k/DcDWl2EO9ALuM3U7/DnWZ6sK1g/snvZi4lv r5fOnF9y7CmbyHdObLSuj3PPgjx71jq5/4er4Yu86fF9WANn2uVicjUspN3zDb26 USW3aI2zBAfevIGc9Lr3FaJa3f4OvSx7zN9M0J58icY/OXEJ74o/SDQjT+o9Repb 0w/P7wwW6kM+7F+HwfodAloSRuzWMKQLkQIfvO08SV8Fz/SyjRBHeKFWCpFpgtON ku8IECAXftM07mdYk3g4ex9DprCs0joFDpBaXGdVy3gV+mifGdqp4if2S0I4YU4e cyo5bfLIHxeNQQne5FQPHkXhHdp/ZpCaXUcRC/8iSHg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Q2SYH6 K4Nqo96bsFhKCbE6Bdp7q7RD+0bBhw2ThOJsY=; b=UqJGTyP0StfkG/sXt9uuOG oaPu76n2k2xHgzuzKScrsP3gUZ4NhayXHmHwbzBJoIxLvLdyvVxguP1BifKeyhNI o5OlmhBL3mNf/aYQMqCcnGGtZJf8iXAnZFJzAj+HOYysCJZK3dOd2t+bBipOXokd dSJlnTbZPqs9hF2vbTFr3CT1FYvd+j3DrHmHCgUyt6nT5+dVIqm5y6o9WrmHjDve /kTa9j72woBy3bI5wxCJn5r2mFveByc5ZWOC6paUioSF0M1oX1BouAHJTLmLrmTE vC4Si1ABSRqxoA1IMCIiMNHo8CnKG5C4MeeJbPUtFu6Ufxm+ErjB9/EqlZYyEgMQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddthedguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheei heegudenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 5CEA6328038E; Wed, 4 Nov 2020 14:04:10 -0500 (EST) Date: Wed, 4 Nov 2020 20:04:08 +0100 From: Maxime Ripard To: Matteo Scordino Subject: Re: [PATCH v2 3/6] ARM: dts: sun8i: s3: Add dtsi for the Elimo Impetus SoM Message-ID: <20201104190408.krxoqm2fei3kboud@gilmour.lan> References: <20201029022000.601913-1-matteo.scordino@gmail.com> <20201030234325.5865-4-matteo.scordino@gmail.com> <20201102100540.wkqoy4nilmee7mpv@gilmour.lan> <5ea8344baa73068f30945ca5c76f582ca4844b3e.camel@gmail.com> MIME-Version: 1.0 In-Reply-To: <5ea8344baa73068f30945ca5c76f582ca4844b3e.camel@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201104_140414_026274_44BF4D7F X-CRM114-Status: GOOD ( 30.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: wens@csie.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============0067184547339365023==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0067184547339365023== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uxcttehbtep2djxm" Content-Disposition: inline --uxcttehbtep2djxm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi On Tue, Nov 03, 2020 at 04:28:27PM +0000, Matteo Scordino wrote: > --=20 > Matteo Scordino / Embedded Software Consultant > Mobile: +44 (0)7463701446 >=20 > On Mon, 2020-11-02 at 11:05 +0100, Maxime Ripard wrote: > > Hi! > >=20 > > On Fri, Oct 30, 2020 at 11:43:22PM +0000, Matteo Scordino wrote: > > > The Elimo Engineering Impetus is an Open Source Hardware System-on-Mo= dule > > > based on the SoChip S3 SoC. > > >=20 > > > It is meant for integration into carrier boards or, more generally, > > > larger designs, and uses an M2 connector to facilitate that. > > >=20 > > > Interfaces on the M.2/NGFF 42mm connector: > > > WiFi IEEE 802. 11abgn (on-module Realtek) > > > Bluetooth 4.2/BLE (on-module Realtek) > > > RGB LCD Interface (on-module connector) > > > MIPI Camera Interface (on-module connector) > > > IEEE 802. 3u Ethernet MAC (external connecto) > > > USB2.0 (Host, Device, OTG) (external connector) > > > Audio Line In/Out (external connector) > > >=20 > > > Signed-off-by: Matteo Scordino > > > --- > > > arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi | 51 +++++++++++++++++= ++ > > > 1 file changed, 51 insertions(+) > > > create mode 100644 arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi > > >=20 > > > diff --git a/arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi b/arch/arm= /boot/dts/sun8i-s3-elimo-impetus.dtsi > > > new file mode 100644 > > > index 000000000000..f219188fc9ba > > > --- /dev/null > > > +++ b/arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi > > > @@ -0,0 +1,51 @@ > > > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > > > +/* > > > + * Copyright (C) 2020 Matteo Scordino > > > + */ > > > + > > > +/dts-v1/; > > > +#include "sun8i-v3.dtsi" > > > +#include "sunxi-common-regulators.dtsi" > > > + > > > +/ { > > > + model =3D "Elimo Impetus SoM"; > > > + compatible =3D "elimo,impetus", "sochip,s3", "allwinner,sun8i-v3"; > > > + > > > + aliases { > > > + serial0 =3D &uart0; > > > + serial1 =3D &uart1; > > > + }; > > > + > > > + chosen { > > > + stdout-path =3D "serial0:115200n8"; > > > + }; > > > +}; > > > + > > > +&mmc0 { > > > + broken-cd; > > > + bus-width =3D <4>; > > > + vmmc-supply =3D <®_vcc3v3>; > > > + status =3D "okay"; > > > +}; > > > + > > > +&uart0 { > > > + pinctrl-0 =3D <&uart0_pb_pins>; > > > + pinctrl-names =3D "default"; > > > + status =3D "okay"; > > > +}; > > > + > > > +&uart1 { > > > + pinctrl-0 =3D <&uart1_pg_pins>; > > > + pinctrl-names =3D "default"; > > > + status =3D "okay"; > > > +}; > >=20 > > What is uart1 used for? the BT chip? > >=20 > > Maxime >=20 > No, BT is provided over SDIO by a Cypress 43455. > When used with the Initium carrier board, UART1 goes to an FTDI bridge th= at is > connected to the same USB-C connector that is used for power. > The idea being, if want an application that uses the UART to communicate = with a > PC, it's convenient to provide power+connectivity on a single port. >=20 > I guess your point is that we would be better off only defining this in t= he DTS > of the carrier board? I wasn't trying to make any point, it was a legitimate question, we don't want to enable something that is optional or could be used for something else (like a UART exposed on a generic pin header). But from what you're telling me, yeah, it should be moved to the daughter board DTS. Maxime --uxcttehbtep2djxm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX6L7KAAKCRDj7w1vZxhR xYMTAP9RnYdBwSJcIxgDEB7xxcKiAogacJhfpAGCvzzU8/Ls4AEAqqx64lbW6fPP 71VnXsKs2elZAKdEm609+fWbL7/AhAY= =D8Iv -----END PGP SIGNATURE----- --uxcttehbtep2djxm-- --===============0067184547339365023== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0067184547339365023==--