brcm2708: add linux 4.19 support
[oweals/openwrt.git] / target / linux / brcm2708 / patches-4.19 / 950-0492-arm-dts-overlays-rpi-sense-add-upstream-humidity-com.patch
1 From cecb1267b1b51025c6e54bb4ba05c84ff6e7e3c7 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 492/703] 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                         };