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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 26-04-15 13:01, Mark Brown wrote:
On Sun, Apr 26, 2015 at 12:54:36PM +0200, Michal Suchanek wrote:
On 26 April 2015 at 12:32, Mark Brown <broonie@xxxxxxxxxx> wrote:

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.

Describe your actual hardware in the DT then add the relevant device ID
to spidev.

I think there is actual a use for just binding spidev as spidev,
think e.g. the spi pins on the raspberry pi.

How do you deal we suggest with such a situation ?

Regards,

Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux