Re: [PATCH 1/2] iio: lsm6dsx: Support temperature channel

From: Linus Walleij
Date: Tue Aug 29 2023 - 03:31:37 EST


On Mon, Aug 28, 2023 at 6:43 PM Jonathan Cameron <jic23@xxxxxxxxxx> wrote:

> FWIW this seems crazy. Ah well, Lorenzo is the expert on these beasts.

There is some crazy duct-tape code in st_lsm6dsx_set_odr() already...
If you request the external channels, the accelerometer is turned on
to provide a "tick".

I made a patch but was icky about it since I cannot test it, I'll try to
find some people from the sources to put on CC and send it out
as an RFC.

Yours,
Linus Walleij