1 From f8bd38ac8b299bf55497f678e65babdd99d7e9f1 Mon Sep 17 00:00:00 2001
2 From: Alex Tucker <alex@floop.org.uk>
3 Date: Tue, 3 Jan 2017 21:30:41 +0000
4 Subject: [PATCH] Add support for Silicon Labs Si7013/20/21
5 humidity/temperature sensor. (#1765)
8 arch/arm/boot/dts/overlays/README | 3 ++
9 arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts | 49 +++++++++++++----------
10 2 files changed, 31 insertions(+), 21 deletions(-)
12 --- a/arch/arm/boot/dts/overlays/README
13 +++ b/arch/arm/boot/dts/overlays/README
14 @@ -543,6 +543,9 @@ Params: bmp085 Select t
16 bmp280 Select the Bosch sensortronic BMP280
18 + si7020 Select the Silicon Labs Si7013/20/21 humidity/
23 Info: Enable the i2c_bcm2708 driver for the i2c0 bus. Not all pin combinations
24 --- a/arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts
25 +++ b/arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts
27 -// Definitions for a few digital barometric pressure and temperature sensors
28 +// Definitions for I2C based sensors using the Industrial IO interface.
33 - compatible = "brcm,bcm2708";
34 + compatible = "brcm,bcm2708";
37 - target = <&i2c_arm>;
39 - #address-cells = <1>;
44 - compatible = "bosch,bmp085";
46 - default-oversampling = <3>;
51 - compatible = "bosch,bmp280";
58 + target = <&i2c_arm>;
60 + #address-cells = <1>;
65 + compatible = "bosch,bmp085";
67 + default-oversampling = <3>;
72 + compatible = "bosch,bmp280";
78 + compatible = "si7020";
86 bmp085 = <&bmp085>,"status";
87 bmp280 = <&bmp280>,"status";
88 + si7020 = <&si7020>,"status";