Hi,
We need to implement the SI7020 humidity and temperature sensor.
Noticed that there seems to be standard kernel module driver for that device on I2C bus.
Can we can add that driver module into Toradex Angstrom Linux via Yocto or crosscompile it separately and how to adjust the device-tree in order to use it.
How to modify default I2C configuration in device tree in order to set it for SI7020 module in case we manage to build the driver?
We looked for SI7020 as standard module at menuconfig by " bitbake linux-toradex -f -c menuconfig " but didn’t found it there.
Thanks
Hi @kaloianpenev
Can we can add that driver module into Toradex Angstrom Linux via Yocto or crosscompile it separately and how to adjust the device-tree in order to use it.
You can add it using Yocto in the image you will create or compile and deploy it as a module or integrate in the kernel. It is located here:
Location:
-> Device Drivers
-> Industrial I/O support (IIO [=y])
-> Humidity sensors
Defined at drivers/iio/humidity/Kconfig:25
How to modify default I2C configuration in device tree in order to set it for SI7020 module in case we manage to build the driver?
You can have look here for general Information about Device Tree Customization and I2c.
Best regards,
Jaski