* [PATCH 1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 @ 2022-01-22 13:25 ` Krzysztof Kozlowski 0 siblings, 0 replies; 22+ messages in thread From: Krzysztof Kozlowski @ 2022-01-22 13:25 UTC (permalink / raw) To: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui, Rob Herring, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz, linux-pm, devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel The samsung,tmu_gain and samsung,tmu_reference_voltage properties of Exynos Thermal Management Unit driver are not used since April 2018. They were removed with commit fccfe0993b5d ("thermal: exynos: remove parsing of samsung,tmu_gain property") and commit 61020d189dbc ("thermal: exynos: remove parsing of samsung, tmu_reference_voltage property"), so drop them also from Exynos4210 DTS. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- I'll take this patch via Samsung SoC. Adding here for reference, so Rob's robot will not spot DTS issues when checking against dtschema. --- arch/arm/boot/dts/exynos4210.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index 7e7d65ce6585..2c25cc37934e 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -527,8 +527,6 @@ &tmu { compatible = "samsung,exynos4210-tmu"; clocks = <&clock CLK_TMU_APBIF>; clock-names = "tmu_apbif"; - samsung,tmu_gain = <15>; - samsung,tmu_reference_voltage = <7>; }; #include "exynos4210-pinctrl.dtsi" -- 2.32.0 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 @ 2022-01-22 13:25 ` Krzysztof Kozlowski 0 siblings, 0 replies; 22+ messages in thread From: Krzysztof Kozlowski @ 2022-01-22 13:25 UTC (permalink / raw) To: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui, Rob Herring, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz, linux-pm, devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel The samsung,tmu_gain and samsung,tmu_reference_voltage properties of Exynos Thermal Management Unit driver are not used since April 2018. They were removed with commit fccfe0993b5d ("thermal: exynos: remove parsing of samsung,tmu_gain property") and commit 61020d189dbc ("thermal: exynos: remove parsing of samsung, tmu_reference_voltage property"), so drop them also from Exynos4210 DTS. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- I'll take this patch via Samsung SoC. Adding here for reference, so Rob's robot will not spot DTS issues when checking against dtschema. --- arch/arm/boot/dts/exynos4210.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index 7e7d65ce6585..2c25cc37934e 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -527,8 +527,6 @@ &tmu { compatible = "samsung,exynos4210-tmu"; clocks = <&clock CLK_TMU_APBIF>; clock-names = "tmu_apbif"; - samsung,tmu_gain = <15>; - samsung,tmu_reference_voltage = <7>; }; #include "exynos4210-pinctrl.dtsi" -- 2.32.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 2/3] dt-bindings: thermal: samsung: convert to dtschema 2022-01-22 13:25 ` Krzysztof Kozlowski @ 2022-01-22 13:25 ` Krzysztof Kozlowski -1 siblings, 0 replies; 22+ messages in thread From: Krzysztof Kozlowski @ 2022-01-22 13:25 UTC (permalink / raw) To: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui, Rob Herring, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz, linux-pm, devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel Convert the Samsung Exynos SoC Thermal Management Unit bindings to DT schema format. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- .../bindings/thermal/exynos-thermal.txt | 106 ---------- .../thermal/samsung,exynos-thermal.yaml | 184 ++++++++++++++++++ 2 files changed, 184 insertions(+), 106 deletions(-) delete mode 100644 Documentation/devicetree/bindings/thermal/exynos-thermal.txt create mode 100644 Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml diff --git a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt deleted file mode 100644 index 33004ce7e5df..000000000000 --- a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt +++ /dev/null @@ -1,106 +0,0 @@ -* Exynos Thermal Management Unit (TMU) - -** Required properties: - -- compatible : One of the following: - "samsung,exynos3250-tmu" - "samsung,exynos4412-tmu" - "samsung,exynos4210-tmu" - "samsung,exynos5250-tmu" - "samsung,exynos5260-tmu" - "samsung,exynos5420-tmu" for TMU channel 0, 1 on Exynos5420 - "samsung,exynos5420-tmu-ext-triminfo" for TMU channels 2, 3 and 4 - Exynos5420 (Must pass triminfo base and triminfo clock) - "samsung,exynos5433-tmu" - "samsung,exynos7-tmu" -- reg : Address range of the thermal registers. For soc's which has multiple - instances of TMU and some registers are shared across all TMU's like - interrupt related then 2 set of register has to supplied. First set - belongs to register set of TMU instance and second set belongs to - registers shared with the TMU instance. - - NOTE: On Exynos5420, the TRIMINFO register is misplaced for TMU - channels 2, 3 and 4 - Use "samsung,exynos5420-tmu-ext-triminfo" in cases, there is a misplaced - register, also provide clock to access that base. - - TRIMINFO at 0x1006c000 contains data for TMU channel 3 - TRIMINFO at 0x100a0000 contains data for TMU channel 4 - TRIMINFO at 0x10068000 contains data for TMU channel 2 - -- interrupts : Should contain interrupt for thermal system -- clocks : The main clocks for TMU device - -- 1. operational clock for TMU channel - -- 2. optional clock to access the shared registers of TMU channel - -- 3. optional special clock for functional operation -- clock-names : Thermal system clock name - -- "tmu_apbif" operational clock for current TMU channel - -- "tmu_triminfo_apbif" clock to access the shared triminfo register - for current TMU channel - -- "tmu_sclk" clock for functional operation of the current TMU - channel - -The Exynos TMU supports generating interrupts when reaching given -temperature thresholds. Number of supported thermal trip points depends -on the SoC (only first trip points defined in DT will be configured): - - most of SoC: 4 - - samsung,exynos5433-tmu: 8 - - samsung,exynos7-tmu: 8 - -** Optional properties: - -- vtmu-supply: This entry is optional and provides the regulator node supplying - voltage to TMU. If needed this entry can be placed inside - board/platform specific dts file. - -Example 1): - - tmu@100c0000 { - compatible = "samsung,exynos4412-tmu"; - interrupt-parent = <&combiner>; - reg = <0x100C0000 0x100>; - interrupts = <2 4>; - clocks = <&clock 383>; - clock-names = "tmu_apbif"; - vtmu-supply = <&tmu_regulator_node>; - #thermal-sensor-cells = <0>; - }; - -Example 2): (In case of Exynos5420 "with misplaced TRIMINFO register") - tmu_cpu2: tmu@10068000 { - compatible = "samsung,exynos5420-tmu-ext-triminfo"; - reg = <0x10068000 0x100>, <0x1006c000 0x4>; - interrupts = <0 184 0>; - clocks = <&clock 318>, <&clock 318>; - clock-names = "tmu_apbif", "tmu_triminfo_apbif"; - #thermal-sensor-cells = <0>; - }; - - tmu_cpu3: tmu@1006c000 { - compatible = "samsung,exynos5420-tmu-ext-triminfo"; - reg = <0x1006c000 0x100>, <0x100a0000 0x4>; - interrupts = <0 185 0>; - clocks = <&clock 318>, <&clock 319>; - clock-names = "tmu_apbif", "tmu_triminfo_apbif"; - #thermal-sensor-cells = <0>; - }; - - tmu_gpu: tmu@100a0000 { - compatible = "samsung,exynos5420-tmu-ext-triminfo"; - reg = <0x100a0000 0x100>, <0x10068000 0x4>; - interrupts = <0 215 0>; - clocks = <&clock 319>, <&clock 318>; - clock-names = "tmu_apbif", "tmu_triminfo_apbif"; - #thermal-sensor-cells = <0>; - }; - -Note: For multi-instance tmu each instance should have an alias correctly -numbered in "aliases" node. - -Example: - -aliases { - tmuctrl0 = &tmuctrl_0; - tmuctrl1 = &tmuctrl_1; - tmuctrl2 = &tmuctrl_2; -}; diff --git a/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml new file mode 100644 index 000000000000..17129f75d962 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml @@ -0,0 +1,184 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/samsung,exynos-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC Thermal Management Unit (TMU) + +maintainers: + - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> + +description: | + For multi-instance tmu each instance should have an alias correctly numbered + in "aliases" node. + +properties: + compatible: + enum: + - samsung,exynos3250-tmu + - samsung,exynos4412-tmu + - samsung,exynos4210-tmu + - samsung,exynos5250-tmu + - samsung,exynos5260-tmu + # For TMU channel 0, 1 on Exynos5420: + - samsung,exynos5420-tmu + # For TMU channels 2, 3 and 4 of Exynos5420: + - samsung,exynos5420-tmu-ext-triminfo + - samsung,exynos5433-tmu + - samsung,exynos7-tmu + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + minItems: 1 + maxItems: 3 + + interrupts: + description: | + The Exynos TMU supports generating interrupts when reaching given + temperature thresholds. Number of supported thermal trip points depends + on the SoC (only first trip points defined in DT will be configured):: + - most of SoC: 4 + - samsung,exynos5433-tmu: 8 + - samsung,exynos7-tmu: 8 + maxItems: 1 + + reg: + items: + - description: TMU instance registers. + - description: | + Shared TMU registers. + + Note:: On Exynos5420, the TRIMINFO register is misplaced for TMU + channels 2, 3 and 4 Use "samsung,exynos5420-tmu-ext-triminfo" in + cases, there is a misplaced register, also provide clock to access + that base. + TRIMINFO at 0x1006c000 contains data for TMU channel 3 + TRIMINFO at 0x100a0000 contains data for TMU channel 4 + TRIMINFO at 0x10068000 contains data for TMU channel 2 + minItems: 1 + + '#thermal-sensor-cells': true + + vtmu-supply: + description: The regulator node supplying voltage to TMU. + +required: + - compatible + - clocks + - clock-names + - interrupts + - reg + +allOf: + - $ref: /schemas/thermal/thermal-sensor.yaml + - if: + properties: + compatible: + contains: + const: samsung,exynos5420-tmu-ext-triminfo + then: + properties: + clocks: + items: + - description: + Operational clock for TMU channel. + - description: + Optional clock to access the shared registers (e.g. TRIMINFO) of TMU + channel. + clock-names: + items: + - const: tmu_apbif + - const: tmu_triminfo_apbif + reg: + minItems: 2 + maxItems: 2 + - if: + properties: + compatible: + contains: + enum: + - samsung,exynos5433-tmu + - samsung,exynos7-tmu + then: + properties: + clocks: + items: + - description: + Operational clock for TMU channel. + - description: + Optional special clock for functional operation of TMU channel. + clock-names: + items: + - const: tmu_apbif + - const: tmu_sclk + reg: + minItems: 1 + maxItems: 1 + + - if: + properties: + compatible: + contains: + enum: + - samsung,exynos3250-tmu + - samsung,exynos4412-tmu + - samsung,exynos4210-tmu + - samsung,exynos5250-tmu + - samsung,exynos5260-tmu + - samsung,exynos5420-tmu + then: + properties: + clocks: + minItems: 1 + maxItems: 1 + reg: + minItems: 1 + maxItems: 1 + +additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/exynos4.h> + + tmu@100c0000 { + compatible = "samsung,exynos4412-tmu"; + reg = <0x100C0000 0x100>; + interrupt-parent = <&combiner>; + interrupts = <2 4>; + #thermal-sensor-cells = <0>; + clocks = <&clock CLK_TMU_APBIF>; + clock-names = "tmu_apbif"; + vtmu-supply = <&ldo10_reg>; + }; + + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + + tmu@10068000 { + compatible = "samsung,exynos5420-tmu-ext-triminfo"; + reg = <0x10068000 0x100>, <0x1006c000 0x4>; + interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; + #thermal-sensor-cells = <0>; + clocks = <&clock 318>, <&clock 318>; /* CLK_TMU */ + clock-names = "tmu_apbif", "tmu_triminfo_apbif"; + vtmu-supply = <&ldo7_reg>; + }; + + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + + tmu@10060000 { + compatible = "samsung,exynos5433-tmu"; + reg = <0x10060000 0x200>; + interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; + #thermal-sensor-cells = <0>; + clocks = <&cmu_peris 3>, /* CLK_PCLK_TMU0_APBIF */ + <&cmu_peris 35>; /* CLK_SCLK_TMU0 */ + clock-names = "tmu_apbif", "tmu_sclk"; + vtmu-supply = <&ldo3_reg>; + }; -- 2.32.0 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 2/3] dt-bindings: thermal: samsung: convert to dtschema @ 2022-01-22 13:25 ` Krzysztof Kozlowski 0 siblings, 0 replies; 22+ messages in thread From: Krzysztof Kozlowski @ 2022-01-22 13:25 UTC (permalink / raw) To: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui, Rob Herring, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz, linux-pm, devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel Convert the Samsung Exynos SoC Thermal Management Unit bindings to DT schema format. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- .../bindings/thermal/exynos-thermal.txt | 106 ---------- .../thermal/samsung,exynos-thermal.yaml | 184 ++++++++++++++++++ 2 files changed, 184 insertions(+), 106 deletions(-) delete mode 100644 Documentation/devicetree/bindings/thermal/exynos-thermal.txt create mode 100644 Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml diff --git a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt deleted file mode 100644 index 33004ce7e5df..000000000000 --- a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt +++ /dev/null @@ -1,106 +0,0 @@ -* Exynos Thermal Management Unit (TMU) - -** Required properties: - -- compatible : One of the following: - "samsung,exynos3250-tmu" - "samsung,exynos4412-tmu" - "samsung,exynos4210-tmu" - "samsung,exynos5250-tmu" - "samsung,exynos5260-tmu" - "samsung,exynos5420-tmu" for TMU channel 0, 1 on Exynos5420 - "samsung,exynos5420-tmu-ext-triminfo" for TMU channels 2, 3 and 4 - Exynos5420 (Must pass triminfo base and triminfo clock) - "samsung,exynos5433-tmu" - "samsung,exynos7-tmu" -- reg : Address range of the thermal registers. For soc's which has multiple - instances of TMU and some registers are shared across all TMU's like - interrupt related then 2 set of register has to supplied. First set - belongs to register set of TMU instance and second set belongs to - registers shared with the TMU instance. - - NOTE: On Exynos5420, the TRIMINFO register is misplaced for TMU - channels 2, 3 and 4 - Use "samsung,exynos5420-tmu-ext-triminfo" in cases, there is a misplaced - register, also provide clock to access that base. - - TRIMINFO at 0x1006c000 contains data for TMU channel 3 - TRIMINFO at 0x100a0000 contains data for TMU channel 4 - TRIMINFO at 0x10068000 contains data for TMU channel 2 - -- interrupts : Should contain interrupt for thermal system -- clocks : The main clocks for TMU device - -- 1. operational clock for TMU channel - -- 2. optional clock to access the shared registers of TMU channel - -- 3. optional special clock for functional operation -- clock-names : Thermal system clock name - -- "tmu_apbif" operational clock for current TMU channel - -- "tmu_triminfo_apbif" clock to access the shared triminfo register - for current TMU channel - -- "tmu_sclk" clock for functional operation of the current TMU - channel - -The Exynos TMU supports generating interrupts when reaching given -temperature thresholds. Number of supported thermal trip points depends -on the SoC (only first trip points defined in DT will be configured): - - most of SoC: 4 - - samsung,exynos5433-tmu: 8 - - samsung,exynos7-tmu: 8 - -** Optional properties: - -- vtmu-supply: This entry is optional and provides the regulator node supplying - voltage to TMU. If needed this entry can be placed inside - board/platform specific dts file. - -Example 1): - - tmu@100c0000 { - compatible = "samsung,exynos4412-tmu"; - interrupt-parent = <&combiner>; - reg = <0x100C0000 0x100>; - interrupts = <2 4>; - clocks = <&clock 383>; - clock-names = "tmu_apbif"; - vtmu-supply = <&tmu_regulator_node>; - #thermal-sensor-cells = <0>; - }; - -Example 2): (In case of Exynos5420 "with misplaced TRIMINFO register") - tmu_cpu2: tmu@10068000 { - compatible = "samsung,exynos5420-tmu-ext-triminfo"; - reg = <0x10068000 0x100>, <0x1006c000 0x4>; - interrupts = <0 184 0>; - clocks = <&clock 318>, <&clock 318>; - clock-names = "tmu_apbif", "tmu_triminfo_apbif"; - #thermal-sensor-cells = <0>; - }; - - tmu_cpu3: tmu@1006c000 { - compatible = "samsung,exynos5420-tmu-ext-triminfo"; - reg = <0x1006c000 0x100>, <0x100a0000 0x4>; - interrupts = <0 185 0>; - clocks = <&clock 318>, <&clock 319>; - clock-names = "tmu_apbif", "tmu_triminfo_apbif"; - #thermal-sensor-cells = <0>; - }; - - tmu_gpu: tmu@100a0000 { - compatible = "samsung,exynos5420-tmu-ext-triminfo"; - reg = <0x100a0000 0x100>, <0x10068000 0x4>; - interrupts = <0 215 0>; - clocks = <&clock 319>, <&clock 318>; - clock-names = "tmu_apbif", "tmu_triminfo_apbif"; - #thermal-sensor-cells = <0>; - }; - -Note: For multi-instance tmu each instance should have an alias correctly -numbered in "aliases" node. - -Example: - -aliases { - tmuctrl0 = &tmuctrl_0; - tmuctrl1 = &tmuctrl_1; - tmuctrl2 = &tmuctrl_2; -}; diff --git a/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml new file mode 100644 index 000000000000..17129f75d962 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml @@ -0,0 +1,184 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/samsung,exynos-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC Thermal Management Unit (TMU) + +maintainers: + - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> + +description: | + For multi-instance tmu each instance should have an alias correctly numbered + in "aliases" node. + +properties: + compatible: + enum: + - samsung,exynos3250-tmu + - samsung,exynos4412-tmu + - samsung,exynos4210-tmu + - samsung,exynos5250-tmu + - samsung,exynos5260-tmu + # For TMU channel 0, 1 on Exynos5420: + - samsung,exynos5420-tmu + # For TMU channels 2, 3 and 4 of Exynos5420: + - samsung,exynos5420-tmu-ext-triminfo + - samsung,exynos5433-tmu + - samsung,exynos7-tmu + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + minItems: 1 + maxItems: 3 + + interrupts: + description: | + The Exynos TMU supports generating interrupts when reaching given + temperature thresholds. Number of supported thermal trip points depends + on the SoC (only first trip points defined in DT will be configured):: + - most of SoC: 4 + - samsung,exynos5433-tmu: 8 + - samsung,exynos7-tmu: 8 + maxItems: 1 + + reg: + items: + - description: TMU instance registers. + - description: | + Shared TMU registers. + + Note:: On Exynos5420, the TRIMINFO register is misplaced for TMU + channels 2, 3 and 4 Use "samsung,exynos5420-tmu-ext-triminfo" in + cases, there is a misplaced register, also provide clock to access + that base. + TRIMINFO at 0x1006c000 contains data for TMU channel 3 + TRIMINFO at 0x100a0000 contains data for TMU channel 4 + TRIMINFO at 0x10068000 contains data for TMU channel 2 + minItems: 1 + + '#thermal-sensor-cells': true + + vtmu-supply: + description: The regulator node supplying voltage to TMU. + +required: + - compatible + - clocks + - clock-names + - interrupts + - reg + +allOf: + - $ref: /schemas/thermal/thermal-sensor.yaml + - if: + properties: + compatible: + contains: + const: samsung,exynos5420-tmu-ext-triminfo + then: + properties: + clocks: + items: + - description: + Operational clock for TMU channel. + - description: + Optional clock to access the shared registers (e.g. TRIMINFO) of TMU + channel. + clock-names: + items: + - const: tmu_apbif + - const: tmu_triminfo_apbif + reg: + minItems: 2 + maxItems: 2 + - if: + properties: + compatible: + contains: + enum: + - samsung,exynos5433-tmu + - samsung,exynos7-tmu + then: + properties: + clocks: + items: + - description: + Operational clock for TMU channel. + - description: + Optional special clock for functional operation of TMU channel. + clock-names: + items: + - const: tmu_apbif + - const: tmu_sclk + reg: + minItems: 1 + maxItems: 1 + + - if: + properties: + compatible: + contains: + enum: + - samsung,exynos3250-tmu + - samsung,exynos4412-tmu + - samsung,exynos4210-tmu + - samsung,exynos5250-tmu + - samsung,exynos5260-tmu + - samsung,exynos5420-tmu + then: + properties: + clocks: + minItems: 1 + maxItems: 1 + reg: + minItems: 1 + maxItems: 1 + +additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/exynos4.h> + + tmu@100c0000 { + compatible = "samsung,exynos4412-tmu"; + reg = <0x100C0000 0x100>; + interrupt-parent = <&combiner>; + interrupts = <2 4>; + #thermal-sensor-cells = <0>; + clocks = <&clock CLK_TMU_APBIF>; + clock-names = "tmu_apbif"; + vtmu-supply = <&ldo10_reg>; + }; + + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + + tmu@10068000 { + compatible = "samsung,exynos5420-tmu-ext-triminfo"; + reg = <0x10068000 0x100>, <0x1006c000 0x4>; + interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; + #thermal-sensor-cells = <0>; + clocks = <&clock 318>, <&clock 318>; /* CLK_TMU */ + clock-names = "tmu_apbif", "tmu_triminfo_apbif"; + vtmu-supply = <&ldo7_reg>; + }; + + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + + tmu@10060000 { + compatible = "samsung,exynos5433-tmu"; + reg = <0x10060000 0x200>; + interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; + #thermal-sensor-cells = <0>; + clocks = <&cmu_peris 3>, /* CLK_PCLK_TMU0_APBIF */ + <&cmu_peris 35>; /* CLK_SCLK_TMU0 */ + clock-names = "tmu_apbif", "tmu_sclk"; + vtmu-supply = <&ldo3_reg>; + }; -- 2.32.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 22+ messages in thread
* Re: [PATCH 2/3] dt-bindings: thermal: samsung: convert to dtschema 2022-01-22 13:25 ` Krzysztof Kozlowski @ 2022-02-09 3:04 ` Rob Herring -1 siblings, 0 replies; 22+ messages in thread From: Rob Herring @ 2022-02-09 3:04 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: linux-kernel, Amit Kucheria, linux-pm, Daniel Lezcano, linux-samsung-soc, linux-arm-kernel, Rob Herring, Zhang Rui, Rafael J. Wysocki, Bartlomiej Zolnierkiewicz, devicetree On Sat, 22 Jan 2022 14:25:53 +0100, Krzysztof Kozlowski wrote: > Convert the Samsung Exynos SoC Thermal Management Unit bindings to DT > schema format. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> > --- > .../bindings/thermal/exynos-thermal.txt | 106 ---------- > .../thermal/samsung,exynos-thermal.yaml | 184 ++++++++++++++++++ > 2 files changed, 184 insertions(+), 106 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/thermal/exynos-thermal.txt > create mode 100644 Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml > Reviewed-by: Rob Herring <robh@kernel.org> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 2/3] dt-bindings: thermal: samsung: convert to dtschema @ 2022-02-09 3:04 ` Rob Herring 0 siblings, 0 replies; 22+ messages in thread From: Rob Herring @ 2022-02-09 3:04 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: linux-kernel, Amit Kucheria, linux-pm, Daniel Lezcano, linux-samsung-soc, linux-arm-kernel, Rob Herring, Zhang Rui, Rafael J. Wysocki, Bartlomiej Zolnierkiewicz, devicetree On Sat, 22 Jan 2022 14:25:53 +0100, Krzysztof Kozlowski wrote: > Convert the Samsung Exynos SoC Thermal Management Unit bindings to DT > schema format. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> > --- > .../bindings/thermal/exynos-thermal.txt | 106 ---------- > .../thermal/samsung,exynos-thermal.yaml | 184 ++++++++++++++++++ > 2 files changed, 184 insertions(+), 106 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/thermal/exynos-thermal.txt > create mode 100644 Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml > Reviewed-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 2/3] dt-bindings: thermal: samsung: convert to dtschema 2022-01-22 13:25 ` Krzysztof Kozlowski @ 2022-03-02 19:11 ` Krzysztof Kozlowski -1 siblings, 0 replies; 22+ messages in thread From: Krzysztof Kozlowski @ 2022-03-02 19:11 UTC (permalink / raw) To: Zhang Rui, Daniel Lezcano, Rafael J. Wysocki, Amit Kucheria Cc: Rob Herring, Bartlomiej Zolnierkiewicz, linux-pm, devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel On 22/01/2022 14:25, Krzysztof Kozlowski wrote: > Convert the Samsung Exynos SoC Thermal Management Unit bindings to DT > schema format. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> > --- > .../bindings/thermal/exynos-thermal.txt | 106 ---------- > .../thermal/samsung,exynos-thermal.yaml | 184 ++++++++++++++++++ > 2 files changed, 184 insertions(+), 106 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/thermal/exynos-thermal.txt > create mode 100644 Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml > Hi Amit, Daniel, Rafael and Zhang, The patch got review from Rob. Could you pick it up to thermal/PM tree? Best regards, Krzysztof ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 2/3] dt-bindings: thermal: samsung: convert to dtschema @ 2022-03-02 19:11 ` Krzysztof Kozlowski 0 siblings, 0 replies; 22+ messages in thread From: Krzysztof Kozlowski @ 2022-03-02 19:11 UTC (permalink / raw) To: Zhang Rui, Daniel Lezcano, Rafael J. Wysocki, Amit Kucheria Cc: Rob Herring, Bartlomiej Zolnierkiewicz, linux-pm, devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel On 22/01/2022 14:25, Krzysztof Kozlowski wrote: > Convert the Samsung Exynos SoC Thermal Management Unit bindings to DT > schema format. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> > --- > .../bindings/thermal/exynos-thermal.txt | 106 ---------- > .../thermal/samsung,exynos-thermal.yaml | 184 ++++++++++++++++++ > 2 files changed, 184 insertions(+), 106 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/thermal/exynos-thermal.txt > create mode 100644 Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml > Hi Amit, Daniel, Rafael and Zhang, The patch got review from Rob. Could you pick it up to thermal/PM tree? Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 2/3] dt-bindings: thermal: samsung: convert to dtschema 2022-03-02 19:11 ` Krzysztof Kozlowski @ 2022-03-02 21:01 ` Daniel Lezcano -1 siblings, 0 replies; 22+ messages in thread From: Daniel Lezcano @ 2022-03-02 21:01 UTC (permalink / raw) To: Krzysztof Kozlowski, Zhang Rui, Rafael J. Wysocki, Amit Kucheria Cc: Rob Herring, Bartlomiej Zolnierkiewicz, linux-pm, devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel On 02/03/2022 20:11, Krzysztof Kozlowski wrote: > On 22/01/2022 14:25, Krzysztof Kozlowski wrote: >> Convert the Samsung Exynos SoC Thermal Management Unit bindings to DT >> schema format. >> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> >> --- >> .../bindings/thermal/exynos-thermal.txt | 106 ---------- >> .../thermal/samsung,exynos-thermal.yaml | 184 ++++++++++++++++++ >> 2 files changed, 184 insertions(+), 106 deletions(-) >> delete mode 100644 Documentation/devicetree/bindings/thermal/exynos-thermal.txt >> create mode 100644 Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml >> > > Hi Amit, Daniel, Rafael and Zhang, > > The patch got review from Rob. Could you pick it up to thermal/PM tree? https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git/commit/?h=thermal/linux-next&id=ffae973348505a786a145021d72da331509af185 -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 2/3] dt-bindings: thermal: samsung: convert to dtschema @ 2022-03-02 21:01 ` Daniel Lezcano 0 siblings, 0 replies; 22+ messages in thread From: Daniel Lezcano @ 2022-03-02 21:01 UTC (permalink / raw) To: Krzysztof Kozlowski, Zhang Rui, Rafael J. Wysocki, Amit Kucheria Cc: Rob Herring, Bartlomiej Zolnierkiewicz, linux-pm, devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel On 02/03/2022 20:11, Krzysztof Kozlowski wrote: > On 22/01/2022 14:25, Krzysztof Kozlowski wrote: >> Convert the Samsung Exynos SoC Thermal Management Unit bindings to DT >> schema format. >> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> >> --- >> .../bindings/thermal/exynos-thermal.txt | 106 ---------- >> .../thermal/samsung,exynos-thermal.yaml | 184 ++++++++++++++++++ >> 2 files changed, 184 insertions(+), 106 deletions(-) >> delete mode 100644 Documentation/devicetree/bindings/thermal/exynos-thermal.txt >> create mode 100644 Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml >> > > Hi Amit, Daniel, Rafael and Zhang, > > The patch got review from Rob. Could you pick it up to thermal/PM tree? https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git/commit/?h=thermal/linux-next&id=ffae973348505a786a145021d72da331509af185 -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 22+ messages in thread
* [thermal: thermal/next] dt-bindings: thermal: samsung: Convert to dtschema 2022-01-22 13:25 ` Krzysztof Kozlowski ` (2 preceding siblings ...) (?) @ 2022-03-08 20:33 ` thermal-bot for Krzysztof Kozlowski -1 siblings, 0 replies; 22+ messages in thread From: thermal-bot for Krzysztof Kozlowski @ 2022-03-08 20:33 UTC (permalink / raw) To: linux-pm Cc: Krzysztof Kozlowski, Rob Herring, Daniel Lezcano, rui.zhang, amitk The following commit has been merged into the thermal/next branch of thermal: Commit-ID: 0fb74d0d21aaea1513eb8bfdbbde60113be4fcbc Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//0fb74d0d21aaea1513eb8bfdbbde60113be4fcbc Author: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> AuthorDate: Sat, 22 Jan 2022 14:25:53 +01:00 Committer: Daniel Lezcano <daniel.lezcano@linaro.org> CommitterDate: Tue, 08 Mar 2022 21:26:08 +01:00 dt-bindings: thermal: samsung: Convert to dtschema Convert the Samsung Exynos SoC Thermal Management Unit bindings to DT schema format. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220122132554.65192-2-krzysztof.kozlowski@canonical.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> --- Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 106 +---------------------------------------- Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml | 184 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 184 insertions(+), 106 deletions(-) delete mode 100644 Documentation/devicetree/bindings/thermal/exynos-thermal.txt create mode 100644 Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml diff --git a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt deleted file mode 100644 index 33004ce..0000000 --- a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt +++ /dev/null @@ -1,106 +0,0 @@ -* Exynos Thermal Management Unit (TMU) - -** Required properties: - -- compatible : One of the following: - "samsung,exynos3250-tmu" - "samsung,exynos4412-tmu" - "samsung,exynos4210-tmu" - "samsung,exynos5250-tmu" - "samsung,exynos5260-tmu" - "samsung,exynos5420-tmu" for TMU channel 0, 1 on Exynos5420 - "samsung,exynos5420-tmu-ext-triminfo" for TMU channels 2, 3 and 4 - Exynos5420 (Must pass triminfo base and triminfo clock) - "samsung,exynos5433-tmu" - "samsung,exynos7-tmu" -- reg : Address range of the thermal registers. For soc's which has multiple - instances of TMU and some registers are shared across all TMU's like - interrupt related then 2 set of register has to supplied. First set - belongs to register set of TMU instance and second set belongs to - registers shared with the TMU instance. - - NOTE: On Exynos5420, the TRIMINFO register is misplaced for TMU - channels 2, 3 and 4 - Use "samsung,exynos5420-tmu-ext-triminfo" in cases, there is a misplaced - register, also provide clock to access that base. - - TRIMINFO at 0x1006c000 contains data for TMU channel 3 - TRIMINFO at 0x100a0000 contains data for TMU channel 4 - TRIMINFO at 0x10068000 contains data for TMU channel 2 - -- interrupts : Should contain interrupt for thermal system -- clocks : The main clocks for TMU device - -- 1. operational clock for TMU channel - -- 2. optional clock to access the shared registers of TMU channel - -- 3. optional special clock for functional operation -- clock-names : Thermal system clock name - -- "tmu_apbif" operational clock for current TMU channel - -- "tmu_triminfo_apbif" clock to access the shared triminfo register - for current TMU channel - -- "tmu_sclk" clock for functional operation of the current TMU - channel - -The Exynos TMU supports generating interrupts when reaching given -temperature thresholds. Number of supported thermal trip points depends -on the SoC (only first trip points defined in DT will be configured): - - most of SoC: 4 - - samsung,exynos5433-tmu: 8 - - samsung,exynos7-tmu: 8 - -** Optional properties: - -- vtmu-supply: This entry is optional and provides the regulator node supplying - voltage to TMU. If needed this entry can be placed inside - board/platform specific dts file. - -Example 1): - - tmu@100c0000 { - compatible = "samsung,exynos4412-tmu"; - interrupt-parent = <&combiner>; - reg = <0x100C0000 0x100>; - interrupts = <2 4>; - clocks = <&clock 383>; - clock-names = "tmu_apbif"; - vtmu-supply = <&tmu_regulator_node>; - #thermal-sensor-cells = <0>; - }; - -Example 2): (In case of Exynos5420 "with misplaced TRIMINFO register") - tmu_cpu2: tmu@10068000 { - compatible = "samsung,exynos5420-tmu-ext-triminfo"; - reg = <0x10068000 0x100>, <0x1006c000 0x4>; - interrupts = <0 184 0>; - clocks = <&clock 318>, <&clock 318>; - clock-names = "tmu_apbif", "tmu_triminfo_apbif"; - #thermal-sensor-cells = <0>; - }; - - tmu_cpu3: tmu@1006c000 { - compatible = "samsung,exynos5420-tmu-ext-triminfo"; - reg = <0x1006c000 0x100>, <0x100a0000 0x4>; - interrupts = <0 185 0>; - clocks = <&clock 318>, <&clock 319>; - clock-names = "tmu_apbif", "tmu_triminfo_apbif"; - #thermal-sensor-cells = <0>; - }; - - tmu_gpu: tmu@100a0000 { - compatible = "samsung,exynos5420-tmu-ext-triminfo"; - reg = <0x100a0000 0x100>, <0x10068000 0x4>; - interrupts = <0 215 0>; - clocks = <&clock 319>, <&clock 318>; - clock-names = "tmu_apbif", "tmu_triminfo_apbif"; - #thermal-sensor-cells = <0>; - }; - -Note: For multi-instance tmu each instance should have an alias correctly -numbered in "aliases" node. - -Example: - -aliases { - tmuctrl0 = &tmuctrl_0; - tmuctrl1 = &tmuctrl_1; - tmuctrl2 = &tmuctrl_2; -}; diff --git a/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml new file mode 100644 index 0000000..17129f7 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml @@ -0,0 +1,184 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/samsung,exynos-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC Thermal Management Unit (TMU) + +maintainers: + - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> + +description: | + For multi-instance tmu each instance should have an alias correctly numbered + in "aliases" node. + +properties: + compatible: + enum: + - samsung,exynos3250-tmu + - samsung,exynos4412-tmu + - samsung,exynos4210-tmu + - samsung,exynos5250-tmu + - samsung,exynos5260-tmu + # For TMU channel 0, 1 on Exynos5420: + - samsung,exynos5420-tmu + # For TMU channels 2, 3 and 4 of Exynos5420: + - samsung,exynos5420-tmu-ext-triminfo + - samsung,exynos5433-tmu + - samsung,exynos7-tmu + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + minItems: 1 + maxItems: 3 + + interrupts: + description: | + The Exynos TMU supports generating interrupts when reaching given + temperature thresholds. Number of supported thermal trip points depends + on the SoC (only first trip points defined in DT will be configured):: + - most of SoC: 4 + - samsung,exynos5433-tmu: 8 + - samsung,exynos7-tmu: 8 + maxItems: 1 + + reg: + items: + - description: TMU instance registers. + - description: | + Shared TMU registers. + + Note:: On Exynos5420, the TRIMINFO register is misplaced for TMU + channels 2, 3 and 4 Use "samsung,exynos5420-tmu-ext-triminfo" in + cases, there is a misplaced register, also provide clock to access + that base. + TRIMINFO at 0x1006c000 contains data for TMU channel 3 + TRIMINFO at 0x100a0000 contains data for TMU channel 4 + TRIMINFO at 0x10068000 contains data for TMU channel 2 + minItems: 1 + + '#thermal-sensor-cells': true + + vtmu-supply: + description: The regulator node supplying voltage to TMU. + +required: + - compatible + - clocks + - clock-names + - interrupts + - reg + +allOf: + - $ref: /schemas/thermal/thermal-sensor.yaml + - if: + properties: + compatible: + contains: + const: samsung,exynos5420-tmu-ext-triminfo + then: + properties: + clocks: + items: + - description: + Operational clock for TMU channel. + - description: + Optional clock to access the shared registers (e.g. TRIMINFO) of TMU + channel. + clock-names: + items: + - const: tmu_apbif + - const: tmu_triminfo_apbif + reg: + minItems: 2 + maxItems: 2 + - if: + properties: + compatible: + contains: + enum: + - samsung,exynos5433-tmu + - samsung,exynos7-tmu + then: + properties: + clocks: + items: + - description: + Operational clock for TMU channel. + - description: + Optional special clock for functional operation of TMU channel. + clock-names: + items: + - const: tmu_apbif + - const: tmu_sclk + reg: + minItems: 1 + maxItems: 1 + + - if: + properties: + compatible: + contains: + enum: + - samsung,exynos3250-tmu + - samsung,exynos4412-tmu + - samsung,exynos4210-tmu + - samsung,exynos5250-tmu + - samsung,exynos5260-tmu + - samsung,exynos5420-tmu + then: + properties: + clocks: + minItems: 1 + maxItems: 1 + reg: + minItems: 1 + maxItems: 1 + +additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/exynos4.h> + + tmu@100c0000 { + compatible = "samsung,exynos4412-tmu"; + reg = <0x100C0000 0x100>; + interrupt-parent = <&combiner>; + interrupts = <2 4>; + #thermal-sensor-cells = <0>; + clocks = <&clock CLK_TMU_APBIF>; + clock-names = "tmu_apbif"; + vtmu-supply = <&ldo10_reg>; + }; + + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + + tmu@10068000 { + compatible = "samsung,exynos5420-tmu-ext-triminfo"; + reg = <0x10068000 0x100>, <0x1006c000 0x4>; + interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; + #thermal-sensor-cells = <0>; + clocks = <&clock 318>, <&clock 318>; /* CLK_TMU */ + clock-names = "tmu_apbif", "tmu_triminfo_apbif"; + vtmu-supply = <&ldo7_reg>; + }; + + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + + tmu@10060000 { + compatible = "samsung,exynos5433-tmu"; + reg = <0x10060000 0x200>; + interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; + #thermal-sensor-cells = <0>; + clocks = <&cmu_peris 3>, /* CLK_PCLK_TMU0_APBIF */ + <&cmu_peris 35>; /* CLK_SCLK_TMU0 */ + clock-names = "tmu_apbif", "tmu_sclk"; + vtmu-supply = <&ldo3_reg>; + }; ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 3/3] MAINTAINERS: thermal: samsung: drop obsolete properties 2022-01-22 13:25 ` Krzysztof Kozlowski @ 2022-01-22 13:25 ` Krzysztof Kozlowski -1 siblings, 0 replies; 22+ messages in thread From: Krzysztof Kozlowski @ 2022-01-22 13:25 UTC (permalink / raw) To: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui, Rob Herring, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz, linux-pm, devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel Update the Samsung Exynos SoC thermal driver entry to match reality and add Krzysztof Kozlowski as co-maintainer (as he maintains entire Samsung SoC). The rationale: 1. Bartlomiej's Samsung email bounces, since he is not working in Samsung for some time. 2. The mentioned Lukasz Majewski's Git tree was not updated since 2015. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- MAINTAINERS | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 27730a5a6345..928fb4cebe09 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -17118,11 +17118,12 @@ S: Supported F: drivers/net/ethernet/samsung/sxgbe/ SAMSUNG THERMAL DRIVER -M: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> +M: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> +M: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> L: linux-pm@vger.kernel.org L: linux-samsung-soc@vger.kernel.org -S: Supported -T: git https://github.com/lmajewski/linux-samsung-thermal.git +S: Maintained +F: Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml F: drivers/thermal/samsung/ SAMSUNG USB2 PHY DRIVER -- 2.32.0 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 3/3] MAINTAINERS: thermal: samsung: drop obsolete properties @ 2022-01-22 13:25 ` Krzysztof Kozlowski 0 siblings, 0 replies; 22+ messages in thread From: Krzysztof Kozlowski @ 2022-01-22 13:25 UTC (permalink / raw) To: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui, Rob Herring, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz, linux-pm, devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel Update the Samsung Exynos SoC thermal driver entry to match reality and add Krzysztof Kozlowski as co-maintainer (as he maintains entire Samsung SoC). The rationale: 1. Bartlomiej's Samsung email bounces, since he is not working in Samsung for some time. 2. The mentioned Lukasz Majewski's Git tree was not updated since 2015. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- MAINTAINERS | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 27730a5a6345..928fb4cebe09 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -17118,11 +17118,12 @@ S: Supported F: drivers/net/ethernet/samsung/sxgbe/ SAMSUNG THERMAL DRIVER -M: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> +M: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> +M: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> L: linux-pm@vger.kernel.org L: linux-samsung-soc@vger.kernel.org -S: Supported -T: git https://github.com/lmajewski/linux-samsung-thermal.git +S: Maintained +F: Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml F: drivers/thermal/samsung/ SAMSUNG USB2 PHY DRIVER -- 2.32.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [thermal: thermal/next] MAINTAINERS: thermal: samsung: Drop obsolete properties 2022-01-22 13:25 ` Krzysztof Kozlowski (?) @ 2022-03-08 20:33 ` thermal-bot for Krzysztof Kozlowski -1 siblings, 0 replies; 22+ messages in thread From: thermal-bot for Krzysztof Kozlowski @ 2022-03-08 20:33 UTC (permalink / raw) To: linux-pm; +Cc: Krzysztof Kozlowski, Daniel Lezcano, rui.zhang, amitk The following commit has been merged into the thermal/next branch of thermal: Commit-ID: 62db1e8e9701a947a00f3d8987ca3298827def56 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//62db1e8e9701a947a00f3d8987ca3298827def56 Author: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> AuthorDate: Sat, 22 Jan 2022 14:25:54 +01:00 Committer: Daniel Lezcano <daniel.lezcano@linaro.org> CommitterDate: Tue, 08 Mar 2022 21:26:08 +01:00 MAINTAINERS: thermal: samsung: Drop obsolete properties Update the Samsung Exynos SoC thermal driver entry to match reality and add Krzysztof Kozlowski as co-maintainer (as he maintains entire Samsung SoC). The rationale: 1. Bartlomiej's Samsung email bounces, since he is not working in Samsung for some time. 2. The mentioned Lukasz Majewski's Git tree was not updated since 2015. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20220122132554.65192-3-krzysztof.kozlowski@canonical.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> --- MAINTAINERS | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1ba1e4a..82fe389 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -17135,11 +17135,12 @@ S: Supported F: drivers/net/ethernet/samsung/sxgbe/ SAMSUNG THERMAL DRIVER -M: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> +M: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> +M: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> L: linux-pm@vger.kernel.org L: linux-samsung-soc@vger.kernel.org -S: Supported -T: git https://github.com/lmajewski/linux-samsung-thermal.git +S: Maintained +F: Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml F: drivers/thermal/samsung/ SAMSUNG USB2 PHY DRIVER ^ permalink raw reply related [flat|nested] 22+ messages in thread
* Re: (subset) [PATCH 1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 2022-01-22 13:25 ` Krzysztof Kozlowski @ 2022-01-25 17:04 ` Krzysztof Kozlowski -1 siblings, 0 replies; 22+ messages in thread From: Krzysztof Kozlowski @ 2022-01-25 17:04 UTC (permalink / raw) To: Rafael J. Wysocki, linux-kernel, Amit Kucheria, linux-pm, Zhang Rui, Rob Herring, Daniel Lezcano, Bartlomiej Zolnierkiewicz, devicetree, linux-arm-kernel, Krzysztof Kozlowski, linux-samsung-soc On Sat, 22 Jan 2022 14:25:52 +0100, Krzysztof Kozlowski wrote: > The samsung,tmu_gain and samsung,tmu_reference_voltage properties of > Exynos Thermal Management Unit driver are not used since April 2018. > They were removed with commit fccfe0993b5d ("thermal: exynos: remove > parsing of samsung,tmu_gain property") and commit 61020d189dbc > ("thermal: exynos: remove parsing of samsung, tmu_reference_voltage > property"), so drop them also from Exynos4210 DTS. > > [...] Applied, thanks! [1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 commit: e20bd06fc421fba4099be51d3f56b9b1741b499b Best regards, -- Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: (subset) [PATCH 1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 @ 2022-01-25 17:04 ` Krzysztof Kozlowski 0 siblings, 0 replies; 22+ messages in thread From: Krzysztof Kozlowski @ 2022-01-25 17:04 UTC (permalink / raw) To: Rafael J. Wysocki, linux-kernel, Amit Kucheria, linux-pm, Zhang Rui, Rob Herring, Daniel Lezcano, Bartlomiej Zolnierkiewicz, devicetree, linux-arm-kernel, Krzysztof Kozlowski, linux-samsung-soc On Sat, 22 Jan 2022 14:25:52 +0100, Krzysztof Kozlowski wrote: > The samsung,tmu_gain and samsung,tmu_reference_voltage properties of > Exynos Thermal Management Unit driver are not used since April 2018. > They were removed with commit fccfe0993b5d ("thermal: exynos: remove > parsing of samsung,tmu_gain property") and commit 61020d189dbc > ("thermal: exynos: remove parsing of samsung, tmu_reference_voltage > property"), so drop them also from Exynos4210 DTS. > > [...] Applied, thanks! [1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 commit: e20bd06fc421fba4099be51d3f56b9b1741b499b Best regards, -- Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: (subset) [PATCH 1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 2022-01-25 17:04 ` Krzysztof Kozlowski @ 2022-01-26 11:57 ` Daniel Lezcano -1 siblings, 0 replies; 22+ messages in thread From: Daniel Lezcano @ 2022-01-26 11:57 UTC (permalink / raw) To: Krzysztof Kozlowski, Rafael J. Wysocki, linux-kernel, Amit Kucheria, linux-pm, Zhang Rui, Rob Herring, Bartlomiej Zolnierkiewicz, devicetree, linux-arm-kernel, linux-samsung-soc On 25/01/2022 18:04, Krzysztof Kozlowski wrote: > On Sat, 22 Jan 2022 14:25:52 +0100, Krzysztof Kozlowski wrote: >> The samsung,tmu_gain and samsung,tmu_reference_voltage properties of >> Exynos Thermal Management Unit driver are not used since April 2018. >> They were removed with commit fccfe0993b5d ("thermal: exynos: remove >> parsing of samsung,tmu_gain property") and commit 61020d189dbc >> ("thermal: exynos: remove parsing of samsung, tmu_reference_voltage >> property"), so drop them also from Exynos4210 DTS. >> >> [...] > > Applied, thanks! > > [1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 > commit: e20bd06fc421fba4099be51d3f56b9b1741b499b > I guess up to me to pick 2 and 3 -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: (subset) [PATCH 1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 @ 2022-01-26 11:57 ` Daniel Lezcano 0 siblings, 0 replies; 22+ messages in thread From: Daniel Lezcano @ 2022-01-26 11:57 UTC (permalink / raw) To: Krzysztof Kozlowski, Rafael J. Wysocki, linux-kernel, Amit Kucheria, linux-pm, Zhang Rui, Rob Herring, Bartlomiej Zolnierkiewicz, devicetree, linux-arm-kernel, linux-samsung-soc On 25/01/2022 18:04, Krzysztof Kozlowski wrote: > On Sat, 22 Jan 2022 14:25:52 +0100, Krzysztof Kozlowski wrote: >> The samsung,tmu_gain and samsung,tmu_reference_voltage properties of >> Exynos Thermal Management Unit driver are not used since April 2018. >> They were removed with commit fccfe0993b5d ("thermal: exynos: remove >> parsing of samsung,tmu_gain property") and commit 61020d189dbc >> ("thermal: exynos: remove parsing of samsung, tmu_reference_voltage >> property"), so drop them also from Exynos4210 DTS. >> >> [...] > > Applied, thanks! > > [1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 > commit: e20bd06fc421fba4099be51d3f56b9b1741b499b > I guess up to me to pick 2 and 3 -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: (subset) [PATCH 1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 2022-01-26 11:57 ` Daniel Lezcano @ 2022-01-26 12:20 ` Krzysztof Kozlowski -1 siblings, 0 replies; 22+ messages in thread From: Krzysztof Kozlowski @ 2022-01-26 12:20 UTC (permalink / raw) To: Daniel Lezcano Cc: Rafael J. Wysocki, linux-kernel, Amit Kucheria, linux-pm, Zhang Rui, Rob Herring, Bartlomiej Zolnierkiewicz, devicetree, linux-arm-kernel, linux-samsung-soc On Wed, 26 Jan 2022 at 12:57, Daniel Lezcano <daniel.lezcano@linaro.org> wrote: > > On 25/01/2022 18:04, Krzysztof Kozlowski wrote: > > On Sat, 22 Jan 2022 14:25:52 +0100, Krzysztof Kozlowski wrote: > >> The samsung,tmu_gain and samsung,tmu_reference_voltage properties of > >> Exynos Thermal Management Unit driver are not used since April 2018. > >> They were removed with commit fccfe0993b5d ("thermal: exynos: remove > >> parsing of samsung,tmu_gain property") and commit 61020d189dbc > >> ("thermal: exynos: remove parsing of samsung, tmu_reference_voltage > >> property"), so drop them also from Exynos4210 DTS. > >> > >> [...] > > > > Applied, thanks! > > > > [1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 > > commit: e20bd06fc421fba4099be51d3f56b9b1741b499b > > > > I guess up to me to pick 2 and 3 Yes, please. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: (subset) [PATCH 1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 @ 2022-01-26 12:20 ` Krzysztof Kozlowski 0 siblings, 0 replies; 22+ messages in thread From: Krzysztof Kozlowski @ 2022-01-26 12:20 UTC (permalink / raw) To: Daniel Lezcano Cc: Rafael J. Wysocki, linux-kernel, Amit Kucheria, linux-pm, Zhang Rui, Rob Herring, Bartlomiej Zolnierkiewicz, devicetree, linux-arm-kernel, linux-samsung-soc On Wed, 26 Jan 2022 at 12:57, Daniel Lezcano <daniel.lezcano@linaro.org> wrote: > > On 25/01/2022 18:04, Krzysztof Kozlowski wrote: > > On Sat, 22 Jan 2022 14:25:52 +0100, Krzysztof Kozlowski wrote: > >> The samsung,tmu_gain and samsung,tmu_reference_voltage properties of > >> Exynos Thermal Management Unit driver are not used since April 2018. > >> They were removed with commit fccfe0993b5d ("thermal: exynos: remove > >> parsing of samsung,tmu_gain property") and commit 61020d189dbc > >> ("thermal: exynos: remove parsing of samsung, tmu_reference_voltage > >> property"), so drop them also from Exynos4210 DTS. > >> > >> [...] > > > > Applied, thanks! > > > > [1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 > > commit: e20bd06fc421fba4099be51d3f56b9b1741b499b > > > > I guess up to me to pick 2 and 3 Yes, please. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: (subset) [PATCH 1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 2022-01-26 12:20 ` Krzysztof Kozlowski @ 2022-01-26 12:26 ` Daniel Lezcano -1 siblings, 0 replies; 22+ messages in thread From: Daniel Lezcano @ 2022-01-26 12:26 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: Rafael J. Wysocki, linux-kernel, Amit Kucheria, linux-pm, Zhang Rui, Rob Herring, Bartlomiej Zolnierkiewicz, devicetree, linux-arm-kernel, linux-samsung-soc On 26/01/2022 13:20, Krzysztof Kozlowski wrote: > On Wed, 26 Jan 2022 at 12:57, Daniel Lezcano <daniel.lezcano@linaro.org> wrote: >> >> On 25/01/2022 18:04, Krzysztof Kozlowski wrote: >>> On Sat, 22 Jan 2022 14:25:52 +0100, Krzysztof Kozlowski wrote: >>>> The samsung,tmu_gain and samsung,tmu_reference_voltage properties of >>>> Exynos Thermal Management Unit driver are not used since April 2018. >>>> They were removed with commit fccfe0993b5d ("thermal: exynos: remove >>>> parsing of samsung,tmu_gain property") and commit 61020d189dbc >>>> ("thermal: exynos: remove parsing of samsung, tmu_reference_voltage >>>> property"), so drop them also from Exynos4210 DTS. >>>> >>>> [...] >>> >>> Applied, thanks! >>> >>> [1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 >>> commit: e20bd06fc421fba4099be51d3f56b9b1741b499b >>> >> >> I guess up to me to pick 2 and 3 > > Yes, please. Ok, I'll wait for Rob's ack Thanks -- Daniel -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: (subset) [PATCH 1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 @ 2022-01-26 12:26 ` Daniel Lezcano 0 siblings, 0 replies; 22+ messages in thread From: Daniel Lezcano @ 2022-01-26 12:26 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: Rafael J. Wysocki, linux-kernel, Amit Kucheria, linux-pm, Zhang Rui, Rob Herring, Bartlomiej Zolnierkiewicz, devicetree, linux-arm-kernel, linux-samsung-soc On 26/01/2022 13:20, Krzysztof Kozlowski wrote: > On Wed, 26 Jan 2022 at 12:57, Daniel Lezcano <daniel.lezcano@linaro.org> wrote: >> >> On 25/01/2022 18:04, Krzysztof Kozlowski wrote: >>> On Sat, 22 Jan 2022 14:25:52 +0100, Krzysztof Kozlowski wrote: >>>> The samsung,tmu_gain and samsung,tmu_reference_voltage properties of >>>> Exynos Thermal Management Unit driver are not used since April 2018. >>>> They were removed with commit fccfe0993b5d ("thermal: exynos: remove >>>> parsing of samsung,tmu_gain property") and commit 61020d189dbc >>>> ("thermal: exynos: remove parsing of samsung, tmu_reference_voltage >>>> property"), so drop them also from Exynos4210 DTS. >>>> >>>> [...] >>> >>> Applied, thanks! >>> >>> [1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 >>> commit: e20bd06fc421fba4099be51d3f56b9b1741b499b >>> >> >> I guess up to me to pick 2 and 3 > > Yes, please. Ok, I'll wait for Rob's ack Thanks -- Daniel -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2022-03-08 20:33 UTC | newest] Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-01-22 13:25 [PATCH 1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 Krzysztof Kozlowski 2022-01-22 13:25 ` Krzysztof Kozlowski 2022-01-22 13:25 ` [PATCH 2/3] dt-bindings: thermal: samsung: convert to dtschema Krzysztof Kozlowski 2022-01-22 13:25 ` Krzysztof Kozlowski 2022-02-09 3:04 ` Rob Herring 2022-02-09 3:04 ` Rob Herring 2022-03-02 19:11 ` Krzysztof Kozlowski 2022-03-02 19:11 ` Krzysztof Kozlowski 2022-03-02 21:01 ` Daniel Lezcano 2022-03-02 21:01 ` Daniel Lezcano 2022-03-08 20:33 ` [thermal: thermal/next] dt-bindings: thermal: samsung: Convert " thermal-bot for Krzysztof Kozlowski 2022-01-22 13:25 ` [PATCH 3/3] MAINTAINERS: thermal: samsung: drop obsolete properties Krzysztof Kozlowski 2022-01-22 13:25 ` Krzysztof Kozlowski 2022-03-08 20:33 ` [thermal: thermal/next] MAINTAINERS: thermal: samsung: Drop " thermal-bot for Krzysztof Kozlowski 2022-01-25 17:04 ` (subset) [PATCH 1/3] ARM: dts: exynos: drop old thermal properties from Exynos4210 Krzysztof Kozlowski 2022-01-25 17:04 ` Krzysztof Kozlowski 2022-01-26 11:57 ` Daniel Lezcano 2022-01-26 11:57 ` Daniel Lezcano 2022-01-26 12:20 ` Krzysztof Kozlowski 2022-01-26 12:20 ` Krzysztof Kozlowski 2022-01-26 12:26 ` Daniel Lezcano 2022-01-26 12:26 ` Daniel Lezcano
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.