Schorschi
Posts: 245
Joined: Thu Nov 22, 2012 9:38 pm

Request adding additional sensors to dtoverlay sensor supported list?

Fri Aug 07, 2020 4:35 am

Request adding additional sensors to dtoverlay sensor supported list? The following sensors are requested to be added to the supported list of sensors via dtoverlay:

MPL115A2
MCP9808
AP3216
DS3231 AT24C32
HDC1080
BH1750FVI
TSL2561
TEMT6000
MAX31865

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 9880
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Request adding additional sensors to dtoverlay sensor supported list?

Fri Aug 07, 2020 8:57 am

It's not rocket science, but it also doesn't happen by magic. There's also a requirement for drivers to exist in the kernel, and someone to have the hardware to test the overlays with.

Looking down your list, DS3231 is already supported via the i2c-rtc overlay. I haven't checked for the other ones.

MPL115A2 seems to be under drivers/iio/pressure/mpl115_i2c.c
MCP9808 is under drivers/hwmon/jc42.c
AP3216 I don't see.
AT24C32 is under drivers/i2c/i2c-slave-eeprom.c
HDC1080 is under drivers/iio/humidity/hdc100x.c
BH1750 is under drivers/iio/light/bh1750.c
TSL2561 is under drivers/iio/light/tsl2563.c
TEMT6000 I don't see.
MAX31865 I don't see.

I'm only looking at the 5.4 kernel, so drivers may have been added in later versions. In which case it may be possible to backport them.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Schorschi
Posts: 245
Joined: Thu Nov 22, 2012 9:38 pm

Re: Request adding additional sensors to dtoverlay sensor supported list?

Sun Aug 09, 2020 8:05 am

I can test most of these as needed if you need someone to help test. I am also familiar with C programming (not C# or C++)... which seems to be(coming) a lost art now? Other than when developing firmware images for ESP nodes (8266, 32, etc.) and Arduino micro controllers.

Return to “Device Tree”