Re: [PATCH RESEND] spi: spidev: Allow matching DT compatible strings from ACPI

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

 



On Thu, Jun 30, 2016 at 03:49:31PM +0300, Mika Westerberg wrote:

> If someone is using "linux,spidev" as compatible string it will not
> match anything and we are not going to add any kind of fallback to the
> ACPI core for that.

> Of course we cannot predict what happens in the future but is it really
> preventing merging of this patch?

Yes.  People are *way* too happy to abuse spidev in board descriptions,
especially people working in the areas these boards seem to target.
There seems to be little engagement with the abstractions involved or
interest in keeping things working well long term in more general
applications, it's all about quick hacks now.

Given the push for compatibility with DT and reuse of the existing
software stack I just don't have any confidence that the fallback path
isn't going to be implemented, and relying on anyone noticing that these
warnings are broken when it does get added (or that spidev is affected
at all) just doesn't seem wise to me.

> > I'm worried that the reason it's working fine may be that there is very
> > little usage, and that there may be more gotchas like we're already
> > seeing lurking about.

> With more usage I'm sure we can improve things. After all the end goal
> is to let single driver to work on both DT and ACPI systems with minimal
> changes. If you think the current implementation is flawed, nothing
> prevents you from proposing better alternative :-)

I've been suggesting that you should just use DT!

Attachment: signature.asc
Description: PGP signature


[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