st-thermal.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Binding for Thermal Sensor driver for STMicroelectronics STi series of SoCs.
  2. Required parameters:
  3. -------------------
  4. compatible : st,<SoC>-<module>-thermal; should be one of:
  5. "st,stih415-sas-thermal",
  6. "st,stih415-mpe-thermal",
  7. "st,stih416-sas-thermal"
  8. "st,stih416-mpe-thermal"
  9. "st,stid127-thermal" or
  10. "st,stih407-thermal"
  11. according to the SoC type (stih415, stih416, stid127, stih407)
  12. and module type (sas or mpe). On stid127 & stih407 there is only
  13. one die/module, so there is no module type in the compatible
  14. string.
  15. clock-names : Should be "thermal".
  16. See: Documentation/devicetree/bindings/resource-names.txt
  17. clocks : Phandle of the clock used by the thermal sensor.
  18. See: Documentation/devicetree/bindings/clock/clock-bindings.txt
  19. Optional parameters:
  20. -------------------
  21. reg : For non-sysconf based sensors, this should be the physical base
  22. address and length of the sensor's registers.
  23. interrupts : Standard way to define interrupt number.
  24. Interrupt is mandatory to be defined when compatible is
  25. "stih416-mpe-thermal".
  26. NB: For thermal sensor's for which no interrupt has been
  27. defined, a polling delay of 1000ms will be used to read the
  28. temperature from device.
  29. Example:
  30. temp1@fdfe8000 {
  31. compatible = "st,stih416-mpe-thermal";
  32. reg = <0xfdfe8000 0x10>;
  33. clock-names = "thermal";
  34. clocks = <&clk_m_mpethsens>;
  35. interrupts = <GIC_SPI 23 IRQ_TYPE_NONE>;
  36. };