2023-04-19 02:41 AM
I am working on a project which has 2 board revisions A and B.(A was the old revision and B is new). Board A has the accelerometer chip lsm6dso and board B has the accelerometer chip ism330dlc. The driver used is drivers/iio/imu/st_lsm6dsx/. If I use the compatible string in dts as compatible = "st,ism330dlc" and only the accelerometer in REV B is working and not in board A. But if I add compatible = "st,lsm6dso", the accelerometer in board A is only working and not in board B. What changes can I make in the dts or in the driver so that the same driver can be compatible with both boards and the accelerometer is working on both boards?
2023-04-20 08:02 AM
Hi @smoha.2 ,
Welcome to ST Community!
Which are the differences between Board A and B about the pinout of MEMS?