aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.14/950-0273-config-Enable-the-DS1621-I2C-temperature-sensor.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0273-config-Enable-the-DS1621-I2C-temperature-sensor.patch')
-rw-r--r--target/linux/brcm2708/patches-4.14/950-0273-config-Enable-the-DS1621-I2C-temperature-sensor.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0273-config-Enable-the-DS1621-I2C-temperature-sensor.patch b/target/linux/brcm2708/patches-4.14/950-0273-config-Enable-the-DS1621-I2C-temperature-sensor.patch
new file mode 100644
index 0000000000..6f73a2b402
--- /dev/null
+++ b/target/linux/brcm2708/patches-4.14/950-0273-config-Enable-the-DS1621-I2C-temperature-sensor.patch
@@ -0,0 +1,33 @@
+From d36a5cf6fe3a4b5116cd68338f11590283d497d2 Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Sun, 15 Apr 2018 10:35:22 +0100
+Subject: [PATCH 273/454] config: Enable the DS1621 I2C temperature sensor
+
+See: https://github.com/raspberrypi/linux/issues/2509
+
+Signed-off-by: Phil Elwell <phil@raspberrypi.org>
+---
+ arch/arm/configs/bcm2709_defconfig | 1 +
+ arch/arm/configs/bcmrpi_defconfig | 1 +
+ 2 files changed, 2 insertions(+)
+
+--- a/arch/arm/configs/bcm2709_defconfig
++++ b/arch/arm/configs/bcm2709_defconfig
+@@ -647,6 +647,7 @@ CONFIG_POWER_RESET=y
+ CONFIG_POWER_RESET_GPIO=y
+ CONFIG_BATTERY_DS2760=m
+ CONFIG_HWMON=m
++CONFIG_SENSORS_DS1621=m
+ CONFIG_SENSORS_JC42=m
+ CONFIG_SENSORS_LM75=m
+ CONFIG_SENSORS_SHT21=m
+--- a/arch/arm/configs/bcmrpi_defconfig
++++ b/arch/arm/configs/bcmrpi_defconfig
+@@ -640,6 +640,7 @@ CONFIG_POWER_RESET=y
+ CONFIG_POWER_RESET_GPIO=y
+ CONFIG_BATTERY_DS2760=m
+ CONFIG_HWMON=m
++CONFIG_SENSORS_DS1621=m
+ CONFIG_SENSORS_JC42=m
+ CONFIG_SENSORS_LM75=m
+ CONFIG_SENSORS_SHT21=m