Hello,
Im trying to get st_pressure driver working with IIO driver with MX8M Variscite eval kit board using linux 4.4.78
In menuconfig i activated drivers + device tree looks like :
lps35hw@5d{
compatible = "st,lps35hw";
reg = <0x5d>;
interrupt-parent = <&gpio4>;
interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
};
then at boot, dmesg output :
[ 5.078608] st-press-i2c 3-005d: 3-005d supply vdd not found, using dummy regulator
[ 5.078649] st-press-i2c 3-005d: 3-005d supply vddio not found, using dummy regulator
[ 5.080323] st-press-i2c: probe of 3-005d failed with error -22
Also i can't find information about I2C "-22" error meaning in kernel errors code.
i2c is running fine with other devices that are not IIO.
I copied drivers from linux 5.3+ since it's not available on linux 4.4.78
What i'm missing here ?
Thank you for your help.
OK, thank you Diego.
As a workaround i'm now using this /dev/input/eventx driver :
Not as great as IIO but working well :')
Hello,
Unfortunately, the pressure sensor that you are using is from ST and we do not have the support of that sensor in our BSP. I suggest you go with them for proper support about how to implement the driver in a Linux system.
You could search on the repositories of ST and see if they already have a solution.
I apologize for the inconveniences this may give you
Best regards,
Diego.