2021-08-02 12:10 AM
LSM6DSO will NACK the broadcast after the RSTDAA sent in the reboot probe sequence.
Here is the case to reproduce the issue:
1. Only one LSM6DSO is on the I3C bus which is in pure I3C mode.
2. The first-time kernel boot after power-up is okay. I3C bus and LSM6DSO both probe okay.
3. Execute command “reboot�? in rootfs to do the warm reset.
4. The LSM6DSO will NACK the second I3C bus broadcast after I3C sends the broadcast of RSTDAA(0x6) when it is rebooting.
Is there anyone meet this problem? I use the upstreamed code of this sensor in Linux kernel: drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c
Thanks.
2021-08-23 03:05 AM
Hi, I know that ST supports also on Github for specific drivers-related topics:
https://github.com/torvalds/linux/blob/master/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c
You can try to open an issue there to get more help from Linux community.
\Dk
2021-08-23 03:16 AM
@CWang_221 You just introduced me to i3c, thanks