ti,tmp108.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/hwmon/ti,tmp108.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: TMP108/P3T1035/P3T1085/P3T2030 temperature sensor
  7. maintainers:
  8. - Krzysztof Kozlowski <krzk@kernel.org>
  9. description: |
  10. The TMP108 or NXP P3T Family (P3T1035, P3T1085 and P3T2030) is a digital-
  11. output temperature sensor with a dynamically-programmable limit window,
  12. and under- and over-temperature alert functions.
  13. NXP P3T Family (P3T1035, P3T1085 and P3T2030) supports I3C.
  14. Datasheets:
  15. https://www.ti.com/product/TMP108
  16. https://www.nxp.com/docs/en/data-sheet/P3T1085UK.pdf
  17. https://www.nxp.com/docs/en/data-sheet/P3T1035XUK_P3T2030XUK.pdf
  18. properties:
  19. compatible:
  20. oneOf:
  21. - items:
  22. - const: nxp,p3t2030
  23. - const: nxp,p3t1035
  24. - const: nxp,p3t1035
  25. - const: nxp,p3t1085
  26. - const: ti,tmp108
  27. interrupts:
  28. items:
  29. - description: alert interrupt
  30. reg:
  31. maxItems: 1
  32. "#thermal-sensor-cells":
  33. const: 0
  34. vcc-supply:
  35. description: phandle to the regulator that provides the V+ supply
  36. required:
  37. - compatible
  38. - reg
  39. additionalProperties: false
  40. examples:
  41. - |
  42. #include <dt-bindings/interrupt-controller/irq.h>
  43. i2c {
  44. #address-cells = <1>;
  45. #size-cells = <0>;
  46. sensor@48 {
  47. compatible = "ti,tmp108";
  48. reg = <0x48>;
  49. interrupt-parent = <&gpio1>;
  50. interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&tmp_alrt>;
  53. vcc-supply = <&supply>;
  54. #thermal-sensor-cells = <0>;
  55. };
  56. };