From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754076AbcEYKic (ORCPT ); Wed, 25 May 2016 06:38:32 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:36700 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753663AbcEYKiX (ORCPT ); Wed, 25 May 2016 06:38:23 -0400 Date: Wed, 25 May 2016 11:38:10 +0100 From: Mark Brown To: Mark Rutland Cc: Frank Rowand , Christer Weinigel , linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org Message-ID: <20160525103810.GU8206@sirena.org.uk> References: <1464107960-10775-1-git-send-email-christer@weinigel.se> <20160524174140.GE11605@leverpostej> <5744BC76.9090403@gmail.com> <20160525092034.GE1337@leverpostej> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7oqf3GZ7P06zs6V6" Content-Disposition: inline In-Reply-To: <20160525092034.GE1337@leverpostej> X-Cookie: Vitamin C deficiency is apauling. User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 2a01:348:6:8808:fab::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH] devicetree - document using aliases to set spi bus number. X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7oqf3GZ7P06zs6V6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, May 25, 2016 at 10:20:34AM +0100, Mark Rutland wrote: > On Tue, May 24, 2016 at 01:41:26PM -0700, Frank Rowand wrote: > > The code and behavior is in the Linux kernel. It should be visible in > > the documentation instead of being a big mystery of how it works. > As above, I don't entirely agree. Mindlessly documenting existing Linux > behaviour can have the unfortuante effect of moving people towards the > wrong tool for the job. Yes, this is exactly my concern - the articulated use case (which didn't suprise me at all) is for using spidev which is itself not just Linux specific but this particular version of Linux right now specific. There are lots of things that happen to work but are in fact terrible ideas that leave messes for our future selves. We need to distinguish between things that are real, meaningful system descriptions and things that are implementation details resulting from the rush to force everyone on to DT. --7oqf3GZ7P06zs6V6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXRYCRAAoJECTWi3JdVIfQQYAH/jFnDJHc2isn9cM1xXGAfYI6 eIM3tzhcghVmJj9Ranlnazxw9Gg+4t7GceyYV35MCRpj3TX92BzArTnWxDePJaKG 3Ytyvbv2xjLP4yOVWkukigvXJ6t061YWJalG8PZ6lLSaQj3lCHOVuCrbhbZzKrK7 BWYJTKseDQ2Bta4ylK112iz0TG+4+tr7/CJ/6PrmLicfvHlbdLsUyBkHq28l1Owh +Hm3iCxbpENANvlgG+4uAJSYtOoP9a2AsB4dslHiZ9AZQbRrbpZrt2U58n6EkYST PpoK1GOboFkLnXHzQ6pHhnUN87IglklLERS60GImQhNK8sc6nwxW8SFwbZHbaGI= =25aX -----END PGP SIGNATURE----- --7oqf3GZ7P06zs6V6--