st,stts751.yaml 794 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/hwmon/st,stts751.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: STTS751 Thermometer
  7. maintainers:
  8. - Javier Carrasco <javier.carrasco.cruz@gmail.com>
  9. properties:
  10. compatible:
  11. const: st,stts751
  12. reg:
  13. maxItems: 1
  14. smbus-timeout-disable:
  15. description:
  16. When set, the smbus timeout function will be disabled.
  17. $ref: /schemas/types.yaml#/definitions/flag
  18. required:
  19. - compatible
  20. - reg
  21. additionalProperties: false
  22. examples:
  23. - |
  24. i2c {
  25. #address-cells = <1>;
  26. #size-cells = <0>;
  27. thermometer@48 {
  28. compatible = "st,stts751";
  29. reg = <0x48>;
  30. smbus-timeout-disable;
  31. };
  32. };