Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4224058imm; Fri, 18 May 2018 01:13:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrzDG4S76gph7klfWO2+0AlhuNRl1ThocpKw4wRFHPgDdPmPSCy+yV8EBO/+DzcyxhRTfNh X-Received: by 2002:a17:902:9689:: with SMTP id n9-v6mr8326861plp.363.1526631206215; Fri, 18 May 2018 01:13:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526631206; cv=none; d=google.com; s=arc-20160816; b=V71Rdox87seX067BY3dkkM9K2IdYzQULdjjI/Z+jRqM/Di47UEiSDf5ymhJJYed9wJ 2VtYrLtXsnXqBzRl2OLAO+9hL1XHvLVlEiitZgYQx5CANhJaid++OTjYYwjkHIuz1GzL ZZYaCl2Ss0ll0MqTO2zE+C+xnAFqxGTftIBB+GCC3OzkzVJLOeA+v3BDC6WII85hVYOE uI6qltB/px7vbxKb6sUNwQ1erMq9m9KVvjfxfTi51SRMr0z2eJKeQQlEGUCiWmqctW5g 3WHH73okM9vPKtoq+MD+0Ak0TYNPNcKt2zZfXDS+z6GeqP+FKsRXrRyWtjj8JrFbRwy9 1Cgg== 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:arc-authentication-results; bh=kFFZC9kpjLaGYV+Wv7CS49GtWRCfMV0Nf3YmHEcrDmQ=; b=vHxCLfbUv3o4R+5xOQk5ouTi7294hRC8veiLTaZcq0rpLurMDq8PV4ha6Y8rsxFhjc V81p8dsqczKDhnuwZ1+DBTb5sdpcjURgQYCb0NaLo6hjTLuEH1S1/ykoULnzqc6bR+j3 dU+kkY2QlAaV4T0xCosg7gABusCaa08novqr1Rce8e92yPyDEZ0vfKh5b4VbGVTVCriL ha62fXFYc/4cR2/kHJk4Ep4QMphYDUsaOgj/3H6WXw2NlQacn6mAB+lkkJGbg0oN8q1f djw/yYw99B+rizyzFkuCfuyuvV07kK0ws01vbEyQ2GL8lxEbsezHbepLcja1iH+QioEM cDTQ== 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 r26-v6si1024161pgn.373.2018.05.18.01.13.11; Fri, 18 May 2018 01:13:26 -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 S1751957AbeERILp (ORCPT + 99 others); Fri, 18 May 2018 04:11:45 -0400 Received: from mail.bootlin.com ([62.4.15.54]:50838 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751201AbeERILn (ORCPT ); Fri, 18 May 2018 04:11:43 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 4BB7520714; Fri, 18 May 2018 10:11:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id 1DA192055A; Fri, 18 May 2018 10:11:41 +0200 (CEST) Date: Fri, 18 May 2018 10:11:41 +0200 From: Maxime Ripard To: Emmanuel Vadot Cc: wens@csie.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM64: dts: sun50i: a64: Add spi flash node for sopine Message-ID: <20180518081141.itlc4pelwkkpfvtv@flea> References: <20180517150613.11916-1-manu@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3dfrmciid7fgg2ew" Content-Disposition: inline In-Reply-To: <20180517150613.11916-1-manu@freebsd.org> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3dfrmciid7fgg2ew Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, May 17, 2018 at 05:06:13PM +0200, Emmanuel Vadot wrote: > The Sopine and Pine64-LTS have a winbond w25q128 spi flash on spi0. > Add a node for it. >=20 > Signed-off-by: Emmanuel Vadot > --- > arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi | 12 ++++++++++++ > 1 file changed, 12 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi b/arch/= arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi > index 43418bd881d8..3285aebc06d9 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi > @@ -66,6 +66,18 @@ > }; > }; > =20 > +&spi0 { > + status =3D "okay"; > + > + flash@0 { > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + compatible =3D "w25q128", "jedec,spi-nor"; This applies to this patch and your previous Orange Pi PC2 one, but the part name must have a vendor. Or you can drop it entirely if the SPI-NOR driver can auto-detect it properly. Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --3dfrmciid7fgg2ew Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlr+ir0ACgkQ0rTAlCFN r3Q5KBAAipzUPlHR9Dh2SPT5FSOyXo9okYVIh2my5Bw5moEtcgT/vMIc8FVK9iux YAlGwp5Bl1EOsWqXlDwDZuHbC+/0m8yTLfUrgdmFJfppjwyy8jtPR1af1NUT4aFh 5qE4EWzIRVglkSWxb86Tk4NF4ejm159H7ymFAj3s2RUIARrrNrTyTLDai52epC7y iyNNqgeBhHv8mye7NoPQb4dEL5Jmmju/Xhn7n0i+5y2gLVheWX8dxX4HJuVAJtEm DteMRXKwpZt+ym2Olup8YOv1qsuwuuiiSZuC5rkEqnC6/BKB+vYiJMDn4totuhAB qJPy9sH69Bm8BhfaX277fDNpVphooXI6q0fm3b0MYW9aNeQRvvQALYDlOiQqloYz Tk9uJrHwmbHLSyFmPOZmbflTk2GcBfjvOCefaAwnjmeax1iBBf/CHgmQWaERZom2 GvZu6X321lwJFQ165DD4U6KE6aWfPc4axkpIXm0BO0uuJNFSfzVN4wUSjHrycb8j 5ZozSmJf4zRuPPMUGoFbqiLso4Kx1E9MP5iuERBOfp1GYns0ArHGRUeSpyla11W7 lEySKzpZIL3JAAF/3S1Mlvretlx0nom2b428o9UU47Ls4M8tMQArif1vcrV4qAxS D64Trdfn277PRO9Wwo0K2qtCp3AMvsiJ/gMvk9XP3CHAWtUKosk= =AvFI -----END PGP SIGNATURE----- --3dfrmciid7fgg2ew--