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

From: Martin Sperl
Date: Sun May 03 2015 - 17:00:53 EST



> On 03.05.2015, at 11:59, Mark Brown <broonie@xxxxxxxxxx> wrote:
> Hrm, yes - that should work. I'd ask Greg, that's not something the bus
> implements.

It is still slightly more âcomplicatedâ from a distribution perspective,
but if that is what makes it a âcleanâ solution, then that is the way to
go forward.

I will investigate the fine details, but I fear we may need some
âcompatibilityâ magic similar to ânew_idâ in USB to make it work,
because it seems as if you can ONLY force a driver to bind if it
_is_ compatible...

See also here: https://lwn.net/Articles/143397/

But from what I can tell this functionality (mentioned in this article
by Greg) has not been moved into driver-core and bus, so we would need
to run our own version of it.--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/