Re: [PATCH 2/3] spidev: Add DT binding example.

Michal Suchanek
2015-04-26T10:55:21Z

On 26 April 2015 at 12:32, Mark Brown <broonie@kernel.org> wrote:
> On Tue, Mar 24, 2015 at 11:50:53AM +0100, Michal Suchanek wrote:
>
>> +A spidev example for devicetree binding in a board dts file
>> +&spi2 {
>
> 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.

Thanks

Michal