From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Fri, 1 May 2015 22:24:14 +0200 Subject: [PATCH 4/4] ARM: dts: sunxi: Add SPI aliases on A10s Olinuxino. In-Reply-To: References: Message-ID: <20150501202414.GL6062@lukather> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Apr 29, 2015 at 09:41:17AM +0200, Michal Suchanek wrote: > SPI aliases give nicer spidev device node names. > > Signed-off-by: Michal Suchanek > --- > arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > index cd8d08a..a49fc6a 100644 > --- a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > +++ b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > @@ -63,6 +63,9 @@ > serial0 = &uart0; > serial1 = &uart2; > serial2 = &uart3; > + spi0 = &spi0; > + spi1 = &spi1; > + spi2 = &spi2; That patch should be merged with the patch 3, and since there's only spi2 in use on that board, it should be aliased to spi0. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH 4/4] ARM: dts: sunxi: Add SPI aliases on A10s Olinuxino. Date: Fri, 1 May 2015 22:24:14 +0200 Message-ID: <20150501202414.GL6062@lukather> References: Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IuJpT0rwbUevm2bB" Return-path: Content-Disposition: inline In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Michal Suchanek Cc: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org --IuJpT0rwbUevm2bB Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Wed, Apr 29, 2015 at 09:41:17AM +0200, Michal Suchanek wrote: > SPI aliases give nicer spidev device node names. > > Signed-off-by: Michal Suchanek > --- > arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > index cd8d08a..a49fc6a 100644 > --- a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > +++ b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > @@ -63,6 +63,9 @@ > serial0 = &uart0; > serial1 = &uart2; > serial2 = &uart3; > + spi0 = &spi0; > + spi1 = &spi1; > + spi2 = &spi2; That patch should be merged with the patch 3, and since there's only spi2 in use on that board, it should be aliased to spi0. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --IuJpT0rwbUevm2bB-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752726AbbEAUZK (ORCPT ); Fri, 1 May 2015 16:25:10 -0400 Received: from down.free-electrons.com ([37.187.137.238]:53105 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750812AbbEAUZE (ORCPT ); Fri, 1 May 2015 16:25:04 -0400 Date: Fri, 1 May 2015 22:24:14 +0200 From: Maxime Ripard To: Michal Suchanek Cc: linux-sunxi@googlegroups.com, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] ARM: dts: sunxi: Add SPI aliases on A10s Olinuxino. Message-ID: <20150501202414.GL6062@lukather> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IuJpT0rwbUevm2bB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --IuJpT0rwbUevm2bB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 29, 2015 at 09:41:17AM +0200, Michal Suchanek wrote: > SPI aliases give nicer spidev device node names. >=20 > Signed-off-by: Michal Suchanek > --- > arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts b/arch/arm/= boot/dts/sun5i-a10s-olinuxino-micro.dts > index cd8d08a..a49fc6a 100644 > --- a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > +++ b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > @@ -63,6 +63,9 @@ > serial0 =3D &uart0; > serial1 =3D &uart2; > serial2 =3D &uart3; > + spi0 =3D &spi0; > + spi1 =3D &spi1; > + spi2 =3D &spi2; That patch should be merged with the patch 3, and since there's only spi2 in use on that board, it should be aliased to spi0. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --IuJpT0rwbUevm2bB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVQ+DuAAoJEBx+YmzsjxAg230P/jePfIjQ1L8zfPKlZgo863m2 ejO4ACvgvL3LJbAjHE5xgQ02g42e/D2nCnSdvHtnYy5laYoLB9o/7GF/AkN6xLIk JOY0V3Up4lqqtEPeiDKU3LLjYgWSrUFyh3rYpf+pifohHds8OSTr8gdGT/kit5aR 8pQw0P9v8fG056v3ifm1F4p+JvaggLqawOE8TjdiTilU8pRv7ifLQ8MC6GjLRUFN himTJtRI5PTzuZ2h9ma37U/ml914pDx+tSPmTHAhtw0RAaRYvDnrsouoHpxZ5kOS T007+gmeW6Nnd0CqvKCuSUBz5io2pFjpSLWiInyOh1Ghxp0O2sC8ehuqtXY+ZvLS s3oRurRT/d1bN7PGbMW1sPtdaMZJHG3Hx+LgM0vj5MO+TZ6TR0NpjSNs4ERrc34q QzWsyTIqpd9O696qU7hVgvldVKJn50Z2Han2tnzQhLP49HTKG/TFhHqfeSSSpMgT OWlMkE1lm+/vuYkhCdF4xBRmX6QguCyD9PuRLD5QXp+W+QoSTddGGOjf618YM8Jn NvSY/D4POcAQlKYQhmQyBDwvB5D6H7fPCyhQTS5X+eOnbnhw/EoeZ5pu+qTXB29U 6thn5cOP4aukmy0wcS5dVh9c38CsMe8etoPL8mVaQrirscZfH1ho7oOUUgIAFfhD VNastTUvIh927Jktq8GR =XK+V -----END PGP SIGNATURE----- --IuJpT0rwbUevm2bB--