From: Mark Brown Subject: Re: [PATCH 2/3] spidev: Add DT binding example. Date: Sun, 26 Apr 2015 12:01:44 +0100 Message-ID: <20150426110144.GK22845@sirena.org.uk> References: <20150426103257.GJ22845@sirena.org.uk> Reply-To: broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7hrYiJfkYNAb5QuV" Cc: linux-sunxi , Jonathan Corbet , linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux Kernel Mailing List To: Michal Suchanek Return-path: Content-Disposition: inline In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , List-Id: linux-spi.vger.kernel.org --7hrYiJfkYNAb5QuV Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Sun, Apr 26, 2015 at 12:54:36PM +0200, Michal Suchanek wrote: > On 26 April 2015 at 12:32, Mark Brown wrote: > > No, this is broken - nothing should ever bind to spidev as spidev. The > > fact that we have a binding document at all is a bug. > And how do you get spidev if nothing binds to it? > When you boot without the binding no device is created. Describe your actual hardware in the DT then add the relevant device ID to spidev. --7hrYiJfkYNAb5QuV--