Using SPI-/I2C-devices without device-tree

Comments
-
A similar effect can be achieved using ACPI overlays. We have a solution for this in the pipeline - I think it is due to be released for ubilinux in the coming weeks. Basically it allows user-supplied ACPI extensions to be loaded (appended to the ACPI tables from the BIOS) during init by the kernel, and these in turn will tell the kernel about the SPI and I2C devices that are connected. There is a facility in the ACPI spec to encapsulate parameters which are analogous to the Device Tree specification, and the kernel drivers can pick these up (requires some specific kernel patches to make it work). So, basically, it allows the user to leverage those kernel modules which were written with Device Trees in mind.
-
Well, I do hope you'll write how to use them on your wiki, when your solution is out.
-
@Dan O'Donovan said:
A similar effect can be achieved using ACPI overlays. We have a solution for this in the pipeline - I think it is due to be released for ubilinux in the coming weeks. Basically it allows user-supplied ACPI extensions to be loaded (appended to the ACPI tables from the BIOS) during init by the kernel, and these in turn will tell the kernel about the SPI and I2C devices that are connected. There is a facility in the ACPI spec to encapsulate parameters which are analogous to the Device Tree specification, and the kernel drivers can pick these up (requires some specific kernel patches to make it work). So, basically, it allows the user to leverage those kernel modules which were written with Device Trees in mind.Is this solution implemented nowadays in UP kernel?
Categories
- All Categories
- 105 Announcements & News
- 55 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 55 Unboxing & Project Sharing
- 32 Tech Updates
- 660 UP Products
- 1 UP 7000
- UP Squared i12
- 8 UP Xtreme i12
- 9 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 18 UP Squared V2
- 54 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 58 UP Squared Pro
- 142 UP Xtreme
- 834 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 215 Starter Kits & Peripheral