Message ID | 1459247364-1139-14-git-send-email-wni@nvidia.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | Eduardo Valentin |
Headers | show |
On Tue, Mar 29, 2016 at 06:29:23PM +0800, Wei Ni wrote: > Adds soctherm node for Tegra210, and add cpu, > gpu, mem, pllx as thermal-zones. Set critical > trip temperatures for them. > > Signed-off-by: Wei Ni <wni@nvidia.com> Acked-by: Eduardo Valentin <edubezval@gmail.com> -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Thierry & Stephen, The driver patches in this series were taken by Eduardo, so do know who can take these tow dts patches 13 and 14? Thanks. Wei. On 2016?03?29? 23:16, Eduardo Valentin wrote: > On Tue, Mar 29, 2016 at 06:29:23PM +0800, Wei Ni wrote: >> Adds soctherm node for Tegra210, and add cpu, >> gpu, mem, pllx as thermal-zones. Set critical >> trip temperatures for them. >> >> Signed-off-by: Wei Ni <wni@nvidia.com> > > Acked-by: Eduardo Valentin <edubezval@gmail.com> > -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
To: Rob Herring <robh+dt@kernel.org> On 2016?03?30? 11:24, Wei Ni wrote: > Hi Thierry & Stephen, > The driver patches in this series were taken by Eduardo, so do know who can take > these tow dts patches 13 and 14? > > Thanks. > Wei. > > On 2016?03?29? 23:16, Eduardo Valentin wrote: >> On Tue, Mar 29, 2016 at 06:29:23PM +0800, Wei Ni wrote: >>> Adds soctherm node for Tegra210, and add cpu, >>> gpu, mem, pllx as thermal-zones. Set critical >>> trip temperatures for them. >>> >>> Signed-off-by: Wei Ni <wni@nvidia.com> >> >> Acked-by: Eduardo Valentin <edubezval@gmail.com> >> > -- > To unsubscribe from this list: send the line "unsubscribe linux-pm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patches 1 to 12 in this series were accepted by Eduardo. Patches 13 and 14 need to go via platform or dt tree. Used get_maintainer.pl to get maintainers and open list, add them in To: and Cc: list. To: Rob Herring <robh+dt@kernel.org> Pawel Moll <pawel.moll@arm.com> Mark Rutland <mark.rutland@arm.com> Ian Campbell <ijc+devicetree@hellion.org.uk> Kumar Gala <galak@codeaurora.org> Cc: devicetree@vger.kernel.org On 2016?03?29? 23:16, Eduardo Valentin wrote: > On Tue, Mar 29, 2016 at 06:29:23PM +0800, Wei Ni wrote: >> Adds soctherm node for Tegra210, and add cpu, >> gpu, mem, pllx as thermal-zones. Set critical >> trip temperatures for them. >> >> Signed-off-by: Wei Ni <wni@nvidia.com> > > Acked-by: Eduardo Valentin <edubezval@gmail.com> > -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Could anyone take a look this patch? On 2016?04?01? 15:01, Wei Ni wrote: > Patches 1 to 12 in this series were accepted by Eduardo. > Patches 13 and 14 need to go via platform or dt tree. > > Used get_maintainer.pl to get maintainers and open list, add them in To: and Cc: > list. > > To: > Rob Herring <robh+dt@kernel.org> > Pawel Moll <pawel.moll@arm.com> > Mark Rutland <mark.rutland@arm.com> > Ian Campbell <ijc+devicetree@hellion.org.uk> > Kumar Gala <galak@codeaurora.org> > > Cc: > devicetree@vger.kernel.org > > On 2016?03?29? 23:16, Eduardo Valentin wrote: >> On Tue, Mar 29, 2016 at 06:29:23PM +0800, Wei Ni wrote: >>> Adds soctherm node for Tegra210, and add cpu, >>> gpu, mem, pllx as thermal-zones. Set critical >>> trip temperatures for them. >>> >>> Signed-off-by: Wei Ni <wni@nvidia.com> >> >> Acked-by: Eduardo Valentin <edubezval@gmail.com> >> > -- > To unsubscribe from this list: send the line "unsubscribe linux-pm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Thierry, Do you know who can take these patch 13 and 14? The corresponding driver was merged to linux-next several weeks ago. Does I need to send these two patches again? Thanks. Wei. On 2016?04?12? 16:53, Wei Ni wrote: > Could anyone take a look this patch? > > On 2016?04?01? 15:01, Wei Ni wrote: >> Patches 1 to 12 in this series were accepted by Eduardo. >> Patches 13 and 14 need to go via platform or dt tree. >> >> Used get_maintainer.pl to get maintainers and open list, add them in To: and Cc: >> list. >> >> To: >> Rob Herring <robh+dt@kernel.org> >> Pawel Moll <pawel.moll@arm.com> >> Mark Rutland <mark.rutland@arm.com> >> Ian Campbell <ijc+devicetree@hellion.org.uk> >> Kumar Gala <galak@codeaurora.org> >> >> Cc: >> devicetree@vger.kernel.org >> >> On 2016?03?29? 23:16, Eduardo Valentin wrote: >>> On Tue, Mar 29, 2016 at 06:29:23PM +0800, Wei Ni wrote: >>>> Adds soctherm node for Tegra210, and add cpu, >>>> gpu, mem, pllx as thermal-zones. Set critical >>>> trip temperatures for them. >>>> >>>> Signed-off-by: Wei Ni <wni@nvidia.com> >>> >>> Acked-by: Eduardo Valentin <edubezval@gmail.com> >>> >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-pm" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > -- > To unsubscribe from this list: send the line "unsubscribe linux-pm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Will move patch 12 and 14 to my "Add HW throttle for Tegra soctherm" series. On 2016?04?26? 11:36, Wei Ni wrote: > Hi Thierry, > > Do you know who can take these patch 13 and 14? > The corresponding driver was merged to linux-next several weeks ago. > Does I need to send these two patches again? > > Thanks. > Wei. > > On 2016?04?12? 16:53, Wei Ni wrote: >> Could anyone take a look this patch? >> >> On 2016?04?01? 15:01, Wei Ni wrote: >>> Patches 1 to 12 in this series were accepted by Eduardo. >>> Patches 13 and 14 need to go via platform or dt tree. >>> >>> Used get_maintainer.pl to get maintainers and open list, add them in To: and Cc: >>> list. >>> >>> To: >>> Rob Herring <robh+dt@kernel.org> >>> Pawel Moll <pawel.moll@arm.com> >>> Mark Rutland <mark.rutland@arm.com> >>> Ian Campbell <ijc+devicetree@hellion.org.uk> >>> Kumar Gala <galak@codeaurora.org> >>> >>> Cc: >>> devicetree@vger.kernel.org >>> >>> On 2016?03?29? 23:16, Eduardo Valentin wrote: >>>> On Tue, Mar 29, 2016 at 06:29:23PM +0800, Wei Ni wrote: >>>>> Adds soctherm node for Tegra210, and add cpu, >>>>> gpu, mem, pllx as thermal-zones. Set critical >>>>> trip temperatures for them. >>>>> >>>>> Signed-off-by: Wei Ni <wni@nvidia.com> >>>> >>>> Acked-by: Eduardo Valentin <edubezval@gmail.com> >>>> >>> -- >>> To unsubscribe from this list: send the line "unsubscribe linux-pm" in >>> the body of a message to majordomo@vger.kernel.org >>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>> >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-pm" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > -- > To unsubscribe from this list: send the line "unsubscribe linux-pm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/nvidia/tegra210.dtsi index 23b0630602cf..232fa14a913d 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi @@ -3,6 +3,7 @@ #include <dt-bindings/memory/tegra210-mc.h> #include <dt-bindings/pinctrl/pinctrl-tegra.h> #include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/thermal/tegra124-soctherm.h> / { compatible = "nvidia,tegra210"; @@ -802,4 +803,107 @@ (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; interrupt-parent = <&gic>; }; + + soctherm: thermal-sensor@0,700e2000 { + compatible = "nvidia,tegra210-soctherm"; + reg = <0x0 0x700e2000 0x0 0x1000>; + interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&tegra_car TEGRA210_CLK_TSENSOR>, + <&tegra_car TEGRA210_CLK_SOC_THERM>; + clock-names = "tsensor", "soctherm"; + resets = <&tegra_car 78>; + reset-names = "soctherm"; + #thermal-sensor-cells = <1>; + }; + + thermal-zones { + cpu { + polling-delay-passive = <1000>; + polling-delay = <0>; + + thermal-sensors = + <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>; + + trips { + cpu-shutdown-trip { + temperature = <102500>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + /* + * There are currently no cooling maps, + * because there are no cooling devices. + */ + }; + }; + mem { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = + <&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>; + + trips { + mem-shutdown-trip { + temperature = <103000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + /* + * There are currently no cooling maps, + * because there are no cooling devices. + */ + }; + }; + gpu { + polling-delay-passive = <1000>; + polling-delay = <0>; + + thermal-sensors = + <&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>; + + trips { + gpu-shutdown-trip { + temperature = <103000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + /* + * There are currently no cooling maps, + * because there are no cooling devices. + */ + }; + }; + pllx { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = + <&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>; + + trips { + pllx-shutdown-trip { + temperature = <103000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + /* + * There are currently no cooling maps, + * because there are no cooling devices. + */ + }; + }; + }; };
Adds soctherm node for Tegra210, and add cpu, gpu, mem, pllx as thermal-zones. Set critical trip temperatures for them. Signed-off-by: Wei Ni <wni@nvidia.com> --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 104 +++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+)