ti,lm87.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/hwmon/ti,lm87.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Texas Instruments LM87 Hardware Monitor
  7. maintainers:
  8. - Javier Carrasco <javier.carrasco.cruz@gmail.com>
  9. description: |
  10. The LM87 is a serial interface system hardware monitor
  11. with remote diode temperature sensing.
  12. Datasheets:
  13. https://www.ti.com/product/LM87
  14. properties:
  15. compatible:
  16. enum:
  17. - adi,adm1024
  18. - ti,lm87
  19. reg:
  20. maxItems: 1
  21. has-temp3:
  22. $ref: /schemas/types.yaml#/definitions/flag
  23. description:
  24. This configures pins 18 and 19 to be used as a second
  25. remote temperature sensing channel. By default the pins
  26. are configured as voltage input pins in0 and in5.
  27. has-in6:
  28. $ref: /schemas/types.yaml#/definitions/flag
  29. description:
  30. When set, pin 5 is configured to be used as voltage input
  31. in6. Otherwise the pin is set as FAN1 input.
  32. has-in7:
  33. $ref: /schemas/types.yaml#/definitions/flag
  34. description:
  35. When set, pin 6 is configured to be used as voltage input
  36. in7. Otherwise the pin is set as FAN2 input.
  37. vcc-supply:
  38. description:
  39. Regulator supplying power, can be configured to measure
  40. 5.0V power supply. Default is 3.3V.
  41. required:
  42. - compatible
  43. - reg
  44. additionalProperties: false
  45. examples:
  46. - |
  47. i2c {
  48. #address-cells = <1>;
  49. #size-cells = <0>;
  50. hwmon@2e {
  51. compatible = "ti,lm87";
  52. reg = <0x2e>;
  53. has-temp3;
  54. vcc-supply = <&reg_5v0>;
  55. };
  56. };