Device tree
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!