UP2 SPI

Rostislav Spinar
New Member Posts: 6 ✭
Hello,
...
[ 4.736416] spidev spi-SPT0001:00: do not use this driver in production systems!
[ 4.739434] spidev spi-SPT0001:01: do not use this driver in production systems!
...
Could we get more information about this?
Regards
Rostislav
...
[ 4.736416] spidev spi-SPT0001:00: do not use this driver in production systems!
[ 4.739434] spidev spi-SPT0001:01: do not use this driver in production systems!
...
Could we get more information about this?
Regards
Rostislav
Comments
-
It's not an actual error-message, it's just that some kernel-developer doesn't like the idea of SPI being useable from userspace and thus doesn't want people using that driver, so he/she/it added that line there. Nothing more. Ignore it.
-
There's a little bit of info about it here:
https://patchwork.kernel.org/patch/9212219/
Leading up to this, there was some debates with the kernel maintainer which shed some light on it:
https://patchwork.kernel.org/patch/6113191/
My interpretation is that, basically, the warning is just there as an advisory note to make it clear that the kernel isn't loading a driver that has been specifically crafted for the peripheral device that is present on the SPI bus, and cannot give any guarantees by itself that the device will function correctly when this driver is loaded (because this is left up to the user-space "driver" that accesses it via spidev). From the kernel point-of-view, the preference would be to avoid the ambiguity of matching a generic device to a generic driver, and implement something device-specific instead to ensure that drivers and devices are properly matched.
But this doesn't mean that your user-space driver won't work, or that spidev isn't appropriate for using with your device. It just means, in my view, that the kernel can't give any guarantees about it.
Categories
- All Categories
- 105 Announcements & News
- 55 Product News - New Product/Product Change Notice/ End-of-life
- 186 Welcome Developers!
- 55 Unboxing & Project Sharing
- 50 Tech Updates
- 693 UP Products
- 11 UP 7000
- 1 UP Squared i12
- 10 UP Xtreme i12
- 11 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 19 UP Squared V2
- 59 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 60 UP Squared Pro
- 143 UP Xtreme
- 837 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 216 Starter Kits & Peripheral