[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160420135259.GK3217@sirena.org.uk>
Date: Wed, 20 Apr 2016 14:52:59 +0100
From: Mark Brown <broonie@...nel.org>
To: Bhuvanchandra DV <bhuvanchandra.dv@...adex.com>
Cc: gregkh@...uxfoundation.org, stefan@...er.ch,
linux-kernel@...r.kernel.org, linux-spi@...r.kernel.org,
Stefan Agner <stefan.agner@...adex.com>
Subject: Re: [RFC 1/2] spi: spidev: Use 'new_id' sysfs file for enabling
spidev
On Wed, Apr 20, 2016 at 06:41:11PM +0530, Bhuvanchandra DV wrote:
> On 04/20/2016 05:47 PM, Mark Brown wrote:
> >The DT should describe the hardware so the DT should describe whatever
> >device is connected to the spidev, what you're trying to do is have
> >spidev bind to these new compatible strings.
> The device which i was pointing earlier is the SPI master device(spiB.C) not
> the external h/w device interfaced to it. Yes, DT will describe the h/w
> interfaced on SPI master device(spiB.C). In case of spidev we are not
> supposed to describe in DT as it is not a real h/w. The intention of this
> patchset is to completely avoid spidev in DT and load it via sysfs new_id
> file for selected SPI master device(spiB.C).
This is the problem, you've not understood what spidev is. spidev is
providing access to a slave device so it binds to the slave device.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists