On Sun Sep 20, 2026 at 8:53 PM EEST, Jonathan Cameron wrote:
> On Fri, 18 Sep 2026 16:40:16 +0300
> Jaakko Koivisto <jmatko@utu.fi> 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.
The idea was that measuring is the primary function of the sensor, and
all the other functions are secondary. Not as informative as I had
hoped. Thanks for the suggestion, will change it for v2.
>
>> 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(-)
>>