From: Mark Brown Subject: Re: [PATCH 2/3] spidev: Add DT binding example. Date: Thu, 30 Apr 2015 20:58:29 +0100 Message-ID: <20150430195829.GG22845@sirena.org.uk> References: <20150428141630.GR22845@sirena.org.uk> <20150428171738.GY22845@sirena.org.uk> <20150429174059.GQ22845@sirena.org.uk> <20150429180659.GT22845@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="suYuRLWiGRtbsVTA" Cc: "Eric D." , linux-sunxi , Jonathan Corbet , Hans de Goede , Linux Kernel Mailing List , Maxime Ripard , linux-spi , Martin Sperl 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 --suYuRLWiGRtbsVTA Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Wed, Apr 29, 2015 at 08:37:24PM +0200, Michal Suchanek wrote: > On 29 April 2015 at 20:06, Mark Brown wrote: > > I think the rest of the thread had that covered - there's both adding > > the device IDs and Maxime's patch. > And adding device IDs is unacceptable for users of devboards while > Maxime's patch is not accepted into the kernel. > I am using a version of Maxime's patch myself right now. It does not > seem it's going to be include in the kernel any time soon, however. A big reason for that is that it's not in my inbox for me to review, these messages I flagged as unhelpful aren't going to help with that if only because I don't want to create the impression that such behaviour achieves results. > FWIW I added the ability to open any CS, even those claimed by kernel > drivers. This addresses any potential race of spidev binding before > the actual driver but has the potential to introduce some subtle bugs > when you open and reconfigure a CS used by a kernel driver or send > some commands that upset the device. This doesn't seem like an obviously good idea - having userspace be able to interact with a device without a running kernel driver knowing about it doesn't seem like something that will end well. --suYuRLWiGRtbsVTA--