arm: dts: overlays: rpi-sense: add upstream humidity compatible
authorPeter Robinson <pbrobinson@gmail.com>
Sun, 5 May 2019 20:07:12 +0000 (21:07 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:33 +0000 (00:08 +0100)
The upstream humidiity driver uses "st,hts221" for the compatible
string so add that in as well so it will work with an unmodified
upstream kernel driver. We leave the downstream as the priority.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
arch/arm/boot/dts/overlays/rpi-sense-overlay.dts

index 2715324..6eba2a1 100644 (file)
@@ -38,7 +38,7 @@
                        };
 
                        hts221-humid@5f {
-                               compatible = "st,hts221-humid";
+                               compatible = "st,hts221-humid", "st,hts221";
                                reg = <0x5f>;
                                status = "okay";
                        };