How to read raw data from LSM6DSL?
LSM6DSL is connected to processor via i2c bus
Following are the configuration made in dts and config file:
imu: st-lsm6dsl@6b {
compatible = "st,lsm6dsl";
reg = <0x6b>;
};
config file
CONFIG_IIO_ST_LSM6DSX=y
CONFIG_IIO_ST_LSM6DSX_I2C=y
I am able to see device address (0x6B) at boot time but not able to read value from sys/bus/i2c/devices/2-006B/iio:device0 and iio:device1 on doing cat in_accel_x_raw
