Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include tsl4531, veml6070 and hdc100x dtoverlay #2252

Merged
merged 3 commits into from
Nov 1, 2017

Conversation

ubergesundheit
Copy link

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
Copy link
Contributor

6by9 commented Oct 31, 2017

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
Author

Ok, done!

What about the dts files? Are they ok?

@pelwell
Copy link
Contributor

pelwell commented Oct 31, 2017

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
Copy link
Contributor

pelwell commented Nov 1, 2017

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
Author

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

@pelwell
Copy link
Contributor

pelwell commented Nov 1, 2017

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
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