From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH 3/3] ARM: dts: sun5i: Add spi2 alias on A10s Olinuxino Date: Mon, 30 May 2016 10:29:38 +0200 Message-ID: <20160530082938.GE4247@lukather> References: <908ed06eb46f2162e222258aa14df545d0fa5b48.1464129859.git.hramrach@gmail.com> 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="bi5JUZtvcfApsciF" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 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 , Chen-Yu Tsai , 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 --bi5JUZtvcfApsciF Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Thu, May 26, 2016 at 07:25:24PM -0000, Michal Suchanek wrote: > spi2 is available on the UEXT connector > > The bus is named spi2 in the A10s manual and Olinuxino manual so it is > pointless to alias it to something else like spi0. That's not how aliases work in the DT. It's about indexing the devices that are enabled on the board, so it should definitely be 0, especially since it's the only SPI bus usable on that board anyway. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --bi5JUZtvcfApsciF--