Re: [PATCH 0/3] iio: chemical: sgp40: Add secondary chip functionality

From: Jonathan Cameron

Date: Sun Sep 20 2026 - 13:53:18 EST


On Fri, 18 Sep 2026 16:40:16 +0300
Jaakko Koivisto <jmatko@xxxxxx> wrote:
I'm not sure what 'secondary' means in the title. I'd just say
what you are adding
Add serial number readback, self-test and heater control

Slightly long line but more useful than a vague title.


> Add functions for getting Sensirion SGP40 VOC sensor serial number,
> running self-test, and turning the heating element off.
>
> Tested with adafruit SGP40 and waveshare SGP40 breakout boards using
> Raspberry Pi 3 and Raspberry Pi 1.
>
> Jaakko Koivisto (3):
> iio: chemical: sgp40: Implement get_serial_number-command
> iio: chemical: sgp40: Implement execute_self_test-command
> iio: chemical: sgp40: Implement turn_heater_off-command
>
> drivers/iio/chemical/sgp40.c | 159 ++++++++++++++++++++++++++++++++++-
> 1 file changed, 157 insertions(+), 2 deletions(-)
>