Add support for MPL3115A2?
Author: Jibun-no-KageCreated Sep 18, 2026Updated Sep 18, 2026
Describe the bug
Sorry if this no longer the place to request sensor support as I have done in the past? Attempted to add MPL3115(A2) support.
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target = <&i2c1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
mpl3115: mpl3115@60 {
compatible = "fsl,mpl3115";
reg = <0x60>;
status = "okay";
};
};
};
};Did the following...
apt update && sudo apt install -y device-tree-compiler
dtc -@ -I dts -O dtb -o mpl3115.dtbo mpl3115.dts
cp mpl3115.dtbo /boot/firmware/overlays/
nano /boot/firmware/config.txt
dtoverlay=mpl3115
rebootBut did not seem to work or even load... dmesg showed no information?
dmesg | grep mpl3115
### Steps to reproduce the behaviour
Should see the typical 'UU' at the device addresss not '60' 0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
### Device (s)
Raspberry Pi 5
### System
cat /etc/rpi-issue
Raspberry Pi reference 2026-06-18
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, ca8aeed0ae300c2a89f55ce9617d5f96a27e99e5, stage2
vcgencmd version
2026/05/26 16:01:25
Copyright (c) 2012 Broadcom
version 086b83e3 (release) (embedded)
uname -a
Linux berzerk 6.18.50+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.18.50-1+rpt1 (2026-09-11) aarch64 GNU/Linux
### Logs
_No response_
### Additional context
_No response_Source: raspberrypi/linux