Skip to content

Add support for VEML6075 and HTS221 in i2c-sensor overlay - #5965

Merged
pelwell merged 3 commits into
raspberrypi:rpi-6.8.yfrom
javiercarrascocruz:i2c-sensor-updates
Feb 17, 2024
Merged

pelwell merged 3 commits into
raspberrypi:rpi-6.8.yfrom
javiercarrascocruz:i2c-sensor-updates

Conversation

@javiercarrascocruz

Copy link
Copy Markdown
Contributor

The HTS221 humidity and temperature sensor is only supported inside the
rpi-sense v1 and v2 overlays, but there is still no support as a
standalone sensor. Moreover, its interrupt (data ready) is still not
supported. When at it, irq.h has been added to use interrupt trigger
definitions instead of hard coded numbers.

Support for the VEML6075 UVA and UVB light sensor has been added to the
kernel with v6.8. This device is supported by IIO and does not support
additional parameters like interrupts or different I2C addresses.

Use meaningful labels for the interrupt triggers instead of hardcoded
numbers as it is done in several overlays to improve readability.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
The HTS221 humidity and temperature sensor is only supported inside the
rpi-sense v1 and v2 overlays, but there is still no support as a
standalone sensor. Moreover, its interrupt (data ready) is still not
supported.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Support for the veml6075 UVA and UVB light sensor has been added to the
kernel with v6.8. Add the corresponding node to i2c-sensor.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
@javiercarrascocruz

Copy link
Copy Markdown
Contributor Author

It seems that the errors have nothing to do with this PR. Are they known issues in rpi-6.8.y?

@pelwell

pelwell commented Feb 17, 2024

Copy link
Copy Markdown
Contributor

Are they known issues in rpi-6.8.y?

It seems to have crept in with 6.8-rc3, and will be fixed before it's released.

@pelwell
pelwell merged commit ec970d8 into raspberrypi:rpi-6.8.y Feb 17, 2024
pelwell added a commit that referenced this pull request Feb 17, 2024
See: #5965

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
@pelwell

pelwell commented Feb 17, 2024 •

Copy link
Copy Markdown
Contributor

I've added a patch enabling the VEML6075 driver in the defconfig files, and a temporary build fix.

popcornmix pushed a commit that referenced this pull request Feb 19, 2024
See: #5965

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Feb 19, 2024
kernel: vc4/hvs: Fix lbm size calculation for yuv
See: raspberrypi/linux#5963

kernel: Set PCIe QOS chicken bits for 2712D0
See: raspberrypi/linux#5955

kernel: Add support for VEML6075 and HTS221 in i2c-sensor overlay
See: raspberrypi/linux#5965

kernel: Adding Support for interlude audio Hats
See: raspberrypi/linux#5949

kernel: brcmfmac: Add sae_ext WPA3 support
See: raspberrypi/linux#5945

kernel: arm: dt: bcm2712: Reduce DDC frequency to 97.5kHz from 200kHz
See: raspberrypi/linux#5954

kernel: ARM: dts: Add CM5 DTS support
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Feb 19, 2024
kernel: vc4/hvs: Fix lbm size calculation for yuv
See: raspberrypi/linux#5963

kernel: Set PCIe QOS chicken bits for 2712D0
See: raspberrypi/linux#5955

kernel: Add support for VEML6075 and HTS221 in i2c-sensor overlay
See: raspberrypi/linux#5965

kernel: Adding Support for interlude audio Hats
See: raspberrypi/linux#5949

kernel: brcmfmac: Add sae_ext WPA3 support
See: raspberrypi/linux#5945

kernel: arm: dt: bcm2712: Reduce DDC frequency to 97.5kHz from 200kHz
See: raspberrypi/linux#5954

kernel: ARM: dts: Add CM5 DTS support
popcornmix pushed a commit that referenced this pull request Mar 5, 2024
See: #5965

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request Mar 11, 2024
See: #5965

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request Mar 19, 2024
See: #5965

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
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.

2 participants