Skip to content

Include tsl4531, veml6070 and hdc100x dtoverlay - #2252

Merged
pelwell merged 3 commits into
raspberrypi:rpi-4.9.yfrom
ubergesundheit:add-some-iio-sensors
Nov 1, 2017
Merged

pelwell merged 3 commits into
raspberrypi:rpi-4.9.yfrom
ubergesundheit:add-some-iio-sensors

Conversation

@ubergesundheit

Copy link
Copy Markdown

This pull request adds the needed kernel config keys and extends the
i2c-sensor-overlay.dts file with the needed definitions.

I am unsure though with the overlay definitons.
Everything works on a Pi3, when I enable everything in config.txt with

dtparam=i2c_arm=on
dtoverlay=i2c-sensor,hdc100x,addr=0x43
dtoverlay=i2c-sensor,bmp280,addr=0x77
dtoverlay=i2c-sensor,veml6070
dtoverlay=i2c-sensor,tsl4531

I would love to hear some feedback and see this eventually merged, so I don't have to use a custom compiled kernel.

This commit adds the needed kernel config keys and extends the
i2c-sensor-overlay.dts file with the needed definitions
@6by9

6by9 commented Oct 31, 2017

Copy link
Copy Markdown
Contributor

You need to add the config options to bcmrpi_defconfig as well, otherwise the overlays can only work on a Pi2 or Pi3.

@ubergesundheit

Copy link
Copy Markdown
Author

Ok, done!

What about the dts files? Are they ok?

@pelwell

pelwell commented Oct 31, 2017

Copy link
Copy Markdown
Contributor

They DTS looks OK at first glance, but I'll check it tomorrow. You can add hdc100x to the description of the addr parameter.

@pelwell
pelwell merged commit e7976b2 into raspberrypi:rpi-4.9.y Nov 1, 2017
@pelwell

pelwell commented Nov 1, 2017

Copy link
Copy Markdown
Contributor

I shortened a few lines in the README and mentioned HDC100X in the addr parameter as discussed, but otherwise it was fine. Merged.

@pelwell pelwell mentioned this pull request Nov 1, 2017
@ubergesundheit

Copy link
Copy Markdown
Author

Thank you very much! When can I expect these changes live for everyone?

@pelwell

pelwell commented Nov 1, 2017

Copy link
Copy Markdown
Contributor

rpi-update releases are irregular but relatively frequent - about once a week on average, the last being three days ago - depending on the quantity and importance of the new content. Raspbian apt-get package updates are far less frequent - usually months apart.

@ubergesundheit

Copy link
Copy Markdown
Author

Thank you very much again!

@ubergesundheit
ubergesundheit deleted the add-some-iio-sensors branch November 20, 2017 16:05
pelwell pushed a commit to pelwell/linux that referenced this pull request Nov 20, 2017
This commit adds the needed kernel config keys and extends the
i2c-sensor-overlay.dts file with support for:
* the Texas Instruments HDC100x temp sensor
* the AMS TSL4531 digital ambient light sensor
* the Vishay VEML6070 ultraviolet light sensor
pelwell pushed a commit to pelwell/linux that referenced this pull request Nov 21, 2017
This commit adds the needed kernel config keys and extends the
i2c-sensor-overlay.dts file with support for:
* the Texas Instruments HDC100x temp sensor
* the AMS TSL4531 digital ambient light sensor
* the Vishay VEML6070 ultraviolet light sensor
pelwell pushed a commit that referenced this pull request Nov 21, 2017
This commit adds the needed kernel config keys and extends the
i2c-sensor-overlay.dts file with support for:
* the Texas Instruments HDC100x temp sensor
* the AMS TSL4531 digital ambient light sensor
* the Vishay VEML6070 ultraviolet light sensor
popcornmix pushed a commit that referenced this pull request Nov 21, 2017
This commit adds the needed kernel config keys and extends the
i2c-sensor-overlay.dts file with support for:
* the Texas Instruments HDC100x temp sensor
* the AMS TSL4531 digital ambient light sensor
* the Vishay VEML6070 ultraviolet light sensor
popcornmix pushed a commit that referenced this pull request Nov 24, 2017
This commit adds the needed kernel config keys and extends the
i2c-sensor-overlay.dts file with support for:
* the Texas Instruments HDC100x temp sensor
* the AMS TSL4531 digital ambient light sensor
* the Vishay VEML6070 ultraviolet light sensor
popcornmix pushed a commit that referenced this pull request Dec 1, 2017
This commit adds the needed kernel config keys and extends the
i2c-sensor-overlay.dts file with support for:
* the Texas Instruments HDC100x temp sensor
* the AMS TSL4531 digital ambient light sensor
* the Vishay VEML6070 ultraviolet light sensor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants