mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
overlays: i2c-sensor: Add tmp117 support
Add support for the TMP117 temperature sensor to the i2c-sensor overlay. See: https://github.com/raspberrypi/linux/issues/7077 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
This commit is contained in:
@@ -2603,6 +2603,9 @@ Params: addr Set the address for the ADS7828, ADS7830,
|
||||
tmp102 Select the Texas Instruments TMP102 temp sensor
|
||||
Valid addresses 0x48-0x4b, default 0x48
|
||||
|
||||
tmp117 Select the Texas Instruments TMP117 temp sensor
|
||||
Valid addresses 0x48-0x4b, default 0x48
|
||||
|
||||
tsl4531 Select the AMS TSL4531 digital ambient light
|
||||
sensor
|
||||
|
||||
|
||||
@@ -835,6 +835,34 @@
|
||||
};
|
||||
};
|
||||
|
||||
fragment@54 {
|
||||
target = <&i2cbus>;
|
||||
__dormant__ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "okay";
|
||||
|
||||
tmp117: tmp117@48 {
|
||||
compatible = "ti,tmp117";
|
||||
reg = <0x48>;
|
||||
vcc-supply = <®_3v3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fragment@98 {
|
||||
target-path = "/";
|
||||
__dormant__ {
|
||||
reg_3v3: i2c-sensor-reg-3v3 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "i2c_sensor_reg_3v3";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fragment@99 {
|
||||
target = <&gpio>;
|
||||
__dormant__ {
|
||||
@@ -901,6 +929,7 @@
|
||||
veml6035 = <0>,"+51+99";
|
||||
veml7700 = <0>,"+52";
|
||||
veml3235 = <0>,"+53";
|
||||
tmp117 = <0>,"+54+98";
|
||||
|
||||
addr = <&bme280>,"reg:0", <&bmp280>,"reg:0", <&tmp102>,"reg:0",
|
||||
<&lm75>,"reg:0", <&hdc100x>,"reg:0", <&sht3x>,"reg:0",
|
||||
@@ -915,7 +944,7 @@
|
||||
<&as7331>,"reg:0", <&adxl345>,"reg:0",
|
||||
<&ads7828>,"reg:0", <&ads7830>,"reg:0",
|
||||
<&adxl355>,"reg:0", <&bmp58x>,"reg:0",
|
||||
<&veml6030>,"reg:0";
|
||||
<&veml6030>,"reg:0", <&tmp117>,"reg:0";
|
||||
int_pin = <&int_pins>, "brcm,pins:0",
|
||||
<&int_pins>, "reg:0",
|
||||
<&max30102>, "interrupts:0",
|
||||
|
||||
Reference in New Issue
Block a user