]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
BCM270X_DT: Add lm75 to i2c-sensor overlay
authorPhil Elwell <phil@raspberrypi.org>
Tue, 14 Mar 2017 09:10:05 +0000 (09:10 +0000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:56 +0000 (12:07 +0200)
See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=177236

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/arm/boot/dts/overlays/README
arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts

index c1883bba938290f03826026651c764cfd4ac278b..a8853b7820cd7a333cdaa2421f770a834dc724d5 100644 (file)
@@ -388,9 +388,6 @@ Params: dr_mode                 Dual role mode: "host", "peripheral" or "otg"
         g-np-tx-fifo-size       Size of non-periodic tx fifo size in gadget
                                 mode
 
-        g-tx-fifo-size          Size of periodic tx fifo per endpoint
-                                (except ep0) in gadget mode
-
 
 [ The ds1307-rtc overlay has been deleted. See i2c-rtc. ]
 
@@ -608,6 +605,11 @@ Params: bmp085                  Select the Bosch sensortronic BMP085
 
         bmp280                  Select the Bosch sensortronic BMP280
 
+        lm75                    Select the Maxim LM75 temperature sensor
+
+        lm75addr                Choose the address for the LM75 (0x48-0x4f -
+                                default 0x4f)
+
         si7020                  Select the Silicon Labs Si7013/20/21 humidity/
                                 temperature sensor
 
index 31bda8da4cb6a56bfe493a81b918900995fb0589..606b2d5012abf2e85712be631c42ea40a0b512c5 100644 (file)
                                status = "disable";
                        };
 
+                       lm75: lm75@4f {
+                               compatible = "lm75";
+                               reg = <0x4f>;
+                               status = "disable";
+                       };
+
                        si7020: si7020@40 {
                                compatible = "si7020";
                                reg = <0x40>;
@@ -36,6 +42,8 @@
        __overrides__ {
                bmp085 = <&bmp085>,"status";
                bmp280 = <&bmp280>,"status";
+               lm75 = <&lm75>,"status";
+               lm75addr = <&lm75>,"reg:0";
                si7020 = <&si7020>,"status";
        };
 };