On Wed, Apr 20, 2016 at 05:43:32PM +0530, Bhuvanchandra DV wrote:
SPI drivers bind to the device as configured in DT, but in case of
spidev(non DT approach) the device is not available in hand to bind the
driver. So tried this approach of creating the device and then bind spidev.
I agree this is not a standard way we bind SPI devices. With out a device
available, seems it is not possible to bind spidev in non DT approach.
Please correct me if i'm wrong.
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.