Guidance for a first IIO sensor driver contribution
Olivier Tanoh <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAM49wQtRt5JWDWZtu4Kc-Lk9miv-Uc0nYocd7JFiTVycXQExkw@mail.gmail.com> |
Hi all, I'm an embedded Linux engineer looking to contribute my first sensor driver to IIO. I'm familiar with the submission process (I've had patches merged to staging), and I've studied the structure of existing IIO drivers, si7005.c in particular, so I'm comfortable with probe, channel definitions and read_raw. I have I2C hardware for testing (Raspberry Pi CM4), so I can buy a part and validate on real hardware. My difficulty is picking a target. Most of the simple temperature/humidity sensors I looked at (SHT3x, AHT20, ...) already have hwmon drivers, and the recent parts I found in vendor catalogs (e.g. MAX30210) are already being submitted upstream. Two questions: Are there sensors the IIO community would like to see supported that currently have no driver? For a sensor that already has an hwmon driver, is an IIO driver considered worthwhile (for buffer/trigger support), or is that generally seen as redundant? I'd rather pick something useful than duplicate existing work. Any guidance would be appreciated. Thanks, Olivier Tanoh