Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

thermal: sti: Remove obsolete platforms from the DT doc.

STiH415/6 SoC's are being removed from the kernel. This
patch removes the compatibles from the dt doc and also
updates the example to a supported platform.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Cc: <rui.zhang@intel.com>
Cc: <edubezval@gmail.com>
Cc: <robh+dt@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>

authored by

Peter Griffin and committed by
Patrice Chotard
feada609 eae865a0

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