From: Mark Brown Subject: Re: [PATCH 2/3] spidev: Add DT binding example. Date: Tue, 28 Apr 2015 15:16:30 +0100 Message-ID: <20150428141630.GR22845@sirena.org.uk> References: <20150426110144.GK22845@sirena.org.uk> <553CCABA.3090504@redhat.com> <12F80B18-7418-430E-94F7-5A20C133BA9A@martin.sperl.org> <20150426125113.GF5627@lukather> <20150427101601.GN22845@sirena.org.uk> <20150427173036.GA10950@lukather> <20150427180728.GW22845@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="g4Y02m9+cVWBC+9/" 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 --g4Y02m9+cVWBC+9/ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Tue, Apr 28, 2015 at 02:52:54PM +0200, Michal Suchanek wrote: > On 28 April 2015 at 14:15, Eric D. wrote: > > I was just seeking a way to make spidev device appear under mainline kernel > > and found this thread. > > Could someone explain the right way to do this ? > There is no approved RightWay(tm). That is not the case as you well know. As has been said several times the compatible for the device should be added to the match table in spidev.c. --g4Y02m9+cVWBC+9/--