From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753798AbbHTO7D (ORCPT ); Thu, 20 Aug 2015 10:59:03 -0400 Received: from down.free-electrons.com ([37.187.137.238]:41829 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753028AbbHTO7A (ORCPT ); Thu, 20 Aug 2015 10:59:00 -0400 Date: Thu, 20 Aug 2015 16:58:58 +0200 From: Maxime Ripard To: Michal Suchanek Cc: linux-sunxi@googlegroups.com, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Mark Brown , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Subject: Re: [PATCH 5/9] ARM: dts: sun7i: cubieboard2: Enable SPI0 Message-ID: <20150820145858.GX30520@lukather> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="je0mZywpqEo4t1RU" 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 --je0mZywpqEo4t1RU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 20, 2015 at 02:19:46PM -0000, Michal Suchanek wrote: > Only SPI0 is enabled. The schematic denotes it as the only SPI bus. > Other SPI pins are reserved for different peripherals. >=20 > Signed-off-by: Michal Suchanek What device is connected to the other end? > --- > arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/= dts/sun7i-a20-cubieboard2.dts > index 39a51d5..9861304 100644 > --- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts > +++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts > @@ -198,6 +198,13 @@ > status =3D "okay"; > }; > =20 > +&spi0 { > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&spi0_pins_a>, > + <&spi0_cs0_pins_a>; > + status =3D "okay"; > +}; > + You should probably add an alias to that bus too. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --je0mZywpqEo4t1RU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJV1esyAAoJEBx+YmzsjxAg0dIP/RH6quYZMPKsR4lYXHJdHSeP T6uf6561XZN1uNwbxs7zoW0AtCSIG950IjEh80FF7kgFPajF13PDqzNXpzeKyYhO +Q97gORmRScGCpurZm5lXqFfhxjiAErYcS0bxpWrfVdGlqtJwaStHoMqIeg9wxUd 4tOGLtYSaBOR5uWpxRDDsU3nUYxZ4lZY32jpx2F6pvXJmDPKiyEcUDJP78Qs3A2x mUB7lv981ePqUv7lG1g0b0YBViLIX52Em8lox9rZHltPnFRx9qu5ITpqAWHNK7s1 43ApouS/1QgUYK4vu43AZv6RxiqaDcJW/bwpRMBkNfE10E5qYOkSAUDii3xL0j4e pub3B1HfCWBaHQs3do8RCiMJ4Lo/XdtCnr7qJQQgFj9lWUpaYByZAgrzofn+06Vs jXw4IB4vLIxoTGF6cLLzBEONchNk+vlrA+G0hBEKeGcTDgQsFGLGsafCWG5DpVq+ ZjK5eQQ5hmxTeXnJsNCMuWbRgEBizGR3A0VcQ8DQFk+/WDkn1aYRnld/PKi3Sl3u nRYnNEb8unE3yB5+9AB0rI0VSAq/LC4MXefFXsU9wVRsCe2Qn1o/itQKrcY8G9/E 2QZDCz0+pwtflTgs2UfjM0iBonVIFeElyEHTayPwijB2LxSm2WunP9Jel1Yuw5wf GbcQPqRNL7i3gGskj8tG =CGAd -----END PGP SIGNATURE----- --je0mZywpqEo4t1RU--