Skip to content

Commit 7846229

Browse files
6by9popcornmix
authored andcommitted
dtoverlays: Disable kernel drivers for humidity sensor on Sense HATs
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>
1 parent ca26254 commit 7846229

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/arm/boot/dts/overlays/rpi-sense-overlay.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
hts221-humid@5f {
5353
compatible = "st,hts221-humid", "st,hts221";
5454
reg = <0x5f>;
55-
status = "okay";
55+
status = "disabled";
5656
};
5757
};
5858
};

arch/arm/boot/dts/overlays/rpi-sense-v2-overlay.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
hts221-humid@5f {
4747
compatible = "st,hts221-humid", "st,hts221";
4848
reg = <0x5f>;
49-
status = "okay";
49+
status = "disabled";
5050
};
5151

5252
lsm9ds1-accel@6a {

0 commit comments

Comments
 (0)