Skip to content

Add overlays and configs for several i2c sensors - #6093

Merged
pelwell merged 6 commits into
raspberrypi:rpi-6.9.yfrom
javiercarrascocruz:feature/hdc3020_as73211_overlays
Apr 5, 2024
Merged

pelwell merged 6 commits into
raspberrypi:rpi-6.9.yfrom
javiercarrascocruz:feature/hdc3020_as73211_overlays

Conversation

@javiercarrascocruz

@javiercarrascocruz javiercarrascocruz commented Apr 5, 2024 •

Copy link
Copy Markdown
Contributor

New nodes for i2c-sensor:

  • hdc3020
  • as73211
  • as7331

New configs to build as modules:

  • HDC3020
  • HTS221, overlay already exists.
  • AS73211
  • AS7331

This sensor is available since v6.8.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
This sensor is available since v6.8.

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

@pelwell pelwell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The overlay changes look fine, but the config changes need to be run through "make ... savedefconfig" first. defconfig files are meant to contain only the changes from the defaults, and they should appear in the order in which Kconfig encounters them. The test that you've got it right is that the output of "make ... savedefconfig" matches the _defconfig file you started with.

I don't mind having so many commits, but they will ultimately be squashed down to 2 - dts and defconfigs.

Comment thread arch/arm/configs/bcm2709_defconfig Resolved
Comment thread arch/arm/configs/bcm2709_defconfig Resolved
Comment thread arch/arm/configs/bcm2709_defconfig Resolved
This device has been supported since v4.1, and overly support was added
recently.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
This device has been supported since v4.14. Its driver also supports
the recently introduced as7331 spectral UV sensor.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Add this sensor to i2c-sensor-common.dtsi

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Add this sensor to i2c-sensor-common.dtsi

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
@javiercarrascocruz
javiercarrascocruz force-pushed the feature/hdc3020_as73211_overlays branch from a8eb81a to 5944b5c Compare April 5, 2024 13:09
@pelwell
pelwell merged commit 6e153d9 into raspberrypi:rpi-6.9.y Apr 5, 2024
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Apr 5, 2024
See: raspberrypi/linux#6089

kernel: rp1: Support interrupt CPU affinity
See: raspberrypi/linux#6090

kernel: i2c: designware: Make the SDA hold time half LCNT
See: raspberrypi/linux#6091

kernel: Add support for Chipcap 2 sensor
See: raspberrypi/linux#6083

kernel: nvmem: raspberrypi: Add nvmem driver for reading customer OTP
See: raspberrypi/linux#6014

kernel: Add overlays and configs for several i2c sensors
See: raspberrypi/linux#6093
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Apr 5, 2024
See: raspberrypi/linux#6089

kernel: rp1: Support interrupt CPU affinity
See: raspberrypi/linux#6090

kernel: i2c: designware: Make the SDA hold time half LCNT
See: raspberrypi/linux#6091

kernel: Add support for Chipcap 2 sensor
See: raspberrypi/linux#6083

kernel: nvmem: raspberrypi: Add nvmem driver for reading customer OTP
See: raspberrypi/linux#6014

kernel: Add overlays and configs for several i2c sensors
See: raspberrypi/linux#6093
6by9 added a commit to 6by9/linux that referenced this pull request Apr 1, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
raspberrypi#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
pelwell pushed a commit that referenced this pull request Apr 1, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
pelwell pushed a commit that referenced this pull request Apr 1, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
pelwell pushed a commit that referenced this pull request Apr 1, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request Apr 7, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request Apr 7, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request Apr 10, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request Apr 14, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
nmbath pushed a commit to victronenergy/linux that referenced this pull request Apr 22, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
raspberrypi/linux#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request Apr 24, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request Apr 24, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request Apr 28, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request May 6, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request May 14, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request May 20, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request May 23, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request Jun 3, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request Jun 5, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
rajeshkumarwr pushed a commit to rajeshkumarwr/linux-yocto that referenced this pull request Jun 9, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
raspberrypi/linux#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
popcornmix pushed a commit that referenced this pull request Jun 10, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
rajeshkumarwr pushed a commit to rajeshkumarwr/linux-yocto that referenced this pull request Jun 12, 2025
The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
raspberrypi/linux#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
rajeshkumarwr pushed a commit to rajeshkumarwr/linux-yocto that referenced this pull request Jun 16, 2025
commit b37a3f6bb815f8e7b7ae0023c853aadc1207e487 from
https://github.com/raspberrypi/linux.git rpi-6.12.y

The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
raspberrypi/linux#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Rajeshkumar Ramasamy <rajeshkumar.ramasamy@windriver.com>
rajeshkumarwr pushed a commit to rajeshkumarwr/linux-yocto that referenced this pull request Jun 17, 2025
commit b37a3f6bb815f8e7b7ae0023c853aadc1207e487 from
https://github.com/raspberrypi/linux.git rpi-6.12.y

The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
raspberrypi/linux#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Rajeshkumar Ramasamy <rajeshkumar.ramasamy@windriver.com>
rajeshkumarwr pushed a commit to rajeshkumarwr/linux-yocto that referenced this pull request Jun 17, 2025
commit b37a3f6bb815f8e7b7ae0023c853aadc1207e487 from
https://github.com/raspberrypi/linux.git rpi-6.12.y

The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
raspberrypi/linux#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Rajeshkumar Ramasamy <rajeshkumar.ramasamy@windriver.com>
rajeshkumarwr pushed a commit to rajeshkumarwr/linux-yocto that referenced this pull request Jun 18, 2025
commit b37a3f6bb815f8e7b7ae0023c853aadc1207e487 from
https://github.com/raspberrypi/linux.git rpi-6.12.y

The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
raspberrypi/linux#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Rajeshkumar Ramasamy <rajeshkumar.ramasamy@windriver.com>
rajeshkumarwr pushed a commit to rajeshkumarwr/linux-yocto that referenced this pull request Jun 19, 2025
commit b37a3f6bb815f8e7b7ae0023c853aadc1207e487 from
https://github.com/raspberrypi/linux.git rpi-6.12.y

The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
raspberrypi/linux#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Rajeshkumar Ramasamy <rajeshkumar.ramasamy@windriver.com>
rajeshkumarwr pushed a commit to rajeshkumarwr/linux-yocto that referenced this pull request Jun 19, 2025
commit b37a3f6bb815f8e7b7ae0023c853aadc1207e487 from
https://github.com/raspberrypi/linux.git rpi-6.12.y

The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
raspberrypi/linux#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Rajeshkumar Ramasamy <rajeshkumar.ramasamy@windriver.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