AnsweredAssumed Answered

Device tree configuration for humidity sensor

Question asked by devika R on Jun 4, 2019
Latest reply on Jun 6, 2019 by devika R



We have setup Yocto project 4.9.11_1.0.0 for imx6qpsabresd and need to add device tree configuration for temperature and humidity sensor(si7020).
We have added the following lines in imx6qdl-sabresd.dtsi file and also enabled si7020 as a module in kernel configuration.But it looks like the kernel module is not executing the functions after inserting it, as we are not seeing a print messages of "init/probe" functions.


  adc: si7020@40 {
               compatible = "silabs,si7020";
               reg = <0x40>;
               #io-channel-cells = <1>;


  iio-hwmon {
                  compatible = "iio-hwmon";
                  io-channels = <&adc 0>, <&adc 1>, <&adc 2>;


Can you please let us know about if there is something wrong with this dts?