Device tree
Options
Bartosz
New Member Posts: 1 ✭
Hello,
We want to use some additional driver which is not in standard compilation. We compiled your system and we received the .ko file. We put this file in /lib/ and used depmode to add to modules.alias. Now, we want to know, how to load this driver. In embeded linux we have device tree and this is simple, here is not so easy if we have driver which need also some extra parameters like a intrupt, reset line or so.
The driver which we want to use is for I2C device. The question is whether the Linux for X86 have some similar function like a device tree?
Best Regards
Comments
-
Hi @Bartosz ,
In theory, the following instructions should work for i2c device:
modprobe sc16is7xx
echo ‘sc16is740 0x90’ > /sys/devices/pci0000:00/808622C1:01/i2c-*/new_deviceCheers!
Categories
- All Categories
- 63 Announcements & News
- 48 Product News - New Product/Product Change Notice/ End-of-life
- 96 Welcome Developers!
- 45 Unboxing & Project Sharing
- 22 Tech Updates
- 3.4K UP Products
- 15 UP 7000
- 1 UP Squared i12
- 11 UP Xtreme i12
- 13 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 23 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 56 UP Squared Pro
- 136 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 264 Starter Kits & Peripheral