Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2765 - Long working use of spidev in Device Tree fails in recent kernels for P1020 NXP/Freescale/PowerPC #7566

Open
openwrt-bot opened this issue Jan 23, 2020 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

jeclark20006:

Here's I original ticket posting from several years ago.


The driver for the Linux-4.4.6 kernel supplied with the 'trunk' source code, gives the following message when the eSPI driver is initialized.

Kernel boot printk's...

spidev spi32766.0: buggy DT: spidev listed directly in DT

Upon looking into this apparently this diagnostic was added for some reason which seems to be impossible to find.

In any case, the 'solution' that was proposed in one of the messages I found discussing the problem was to 'modify the driver' to accept the spi device in question... which in my opinion corrupts the whole business of the Device Tree, and no other description was give on how to correct the Device Tree to match someone's expectation of what it should be.

The irony is that when I ignore the error message, the devices are entered in to the /dev/spidevX.Y correctly

When I remove the offending 'spidev' compatibility tag, the instances fail to appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant