Loading Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml +7 −5 Original line number Diff line number Diff line Loading @@ -13,11 +13,13 @@ description: Binding for Amlogic Thermal properties: compatible: items: oneOf: - items: - enum: - amlogic,g12a-cpu-thermal - amlogic,g12a-ddr-thermal - const: amlogic,g12a-thermal - const: amlogic,a1-cpu-thermal reg: maxItems: 1 Loading Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml +22 −2 Original line number Diff line number Diff line Loading @@ -18,13 +18,15 @@ properties: oneOf: - enum: - loongson,ls2k1000-thermal - loongson,ls2k2000-thermal - items: - enum: - loongson,ls2k2000-thermal - loongson,ls2k0500-thermal - const: loongson,ls2k1000-thermal reg: maxItems: 1 minItems: 1 maxItems: 2 interrupts: maxItems: 1 Loading @@ -38,6 +40,24 @@ required: - interrupts - '#thermal-sensor-cells' if: properties: compatible: contains: enum: - loongson,ls2k2000-thermal then: properties: reg: minItems: 2 maxItems: 2 else: properties: reg: maxItems: 1 unevaluatedProperties: false examples: Loading Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml +6 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,9 @@ properties: compatible: enum: - mediatek,mt7988-lvts-ap - mediatek,mt8186-lvts - mediatek,mt8188-lvts-ap - mediatek,mt8188-lvts-mcu - mediatek,mt8192-lvts-ap - mediatek,mt8192-lvts-mcu - mediatek,mt8195-lvts-ap Loading Loading @@ -60,6 +63,8 @@ allOf: compatible: contains: enum: - mediatek,mt8188-lvts-ap - mediatek,mt8188-lvts-mcu - mediatek,mt8192-lvts-ap - mediatek,mt8192-lvts-mcu then: Loading @@ -75,6 +80,7 @@ allOf: compatible: contains: enum: - mediatek,mt8186-lvts - mediatek,mt8195-lvts-ap - mediatek,mt8195-lvts-mcu then: Loading Documentation/devicetree/bindings/thermal/qcom-lmh.yaml +8 −4 Original line number Diff line number Diff line Loading @@ -17,10 +17,14 @@ description: properties: compatible: enum: oneOf: - enum: - qcom,sc8180x-lmh - qcom,sdm845-lmh - qcom,sm8150-lmh - items: - const: qcom,qcm2290-lmh - const: qcom,sm8150-lmh reg: items: Loading Documentation/devicetree/bindings/thermal/st,stih407-thermal.yaml 0 → 100644 +58 −0 Original line number Diff line number Diff line # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/thermal/st,stih407-thermal.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: STMicroelectronics STi digital thermal sensor (DTS) maintainers: - Patrice Chotard <patrice.chotard@foss.st.com> - Lee Jones <lee@kernel.org> allOf: - $ref: thermal-sensor.yaml properties: compatible: const: st,stih407-thermal reg: maxItems: 1 clocks: maxItems: 1 clock-names: items: - const: thermal interrupts: description: For thermal sensors for which no interrupt has been defined, a polling delay of 1000ms will be used to read the temperature from device. maxItems: 1 '#thermal-sensor-cells': const: 0 required: - compatible - reg - clocks - clock-names unevaluatedProperties: false examples: - | #include <dt-bindings/interrupt-controller/arm-gic.h> temperature-sensor@91a0000 { compatible = "st,stih407-thermal"; reg = <0x91a0000 0x28>; clock-names = "thermal"; clocks = <&CLK_SYSIN>; interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>; #thermal-sensor-cells = <0>; }; ... Loading
Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml +7 −5 Original line number Diff line number Diff line Loading @@ -13,11 +13,13 @@ description: Binding for Amlogic Thermal properties: compatible: items: oneOf: - items: - enum: - amlogic,g12a-cpu-thermal - amlogic,g12a-ddr-thermal - const: amlogic,g12a-thermal - const: amlogic,a1-cpu-thermal reg: maxItems: 1 Loading
Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml +22 −2 Original line number Diff line number Diff line Loading @@ -18,13 +18,15 @@ properties: oneOf: - enum: - loongson,ls2k1000-thermal - loongson,ls2k2000-thermal - items: - enum: - loongson,ls2k2000-thermal - loongson,ls2k0500-thermal - const: loongson,ls2k1000-thermal reg: maxItems: 1 minItems: 1 maxItems: 2 interrupts: maxItems: 1 Loading @@ -38,6 +40,24 @@ required: - interrupts - '#thermal-sensor-cells' if: properties: compatible: contains: enum: - loongson,ls2k2000-thermal then: properties: reg: minItems: 2 maxItems: 2 else: properties: reg: maxItems: 1 unevaluatedProperties: false examples: Loading
Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml +6 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,9 @@ properties: compatible: enum: - mediatek,mt7988-lvts-ap - mediatek,mt8186-lvts - mediatek,mt8188-lvts-ap - mediatek,mt8188-lvts-mcu - mediatek,mt8192-lvts-ap - mediatek,mt8192-lvts-mcu - mediatek,mt8195-lvts-ap Loading Loading @@ -60,6 +63,8 @@ allOf: compatible: contains: enum: - mediatek,mt8188-lvts-ap - mediatek,mt8188-lvts-mcu - mediatek,mt8192-lvts-ap - mediatek,mt8192-lvts-mcu then: Loading @@ -75,6 +80,7 @@ allOf: compatible: contains: enum: - mediatek,mt8186-lvts - mediatek,mt8195-lvts-ap - mediatek,mt8195-lvts-mcu then: Loading
Documentation/devicetree/bindings/thermal/qcom-lmh.yaml +8 −4 Original line number Diff line number Diff line Loading @@ -17,10 +17,14 @@ description: properties: compatible: enum: oneOf: - enum: - qcom,sc8180x-lmh - qcom,sdm845-lmh - qcom,sm8150-lmh - items: - const: qcom,qcm2290-lmh - const: qcom,sm8150-lmh reg: items: Loading
Documentation/devicetree/bindings/thermal/st,stih407-thermal.yaml 0 → 100644 +58 −0 Original line number Diff line number Diff line # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/thermal/st,stih407-thermal.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: STMicroelectronics STi digital thermal sensor (DTS) maintainers: - Patrice Chotard <patrice.chotard@foss.st.com> - Lee Jones <lee@kernel.org> allOf: - $ref: thermal-sensor.yaml properties: compatible: const: st,stih407-thermal reg: maxItems: 1 clocks: maxItems: 1 clock-names: items: - const: thermal interrupts: description: For thermal sensors for which no interrupt has been defined, a polling delay of 1000ms will be used to read the temperature from device. maxItems: 1 '#thermal-sensor-cells': const: 0 required: - compatible - reg - clocks - clock-names unevaluatedProperties: false examples: - | #include <dt-bindings/interrupt-controller/arm-gic.h> temperature-sensor@91a0000 { compatible = "st,stih407-thermal"; reg = <0x91a0000 0x28>; clock-names = "thermal"; clocks = <&CLK_SYSIN>; interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>; #thermal-sensor-cells = <0>; }; ...