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 21B57C55178 for ; Thu, 29 Oct 2020 10:11:09 +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 A173D20706 for ; Thu, 29 Oct 2020 10:11:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jmfx9Xpq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A173D20706 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com 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=UAN1Z9apYeyIB+8azrArmjLhQjHrAOZb12HEcrpbi4c=; b=jmfx9Xpq+Ite4+ZwC2hecgMn9 lgt1dtPpVNY2cjAuKfxNiAlxs5oEL8eBOMHX4VYnl+o5q725NPnOzEIVx7FAeRqY+gD27K59FmiRo OmlrsxIY5T15bZchWryKh24+4LweEjq8kaKaJFNeAO0epk2+sxLqPzJryxleVEeFC/2e28wmH9RBd IVtFMLCDnNe6nDtSLNrmiD4IqduSza31MsIexgPmE9ahbPk0hbVQ3rUlECDVI8kFQnRzjSe2WpAah Ohpg783x1fqOY+BKRs4YxzMZPImhlnq3y5rU7UGaP+K2HZbKx+9I5Qnv01zybL+/dRk6Nce4/uE63 CHD8CgDVQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY4sL-0006R4-As; Thu, 29 Oct 2020 10:09:45 +0000 Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY4sH-0006PO-1t for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2020 10:09:42 +0000 X-Originating-IP: 93.29.109.196 Received: from aptenodytes (196.109.29.93.rev.sfr.net [93.29.109.196]) (Authenticated sender: paul.kocialkowski@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id A9F1F40015; Thu, 29 Oct 2020 10:09:36 +0000 (UTC) Date: Thu, 29 Oct 2020 11:09:36 +0100 From: Paul Kocialkowski To: Matteo Scordino Subject: Re: [PATCH 3/5] ARM: dts: sun8i: s3: Add dtsi for the Elimo Impetus SoM Message-ID: <20201029100936.GC460689@aptenodytes> References: <20201029022000.601913-1-matteo.scordino@gmail.com> <20201029022000.601913-4-matteo.scordino@gmail.com> MIME-Version: 1.0 In-Reply-To: <20201029022000.601913-4-matteo.scordino@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201029_060941_325515_1C1BF092 X-CRM114-Status: GOOD ( 25.39 ) 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-arm-kernel@lists.infradead.org, mripard@kernel.org, linux-kernel@vger.kernel.org Content-Type: multipart/mixed; boundary="===============4087693386298023830==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4087693386298023830== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3siQDZowHQqNOShm" Content-Disposition: inline --3siQDZowHQqNOShm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu 29 Oct 20, 02:19, Matteo Scordino wrote: > The Elimo Engineering Impetus is an Open Source Hardware System-on-Module > 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/boo= t/dts/sun8i-s3-elimo-impetus.dtsi > new file mode 100644 > index 000000000000..3550125cf334 > --- /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-s3"; I'm wondering what to do about the SoC compatibles here: - Do we really need the "sochip,s3" compatible, as it seems redundant with "allwinner,sun8i-s3"? - Could we add a "allwinner,sun8i-v3" compatible at the end since there is = no functional difference between the two? Another thing is that we should probably add "allwinner,sun8i-v3" to mach-sunxi/sunxi.c so that it's matched by the DT_MACHINE_START. If that seems agreeable, I can craft a patch for the latter. What do you think? The rest of the dt looks good to me :) Cheers, Paul > + > + 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"; > +}; > + > +&usb_otg { > + dr_mode =3D "otg"; > + status =3D "okay"; > +}; > + > +&usbphy { > + usb0_id_det-gpio =3D <&pio 5 6 GPIO_ACTIVE_HIGH>; > + status =3D "okay"; > +}; > --=20 > 2.20.1 >=20 >=20 > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --=20 Paul Kocialkowski, Bootlin Embedded Linux and kernel engineering https://bootlin.com --3siQDZowHQqNOShm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEJZpWjZeIetVBefti3cLmz3+fv9EFAl+alOAACgkQ3cLmz3+f v9EmnQgAn+lmJ4WldMeeZzOVmSP/s7CWdSfpraIUOkaYBb92TvrOAg2XXIb6EGDP p2G4DRWqzQGGpWAXJHk6CGZkIn5s3Nwo697lFLaXcXLcbapjgidGNYXRhS4dSYn0 kuoCzp0RhM8LcPLGFAqH6Vj2svF+u+oGGEjHG0Wn0mGZJZZ7dJrQAl7PisxWkMJS 00lTX6hrcxfpMhgKkt06h1kaIqRCNw8CQvP81uR5kG7wOkk399fh7aqiFek8M/PV eDqCAkJ+qaibFVOTsAqGZAa+k5ItxktNok1LWhvyR/YvAndGsaEz7nDfJnsCHDpM LjxN6Do8HJvmoO6xcWrr6hXdL8STNw== =wg98 -----END PGP SIGNATURE----- --3siQDZowHQqNOShm-- --===============4087693386298023830== 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 --===============4087693386298023830==--