> On Mon, Jan 1, 2018 at 11:42 AM, Jonathan Cameron <jic23@xxxxxxxxxx> wrote: > >> I'm rather unsure if we should be adding more gyro only >> support for these devices. Ths lsm9ds0 was in theory >> a stop gap whilst support was properly sorted out. >> >> Looking back Crestez did post an RFC for each of the >> parts as well for reference but made the point that this was >> the wrong way to do things. >> >> This part (and the ds0) really need to be supported by a proper gyro/accel >> driver rather than just cherry picking out the gyro part. > > So what we need is a combined driver that expose the gyro and accell > channels in the same device, right? > Right. I added st_lsm6dsx driver to properly support that kind of devices (accel + gyro). At the moment it supports LSM6DS3/3H/M/L. I guess it is not so easy to add LSM9DSx support since if I am not wrong on LSM9DSx accel and gyro are not independent , but if you enable the gyro, the accel will be enabled as well, so hw queue management has to be reviewed. Regards, Lorenzo > What a mess. That means we can only use half the device at the time > at best. > > Do we have a list of all of those ST devices that this situation pertains to? > > Yours, > Linus Walleij > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- UNIX is Sexy: who | grep -i blonde | talk; cd ~; wine; talk; touch; unzip; touch; strip; gasp; finger; gasp; mount; fsck; more; yes; gasp; umount; make clean; sleep -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html