brcm2708: rename target to bcm27xx
[openwrt/staging/wigyori.git] / target / linux / bcm27xx / patches-4.19 / 950-0418-arm-dts-overlays-rpi-sense-add-upstream-humidity-com.patch
1 From 50d3f15ea5d6ca2705a009722dd7d4108c9f75d9 Mon Sep 17 00:00:00 2001
2 From: Peter Robinson <pbrobinson@gmail.com>
3 Date: Sun, 5 May 2019 21:07:12 +0100
4 Subject: [PATCH] arm: dts: overlays: rpi-sense: add upstream humidity
5 compatible
6
7 The upstream humidiity driver uses "st,hts221" for the compatible
8 string so add that in as well so it will work with an unmodified
9 upstream kernel driver. We leave the downstream as the priority.
10
11 Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
12 ---
13 arch/arm/boot/dts/overlays/rpi-sense-overlay.dts | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/arch/arm/boot/dts/overlays/rpi-sense-overlay.dts
17 +++ b/arch/arm/boot/dts/overlays/rpi-sense-overlay.dts
18 @@ -38,7 +38,7 @@
19 };
20
21 hts221-humid@5f {
22 - compatible = "st,hts221-humid";
23 + compatible = "st,hts221-humid", "st,hts221";
24 reg = <0x5f>;
25 status = "okay";
26 };