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

Add bh1750 light sensor ccs811 air quality sensor to i2c-sensor overlay #4334

Closed
wants to merge 2 commits into from

Conversation

dopefishh
Copy link
Contributor

BH1750 is a commodity i2c light sensor.
CCS811 is a popular i2c air quality sensor.

Both are used a lot on raspberry pi's but not enabled by default in the kernel and there were no overlays available.

e.g.: https://learn.adafruit.com/adafruit-bh1750-ambient-light-sensor/python-circuitpython

and: https://learn.adafruit.com/adafruit-ccs811-air-quality-sensor/python-circuitpython

This MR adds an overlay and enables the modules in the default config for the raspberry pi variants

pelwell pushed a commit that referenced this pull request May 25, 2021
pelwell pushed a commit that referenced this pull request May 25, 2021
@pelwell
Copy link
Contributor

pelwell commented May 25, 2021

This PR required some patching up because the defconfigs were manually edited (make savedefconfig doesn't always use alphabetical order) and because it got overtaken by another i2c-sensor addition, but it's in rpi-5.10.y now and will be in future kernel builds.

@pelwell pelwell closed this May 25, 2021
pelwell pushed a commit that referenced this pull request May 25, 2021
pelwell pushed a commit that referenced this pull request May 25, 2021
pelwell pushed a commit that referenced this pull request May 25, 2021
pelwell pushed a commit that referenced this pull request May 25, 2021
popcornmix pushed a commit that referenced this pull request Jun 8, 2021
popcornmix pushed a commit that referenced this pull request Jun 8, 2021
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jun 8, 2021
kernel: Add device tree overlay for ssd1331-spi screen
See: raspberrypi/linux#4372

kernel: drm/vc4: FKMS: Change of Broadcast RGB mode needs a mode change
See: raspberrypi/linux#4356

kernel: PoE HAT Plus support
See: raspberrypi/linux#4367

kernel: usb: dwc2: Fix build in periphal-only mode
See: raspberrypi/linux#4368

kernel: Add bh1750 light sensor ccs811 air quality sensor to i2c-sensor overlay
See: raspberrypi/linux#4334

firmware: PoE+ HAT support
See: raspberrypi/linux#4367

firmware: arm_loader: Use Pi4 bootloader MAC_ADDRESS if set

firmware: platform: Apply ARM thermal throttling rules on BCM2711
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Jun 8, 2021
kernel: Add device tree overlay for ssd1331-spi screen
See: raspberrypi/linux#4372

kernel: drm/vc4: FKMS: Change of Broadcast RGB mode needs a mode change
See: raspberrypi/linux#4356

kernel: PoE HAT Plus support
See: raspberrypi/linux#4367

kernel: usb: dwc2: Fix build in periphal-only mode
See: raspberrypi/linux#4368

kernel: Add bh1750 light sensor ccs811 air quality sensor to i2c-sensor overlay
See: raspberrypi/linux#4334

firmware: PoE+ HAT support
See: raspberrypi/linux#4367

firmware: arm_loader: Use Pi4 bootloader MAC_ADDRESS if set

firmware: platform: Apply ARM thermal throttling rules on BCM2711
popcornmix pushed a commit that referenced this pull request Jun 14, 2021
popcornmix pushed a commit that referenced this pull request Jun 14, 2021
limeng-linux pushed a commit to limeng-linux/linux-yocto-develop that referenced this pull request Jun 27, 2021
commit  cb2156a234c9caef89322a871cdf9106616372a7 from
https://github.com/raspberrypi/linux.git rpi-5.12.y

See: raspberrypi/linux#4334
Signed-off-by: Meng Li <Meng.Li@windriver.com>
limeng-linux pushed a commit to limeng-linux/linux-yocto-develop that referenced this pull request Jun 27, 2021
commit  fd860f410cd6c183fe0e5bbc323bd77b266fe0ef from
https://github.com/raspberrypi/linux.git rpi-5.12.y

See: raspberrypi/linux#4334
Signed-off-by: Meng Li <Meng.Li@windriver.com>
popcornmix pushed a commit that referenced this pull request Jul 9, 2021
popcornmix pushed a commit that referenced this pull request Jul 9, 2021
popcornmix pushed a commit that referenced this pull request Jul 15, 2021
popcornmix pushed a commit that referenced this pull request Jul 15, 2021
limeng-linux pushed a commit to limeng-linux/linux-yocto-5.10 that referenced this pull request Jul 23, 2021
commit  a9400e7999696f7482fed5a59f27b4f87dc6749c from
https://github.com/raspberrypi/linux.git rpi-5.10.y

See: raspberrypi/linux#4334
Signed-off-by: Meng Li <Meng.Li@windriver.com>
popcornmix pushed a commit that referenced this pull request Jul 27, 2021
popcornmix pushed a commit that referenced this pull request Jul 27, 2021
Noltari pushed a commit to Noltari/rpi-linux that referenced this pull request Aug 20, 2021
Noltari pushed a commit to Noltari/rpi-linux that referenced this pull request Aug 20, 2021
This pull request was closed.
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