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.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 0419DC2D0A3 for ; Tue, 3 Nov 2020 16:30: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 82E412072C for ; Tue, 3 Nov 2020 16:30: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="hM5QfRFG"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XdYfJJUO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 82E412072C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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: MIME-Version:References:In-Reply-To:Date:To:From:Subject:Message-ID: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=QqQ7CpO7oG5ic2JI+5OF+7g1WtFFSGOY67AUTVqciNM=; b=hM5QfRFGj98fOl0P3Or5Jjs25 UNfBopCAu3gCwfs2iri/eotYzOy3zmyyQX+Lfb4nmsqrRpLNDX759zdVS2JxpxgRm2eX2Htxt1iui YWpfUHIJ2NUJ1i/AI/QH4Q9jjsQIcCB7YJEnGQSNqRiy7mlNFWRcQjozZg9ZFXeCOqF9da1IxiHSx c9/s42U6MU0/pUy8rggCP2GlO0zy2gxZBKk5PtD97VI+vazrLdynr96Bv0j2kfUhpg5dxHsJmMqIO VzhiwJ+7x/zGlP+GhGmTpol4oB2cSjfrHY5sIt0l8yvcLV7BrGP8ZQpf0J0brC354mM+yrqY1YWut /DlY/GEsw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZzAi-0001yB-IW; Tue, 03 Nov 2020 16:28:37 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZzAe-0001vA-Br for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 16:28:33 +0000 Received: by mail-wm1-x344.google.com with SMTP id p19so250063wmg.0 for ; Tue, 03 Nov 2020 08:28:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version; bh=K2K7ZVRD9BA18hlrtxInGmokftlIRLIfMZ1QNfSK0cY=; b=XdYfJJUOCttjvBR95tYU7drWhNkSoz4HrFrJjxBTJZQEu9ELrelI6mTsxSKHKb5FzQ lqQhX3c9aaY0tw+5xC6D5wXhorMLQ/BhSzNULzetBx/m+1a1p3WTuodwtuKr/jl4ZbR1 xg2ArobFMqBBkV/BkZ1H1/qT+WvVXtY8Rt5JnKsTj7eWhnCz5dsyiKG6+apWukToA+0M r7OxrYbsT6rH0b36OZMWlegfVgREleFwnYVGVW1vS96dA0TywuEEkRXegcYTbHdzWU8G kTyQmMi+7Kc2gIZsRI+mRL0pMrujYDYoRC0Qp4GxPbuWqWU8IKcOE9TKdLoLPNzkNoPC tKqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version; bh=K2K7ZVRD9BA18hlrtxInGmokftlIRLIfMZ1QNfSK0cY=; b=UWbBftpo2AnBk4pWbZ3v/taot2f990v7tRZNll1oNkGcQPBlCmpxvWwH0SYW91BZ0c DcMUQJoS9GkvVG5mIt2ocLypF4eRnWULH5uhzWVKJkb0hvRSFNOIpYQT57MpZQy7LIU4 B/QhVMPjzcj7YBHE+m4dNRumSYzrc/h6qFvBNfsCptO1LGd2QqBy30s8PhuBrkHV2F+U 3L5YxXP2YTzrcdiCW9frA7HYyO3M727zZvngE/CQkTwqKz7AOWh/2iokX5znaCPtalDW PQUE3OI9FUpD8/C8QttX/iPjdQsw216I4lZaWE6aMKmdx8f/pb0/VSGNpBHQ9iVsxn/M 1hIw== X-Gm-Message-State: AOAM531g8KHao7POMs8XyjLM3rYPQlLqEn6VeH01wysGn8tpodg3CSk5 v277u/13hNTG1ZJSq9XCqHY= X-Google-Smtp-Source: ABdhPJyidN0ztnsF+MRkznBxcSEAQgVpLLZNOh9dKPsEI7QQVOYUXTrtxuS0q4mmEK46GxnhurLa5Q== X-Received: by 2002:a1c:5401:: with SMTP id i1mr615336wmb.124.1604420909706; Tue, 03 Nov 2020 08:28:29 -0800 (PST) Received: from matteo-xps-15-9560.lan ([2a01:4b00:a40c:9900::14e]) by smtp.gmail.com with ESMTPSA id h128sm3589690wme.38.2020.11.03.08.28.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 08:28:28 -0800 (PST) Message-ID: <5ea8344baa73068f30945ca5c76f582ca4844b3e.camel@gmail.com> Subject: Re: [PATCH v2 3/6] ARM: dts: sun8i: s3: Add dtsi for the Elimo Impetus SoM From: Matteo Scordino To: Maxime Ripard Date: Tue, 03 Nov 2020 16:28:27 +0000 In-Reply-To: <20201102100540.wkqoy4nilmee7mpv@gilmour.lan> References: <20201029022000.601913-1-matteo.scordino@gmail.com> <20201030234325.5865-4-matteo.scordino@gmail.com> <20201102100540.wkqoy4nilmee7mpv@gilmour.lan> User-Agent: Evolution 3.36.4-2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_112832_479695_223FF54B X-CRM114-Status: GOOD ( 23.49 ) 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="===============7615774092720557561==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7615774092720557561== Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-wbx2wFjDKrNK7WkR3NQx" --=-wbx2wFjDKrNK7WkR3NQx Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable --=20 Matteo Scordino / Embedded Software Consultant Mobile: +44 (0)7463701446 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-Modu= le > > 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/b= oot/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 No, BT is provided over SDIO by a Cypress 43455. When used with the Initium carrier board, UART1 goes to an FTDI bridge that= 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 wi= th a PC, it's convenient to provide power+connectivity on a single port. I guess your point is that we would be better off only defining this in the= DTS of the carrier board? --=-wbx2wFjDKrNK7WkR3NQx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEzO0zAuXCENUlBKYqFH4A68XNhRoFAl+hhSsACgkQFH4A68XN hRoC9A//acjWor4uoQfnXZAxIuLZXZl5Er0aJ43+XTEhJbZ7/+n4NDV1BgxmadNa fy3vh5TLBwYDI0hWGOcqCES2Jb9KKHevNl18xh7ON03y23PDowEei8fR1Dm1/3Lp EZCogWg+xi3OKhE6zAfUHCZP6mA7Ff51m91ThyUbxeLDTbFjyJOCOEYSqImuBGQM NCuNoScC3SFuiiCye7qRE3kz9PkdPQ7Ku8SB+d7vtfLMg7BHsqyrMJKrJezFePR9 BDWMH/mDO9lb0YACITAByNyvh7yYy0fTwCGvOxM7kYA3boiCnVL1Yghj9P48uxPq 6CehqH5mrmpIhrxlNgvq5Jr2AmO3yQS7rFUG/n0psxgwH9fG35/gHDIMjx2j3+mP +7fdGm4R+F7mIsQhaEBh84Tk39sIKt2Fb3OruPjCibFDx/brGM1Iy3H26iPWo59P ugzr1TfVgBuiDl7HEa8S0PaCX6QEIbmfSA0hUbOyWPUaetn53yVnpXeC6d6Yj0Lj HCg0uFpT+LBQzN1zmL3uSEKVXnflDsKxnx2eY8kG94h1vnbDxkYP8tM4L6vx+UG0 FP1knNQQ2wtfv/yl2ZSXBWTF+5dlthOplmgSX1mrF0SEc6pia7d6QD03G/ibrQK4 PEqKuPKFgGTLs+Qqpxm0+s6bZuPc0P4s85hWMJjt00mct54ZjY4= =A6vS -----END PGP SIGNATURE----- --=-wbx2wFjDKrNK7WkR3NQx-- --===============7615774092720557561== 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 --===============7615774092720557561==--