This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMP139: Device tree node creation under dts

Part Number: TMP139

Dear Forum-members,

Can you please let me know how to create tmp139 device node in device tree?

We tried with below option , but no luck

* I3C device with a static I2C address. */
	thermal_sensor: sensor@37,39200100000 {
	reg = <0x68 0x204 0x100000>;
	assigned-address = <0xa>;
};

If you can provide Provisional ID(PID) will also helpful.

Thanks,
A R Urla
  • Hi A R Urla,

    Thank you for posting to the Sensing forum.

    The TMP139 device address will be 0x17 if the SA pin is connected to ground, or the address will be 0x37 if the SA pin is connected to VDDSPD. The SETHID command can be used to update the 3-bit HID field.

    The TMP139 does not support ENTDAA and PID, as the addressing scheme is based on the Local ID (LID) and Host ID (HID), as described above.

    Best regards,
    Nicole