The Everlight PM16D17 is attached via I2C and can measure the proximity of objects optically. Model it as IIO driver and include it into the device tree of the IOT2050-SM where it is available on the main board. Note that at the time of writing, the datasheet link is still work in progress at Everlight (product listed, link still broken). We are in contact with them. Jan Baocheng Su (1): dt-bindings: vendor-prefixes: Add EVERLIGHT Chao Zeng (2): dt-bindings: iio: Add everlight pm16d17 binding iio: proximity: Add support for everlight pmd16d17 sensor .../iio/proximity/everlight,pm16d17.yaml | 95 +++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + drivers/iio/proximity/Kconfig | 11 + drivers/iio/proximity/Makefile | 1 + drivers/iio/proximity/pm16d17.c | 324 ++++++++++++++++++ 5 files changed, 433 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/proximity/everlight,pm16d17.yaml create mode 100644 drivers/iio/proximity/pm16d17.c -- 2.43.0