ti,tmp007.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/iio/temperature/ti,tmp007.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: IR thermopile sensor with integrated math engine
  7. maintainers:
  8. - Manivannan Sadhasivam <manivannanece23@gmail.com>
  9. description: |
  10. http://www.ti.com/lit/ds/symlink/tmp007.pdf
  11. properties:
  12. compatible:
  13. const: ti,tmp007
  14. reg:
  15. description: |
  16. The I2C address of the sensor (changeable via ADR pins)
  17. ------------------------------
  18. |ADR1 | ADR0 | Device Address|
  19. ------------------------------
  20. 0 0 0x40
  21. 0 1 0x41
  22. 0 SDA 0x42
  23. 0 SCL 0x43
  24. 1 0 0x44
  25. 1 1 0x45
  26. 1 SDA 0x46
  27. 1 SCL 0x47
  28. maxItems: 1
  29. interrupts:
  30. maxItems: 1
  31. required:
  32. - compatible
  33. - reg
  34. additionalProperties: false
  35. examples:
  36. - |
  37. i2c {
  38. #address-cells = <1>;
  39. #size-cells = <0>;
  40. temp-sensor@40 {
  41. compatible = "ti,tmp007";
  42. reg = <0x40>;
  43. interrupt-parent = <&gpio0>;
  44. interrupts = <5 0x08>;
  45. };
  46. };
  47. ...