1 From 3c258618cbc0cddb7076b61a08755aa4f73d27db Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Sun, 15 Apr 2018 10:36:15 +0100
4 Subject: [PATCH 274/454] overlays: Add ds1621 to the i2c-sensor overlay
6 The ds1621 enables the Dallas Semiconductors DS1621 temperature
9 See: https://github.com/raspberrypi/linux/issues/2509
11 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
13 arch/arm/boot/dts/overlays/README | 15 +++++++++------
14 .../boot/dts/overlays/i2c-sensor-overlay.dts | 19 ++++++++++++++++++-
15 2 files changed, 27 insertions(+), 7 deletions(-)
17 --- a/arch/arm/boot/dts/overlays/README
18 +++ b/arch/arm/boot/dts/overlays/README
19 @@ -821,8 +821,8 @@ Name: i2c-sensor
20 Info: Adds support for a number of I2C barometric pressure and temperature
22 Load: dtoverlay=i2c-sensor,<param>=<val>
23 -Params: addr Set the address for the BME280, BMP280, TMP102,
24 - HDC100X, LM75 or SHT3x
25 +Params: addr Set the address for the BME280, BMP280, DS1621,
26 + HDC100X, LM75, SHT3x or TMP102
28 bme280 Select the Bosch Sensortronic BME280
29 Valid addresses 0x76-0x77, default 0x76
30 @@ -834,6 +834,9 @@ Params: addr Set the
31 bmp280 Select the Bosch Sensortronic BMP280
32 Valid addresses 0x76-0x77, default 0x76
34 + ds1621 Select the Dallas Semiconductors DS1621 temp
35 + sensor. Valid addresses 0x48-9x4f, default 0x48
37 hdc100x Select the Texas Instruments HDC100x temp sensor
38 Valid addresses 0x40-0x43, default 0x40
40 @@ -844,6 +847,10 @@ Params: addr Set the
42 lm75addr Deprecated - use addr parameter instead
44 + sht3x Select the Sensiron SHT3x temperature and
45 + humidity sensor. Valid addresses 0x44-0x45,
48 si7020 Select the Silicon Labs Si7013/20/21 humidity/
51 @@ -856,10 +863,6 @@ Params: addr Set the
52 veml6070 Select the Vishay VEML6070 ultraviolet light
55 - sht3x Select the Sensiron SHT3x temperature and
56 - humidity sensor. Valid addresses 0x44-0x45,
61 Info: Enable the i2c_bcm2708 driver for the i2c0 bus. Not all pin combinations
62 --- a/arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts
63 +++ b/arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts
69 + target = <&i2c_arm>;
71 + #address-cells = <1>;
76 + compatible = "ds1621";
84 addr = <&bme280>,"reg:0", <&bmp280>,"reg:0", <&tmp102>,"reg:0",
85 - <&lm75>,"reg:0", <&hdc100x>,"reg:0", <&sht3x>,"reg:0";
86 + <&lm75>,"reg:0", <&hdc100x>,"reg:0", <&sht3x>,"reg:0",