[PATCH v2 0/1] thermal: mt8173: minor mtk_thermal.c cleanups

2017-02-21 Thread Dawei Chien
If thermal bank with 4 sensors, thermal driver should read TEMP_MSR3. However, currently thermal driver would not read TEMP_MSR3 since mt8173 thermal driver only use 3 sensors on each thermal bank at the same time, so this patch would not effect temperature. Only if mt mt8173 thermal driver use 4

[PATCH v2 0/1] thermal: mt8173: minor mtk_thermal.c cleanups

2017-02-21 Thread Dawei Chien
If thermal bank with 4 sensors, thermal driver should read TEMP_MSR3. However, currently thermal driver would not read TEMP_MSR3 since mt8173 thermal driver only use 3 sensors on each thermal bank at the same time, so this patch would not effect temperature. Only if mt mt8173 thermal driver use 4

[PATCH v2 1/1] thermal: mt8173: minor mtk_thermal.c cleanups

2017-02-21 Thread Dawei Chien
sensors on any thermal bank, would read third sensor two times, and lose fourth sensor of vale. cc: sta...@vger.kernel.org Fixes: b7cf0053738c ("thermal: Add Mediatek thermal driver for mt2701.") Reviewed-by: Matthias Brugger <matthias@gmail.com> Signed-off-by: Dawei

[PATCH v2 1/1] thermal: mt8173: minor mtk_thermal.c cleanups

2017-02-21 Thread Dawei Chien
sensors on any thermal bank, would read third sensor two times, and lose fourth sensor of vale. cc: sta...@vger.kernel.org Fixes: b7cf0053738c ("thermal: Add Mediatek thermal driver for mt2701.") Reviewed-by: Matthias Brugger Signed-off-by: Dawei Chien --- drivers/thermal/mtk_the

Re: [PATCH] thermal: mt8173: minor mtk_thermal.c cleanups

2017-02-13 Thread Dawei Chien
Hi, Matthias, On Thu, 2017-02-09 at 22:25 +0100, Matthias Brugger wrote: > > On 02/08/2017 06:31 AM, Dawei Chien wrote: > > Thermal driver should read TEMP_MSR3 if thermal bank with 4 sensors. > > However, Currently thermal driver don't need read TEMP_MSR3 since > > therm

Re: [PATCH] thermal: mt8173: minor mtk_thermal.c cleanups

2017-02-13 Thread Dawei Chien
Hi, Matthias, On Thu, 2017-02-09 at 22:25 +0100, Matthias Brugger wrote: > > On 02/08/2017 06:31 AM, Dawei Chien wrote: > > Thermal driver should read TEMP_MSR3 if thermal bank with 4 sensors. > > However, Currently thermal driver don't need read TEMP_MSR3 since > > therm

[PATCH] thermal: mt8173: minor mtk_thermal.c cleanups

2017-02-07 Thread Dawei Chien
Thermal driver should read TEMP_MSR3 if thermal bank with 4 sensors. However, Currently thermal driver don't need read TEMP_MSR3 since thermal controller only use 3 sensors for each thermal bank. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- drivers/thermal/mtk_thermal.c | 2

[PATCH] thermal: mt8173: minor mtk_thermal.c cleanups

2017-02-07 Thread Dawei Chien
Thermal driver should read TEMP_MSR3 if thermal bank with 4 sensors. However, Currently thermal driver don't need read TEMP_MSR3 since thermal controller only use 3 sensors for each thermal bank. Signed-off-by: Dawei Chien --- drivers/thermal/mtk_thermal.c | 2 +- 1 file changed, 1 insertion

Re: [PATCH v2 6/6] arm: dts: mt2701: Add thermal device node.

2017-01-15 Thread Dawei Chien
On Mon, 2017-01-16 at 11:44 +0800, Dawei Chien wrote: > On Fri, 2017-01-13 at 16:27 +0100, Matthias Brugger wrote: > > > > On 13/01/17 09:42, Erin Lo wrote: > > > From: Dawei Chien <dawei.ch...@mediatek.com> > > > > > > Add thermal controller

Re: [PATCH v2 6/6] arm: dts: mt2701: Add thermal device node.

2017-01-15 Thread Dawei Chien
On Mon, 2017-01-16 at 11:44 +0800, Dawei Chien wrote: > On Fri, 2017-01-13 at 16:27 +0100, Matthias Brugger wrote: > > > > On 13/01/17 09:42, Erin Lo wrote: > > > From: Dawei Chien > > > > > > Add thermal controller device nodes for MT2701. > >

Re: [PATCH v2 6/6] arm: dts: mt2701: Add thermal device node.

2017-01-15 Thread Dawei Chien
On Fri, 2017-01-13 at 16:27 +0100, Matthias Brugger wrote: > > On 13/01/17 09:42, Erin Lo wrote: > > From: Dawei Chien <dawei.ch...@mediatek.com> > > > > Add thermal controller device nodes for MT2701. > > > > Signed-off-by: Dawei Chien <dawei.ch...@m

Re: [PATCH v2 6/6] arm: dts: mt2701: Add thermal device node.

2017-01-15 Thread Dawei Chien
On Fri, 2017-01-13 at 16:27 +0100, Matthias Brugger wrote: > > On 13/01/17 09:42, Erin Lo wrote: > > From: Dawei Chien > > > > Add thermal controller device nodes for MT2701. > > > > Signed-off-by: Dawei Chien > > Signed-off-by: Erin Lo >

arm64: dts: mt8173: add node for thermal calibration

2017-01-12 Thread Dawei Chien
From: "dawei.ch...@mediatek.com" <dawei.ch...@mediatek.com> Add this for supporting thermal calibration by e-fuse data. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff -

arm64: dts: mt8173: add node for thermal calibration

2017-01-12 Thread Dawei Chien
From: "dawei.ch...@mediatek.com" Add this for supporting thermal calibration by e-fuse data. Signed-off-by: Dawei Chien --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm6

Re: [PATCH v2 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-09-07 Thread Dawei Chien
On Tue, 2016-09-06 at 11:28 +0800, Dawei Chien wrote: > Dear Rui, > > On Tue, 2016-09-06 at 08:30 +0800, Zhang Rui wrote: > > On 二, 2016-09-06 at 08:24 +0800, Zhang Rui wrote: > > > On 四, 2016-08-18 at 11:50 +0800, Dawei Chien wrote: > > > > > > >

Re: [PATCH v2 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-09-07 Thread Dawei Chien
On Tue, 2016-09-06 at 11:28 +0800, Dawei Chien wrote: > Dear Rui, > > On Tue, 2016-09-06 at 08:30 +0800, Zhang Rui wrote: > > On 二, 2016-09-06 at 08:24 +0800, Zhang Rui wrote: > > > On 四, 2016-08-18 at 11:50 +0800, Dawei Chien wrote: > > > > > > >

Re: [PATCH v2 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-09-05 Thread Dawei Chien
Dear Rui, On Tue, 2016-09-06 at 08:30 +0800, Zhang Rui wrote: > On 二, 2016-09-06 at 08:24 +0800, Zhang Rui wrote: > > On 四, 2016-08-18 at 11:50 +0800, Dawei Chien wrote: > > > > > > This adds the thermal controller and auxadc nodes > > > to the Mediatek MT270

Re: [PATCH v2 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-09-05 Thread Dawei Chien
Dear Rui, On Tue, 2016-09-06 at 08:30 +0800, Zhang Rui wrote: > On 二, 2016-09-06 at 08:24 +0800, Zhang Rui wrote: > > On 四, 2016-08-18 at 11:50 +0800, Dawei Chien wrote: > > > > > > This adds the thermal controller and auxadc nodes > > > to the Mediatek MT270

[PATCH v2 0/3] Add Mediatek thermal driver for mt2701

2016-08-17 Thread Dawei Chien
name could be used for both MT2701/MT8173. 2. Add flexible array member to instead of normal array since thermal bank has different array size between MT2701 to MT8173. Dawei Chien (3): dt-bindings: thermal: Add binding document for Mediatek thermal controller thermal: Add Mediatek

[PATCH v2 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2016-08-17 Thread Dawei Chien
This adds the device tree binding documentation for the mediatek thermal controller found on Mediatek MT2701. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- .../bindings/thermal/mediatek-thermal.txt |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[PATCH v2 0/3] Add Mediatek thermal driver for mt2701

2016-08-17 Thread Dawei Chien
name could be used for both MT2701/MT8173. 2. Add flexible array member to instead of normal array since thermal bank has different array size between MT2701 to MT8173. Dawei Chien (3): dt-bindings: thermal: Add binding document for Mediatek thermal controller thermal: Add Mediatek

[PATCH v2 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2016-08-17 Thread Dawei Chien
This adds the device tree binding documentation for the mediatek thermal controller found on Mediatek MT2701. Signed-off-by: Dawei Chien --- .../bindings/thermal/mediatek-thermal.txt |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH v2 2/3] thermal: Add Mediatek thermal driver for mt2701.

2016-08-17 Thread Dawei Chien
This patch adds support for mt2701 chip to mtk_thermal, and integrate both mt8173 and mt2701 on the same driver. MT8173 has four banks and five sensors, and MT2701 has only one bank and three sensors. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch dependents on &quo

[PATCH v2 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-08-17 Thread Dawei Chien
This adds the thermal controller and auxadc nodes to the Mediatek MT2701 dtsi file. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch depned on: https://patchwork.kernel.org/patch/9249589/ --- arch/arm/boot/dts/mt2701.dtsi | 44 ++

[PATCH v2 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-08-17 Thread Dawei Chien
This adds the thermal controller and auxadc nodes to the Mediatek MT2701 dtsi file. Signed-off-by: Dawei Chien --- This patch depned on: https://patchwork.kernel.org/patch/9249589/ --- arch/arm/boot/dts/mt2701.dtsi | 44 + 1 file changed, 44 insertions

[PATCH v2 2/3] thermal: Add Mediatek thermal driver for mt2701.

2016-08-17 Thread Dawei Chien
This patch adds support for mt2701 chip to mtk_thermal, and integrate both mt8173 and mt2701 on the same driver. MT8173 has four banks and five sensors, and MT2701 has only one bank and three sensors. Signed-off-by: Dawei Chien --- This patch dependents on "Add clock support for Mediatek M

Re: [PATCH 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-08-15 Thread dawei chien
Hi Matthias, On Thu, 2016-08-11 at 17:51 +0200, Matthias Brugger wrote: > > On 07/07/16 11:06, Dawei Chien wrote: > > This adds the thermal controller and auxadc nodes > > to the Mediatek MT2701 dtsi file. > > > > Signed-off-by: Dawei Chien <dawei.ch...@med

Re: [PATCH 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-08-15 Thread dawei chien
Hi Matthias, On Thu, 2016-08-11 at 17:51 +0200, Matthias Brugger wrote: > > On 07/07/16 11:06, Dawei Chien wrote: > > This adds the thermal controller and auxadc nodes > > to the Mediatek MT2701 dtsi file. > > > > Signed-off-by: Dawei Chien > > ---

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2016-08-15 Thread dawei chien
Hi Matthias, On Thu, 2016-08-11 at 17:48 +0200, Matthias Brugger wrote: > > On 11/07/16 10:52, dawei chien wrote: > > Dear Keerthy, > > > > On Thu, 2016-07-07 at 16:39 +0530, Keerthy wrote: > >> > >> On Thursday 07 July 2016 02:36 PM, Dawei Chien wrot

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2016-08-15 Thread dawei chien
Hi Matthias, On Thu, 2016-08-11 at 17:48 +0200, Matthias Brugger wrote: > > On 11/07/16 10:52, dawei chien wrote: > > Dear Keerthy, > > > > On Thu, 2016-07-07 at 16:39 +0530, Keerthy wrote: > >> > >> On Thursday 07 July 2016 02:36 PM, Dawei Chien wrot

Re: [PATCH 2/3] thermal: Add Mediatek thermal driver for mt2701.

2016-08-08 Thread dawei chien
Dear Keerthy, On Mon, 2016-07-11 at 16:56 +0800, dawei chien wrote: > Dear Keerthy, > > On Thu, 2016-07-07 at 17:24 +0530, Keerthy wrote: > > Hi Dawei Chien, > > > > > > On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: > > > This patch add

Re: [PATCH 2/3] thermal: Add Mediatek thermal driver for mt2701.

2016-08-08 Thread dawei chien
Dear Keerthy, On Mon, 2016-07-11 at 16:56 +0800, dawei chien wrote: > Dear Keerthy, > > On Thu, 2016-07-07 at 17:24 +0530, Keerthy wrote: > > Hi Dawei Chien, > > > > > > On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: > > > This patch add

Re: [PATCH 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-07-11 Thread dawei chien
Dear Keerthy, On Thu, 2016-07-07 at 17:39 +0530, Keerthy wrote: > > On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: > > This adds the thermal controller and auxadc nodes > > to the Mediatek MT2701 dtsi file. > > > > Signed-off-by: Dawei C

Re: [PATCH 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-07-11 Thread dawei chien
Dear Keerthy, On Thu, 2016-07-07 at 17:39 +0530, Keerthy wrote: > > On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: > > This adds the thermal controller and auxadc nodes > > to the Mediatek MT2701 dtsi file. > > > > Signed-off-by: Dawei Chien > > ---

Re: [PATCH 2/3] thermal: Add Mediatek thermal driver for mt2701.

2016-07-11 Thread dawei chien
Dear Keerthy, On Thu, 2016-07-07 at 17:24 +0530, Keerthy wrote: > Hi Dawei Chien, > > > On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: > > This patch adds support for mt2701 chip to mtk_thermal.c, > > and integrate both mt8173 and mt2701 on the same driver. &

Re: [PATCH 2/3] thermal: Add Mediatek thermal driver for mt2701.

2016-07-11 Thread dawei chien
Dear Keerthy, On Thu, 2016-07-07 at 17:24 +0530, Keerthy wrote: > Hi Dawei Chien, > > > On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: > > This patch adds support for mt2701 chip to mtk_thermal.c, > > and integrate both mt8173 and mt2701 on the same driver. &

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2016-07-11 Thread dawei chien
Dear Keerthy, On Thu, 2016-07-07 at 16:39 +0530, Keerthy wrote: > > On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: > > This adds the device tree binding documentation for the mediatek thermal > > controller found on Mediatek MT2701. > > > > Signed

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2016-07-11 Thread dawei chien
Dear Keerthy, On Thu, 2016-07-07 at 16:39 +0530, Keerthy wrote: > > On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: > > This adds the device tree binding documentation for the mediatek thermal > > controller found on Mediatek MT2701. > > > &

[PATCH 2/3] thermal: Add Mediatek thermal driver for mt2701.

2016-07-07 Thread Dawei Chien
This patch adds support for mt2701 chip to mtk_thermal.c, and integrate both mt8173 and mt2701 on the same driver. MT8173 has four banks and five sensors, and MT2701 has only one bank and three sensors. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- drivers/thermal/mtk_the

[PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2016-07-07 Thread Dawei Chien
This adds the device tree binding documentation for the mediatek thermal controller found on Mediatek MT2701. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- .../bindings/thermal/mediatek-thermal.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 2/3] thermal: Add Mediatek thermal driver for mt2701.

2016-07-07 Thread Dawei Chien
This patch adds support for mt2701 chip to mtk_thermal.c, and integrate both mt8173 and mt2701 on the same driver. MT8173 has four banks and five sensors, and MT2701 has only one bank and three sensors. Signed-off-by: Dawei Chien --- drivers/thermal/mtk_thermal.c | 258

[PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2016-07-07 Thread Dawei Chien
This adds the device tree binding documentation for the mediatek thermal controller found on Mediatek MT2701. Signed-off-by: Dawei Chien --- .../bindings/thermal/mediatek-thermal.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH 0/3] thermal: Add Mediatek thermal driver for mt2701

2016-07-07 Thread Dawei Chien
This series support for mt2701 chip to mtk_thermal.c, and integrate both mt8173 and mt2701 on the same driver. MT8173 has four banks and five sensors, and MT2701 has only one bank and three sensors.

[PATCH 0/3] thermal: Add Mediatek thermal driver for mt2701

2016-07-07 Thread Dawei Chien
This series support for mt2701 chip to mtk_thermal.c, and integrate both mt8173 and mt2701 on the same driver. MT8173 has four banks and five sensors, and MT2701 has only one bank and three sensors.

[PATCH 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-07-07 Thread Dawei Chien
This adds the thermal controller and auxadc nodes to the Mediatek MT2701 dtsi file. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch depned on: https://patchwork.kernel.org/patch/9213545/ --- arch/arm/boot/dts/mt2701.dtsi | 43 ++

[PATCH 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-07-07 Thread Dawei Chien
This adds the thermal controller and auxadc nodes to the Mediatek MT2701 dtsi file. Signed-off-by: Dawei Chien --- This patch depned on: https://patchwork.kernel.org/patch/9213545/ --- arch/arm/boot/dts/mt2701.dtsi | 43 + 1 file changed, 43 insertions

Re: [RESEND][PATCH 3/3] arm64: dts: mt8173: Add dynamic power node.

2016-04-20 Thread dawei chien
On Tue, 2016-03-15 at 16:10 +0800, Dawei Chien (錢大衛) wrote: > This device node is for calculating dynamic power in mW. > Since mt8173 has two clusters, there are two dynamic power > coefficient as well. > > Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> >

Re: [RESEND][PATCH 3/3] arm64: dts: mt8173: Add dynamic power node.

2016-04-20 Thread dawei chien
On Tue, 2016-03-15 at 16:10 +0800, Dawei Chien (錢大衛) wrote: > This device node is for calculating dynamic power in mW. > Since mt8173 has two clusters, there are two dynamic power > coefficient as well. > > Signed-off-by: Dawei Chien > --- > This patch is base on patchse

Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-04-11 Thread dawei chien
On Tue, 2016-04-12 at 10:41 +0530, Viresh Kumar wrote: > On 12-04-16, 10:32, dawei chien wrote: > > On Tue, 2016-03-22 at 13:13 +0800, dawei chien wrote: > > > On Tue, 2016-03-15 at 13:17 +0700, Viresh Kumar wrote: > > > > Its Rafael, who is going to apply this one. &

Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-04-11 Thread dawei chien
On Tue, 2016-04-12 at 10:41 +0530, Viresh Kumar wrote: > On 12-04-16, 10:32, dawei chien wrote: > > On Tue, 2016-03-22 at 13:13 +0800, dawei chien wrote: > > > On Tue, 2016-03-15 at 13:17 +0700, Viresh Kumar wrote: > > > > Its Rafael, who is going to apply this one. &

Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-04-11 Thread dawei chien
On Tue, 2016-03-22 at 13:13 +0800, dawei chien wrote: > On Tue, 2016-03-15 at 13:17 +0700, Viresh Kumar wrote: > > On 15-03-16, 12:53, dawei chien wrote: > > > On Thu, 2015-12-17 at 09:52 +0800, Viresh Kumar wrote: > > > > On 16-12-15, 21:29, Dawei Chien wrote: &

Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-04-11 Thread dawei chien
On Tue, 2016-03-22 at 13:13 +0800, dawei chien wrote: > On Tue, 2016-03-15 at 13:17 +0700, Viresh Kumar wrote: > > On 15-03-16, 12:53, dawei chien wrote: > > > On Thu, 2015-12-17 at 09:52 +0800, Viresh Kumar wrote: > > > > On 16-12-15, 21:29, Dawei Chien wrote: &

Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-03-21 Thread dawei chien
On Tue, 2016-03-15 at 13:17 +0700, Viresh Kumar wrote: > On 15-03-16, 12:53, dawei chien wrote: > > On Thu, 2015-12-17 at 09:52 +0800, Viresh Kumar wrote: > > > On 16-12-15, 21:29, Dawei Chien wrote: > > > > Use Intelligent Power Allocation (IPA) technical to ad

Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-03-21 Thread dawei chien
On Tue, 2016-03-15 at 13:17 +0700, Viresh Kumar wrote: > On 15-03-16, 12:53, dawei chien wrote: > > On Thu, 2015-12-17 at 09:52 +0800, Viresh Kumar wrote: > > > On 16-12-15, 21:29, Dawei Chien wrote: > > > > Use Intelligent Power Allocation (IPA) technical to ad

[RESEND][PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-03-15 Thread Dawei Chien
power models respectively Change since V2: 1. Move dynamic/static power model in device tree Change since V1: 1. Include mt8171.h and sort header file for mt8173.dtsi Dawei Chien (3): thermal: mediatek: Add cpu dynamic power cooling model. arm64: dts: mt8173: Add thermal zone node. arm64

[RESEND][PATCH 3/3] arm64: dts: mt8173: Add dynamic power node.

2016-03-15 Thread Dawei Chien
This device node is for calculating dynamic power in mW. Since mt8173 has two clusters, there are two dynamic power coefficient as well. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- arch/arm64/boot/dts/me

[RESEND][PATCH 1/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-03-15 Thread Dawei Chien
MT8173 cpufreq driver select of_cpufreq_power_cooling_register registering cooling devices with dynamic power coefficient. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> Acked-by: Viresh Kumar <viresh.ku...@linaro.org> --- This patch is base on patchset: https://lkml.org/lkm

[RESEND][PATCH 3/3] arm64: dts: mt8173: Add dynamic power node.

2016-03-15 Thread Dawei Chien
This device node is for calculating dynamic power in mW. Since mt8173 has two clusters, there are two dynamic power coefficient as well. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi |4

[RESEND][PATCH 1/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-03-15 Thread Dawei Chien
MT8173 cpufreq driver select of_cpufreq_power_cooling_register registering cooling devices with dynamic power coefficient. Signed-off-by: Dawei Chien Acked-by: Viresh Kumar --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- drivers/cpufreq/mt8173-cpufreq.c | 11

[RESEND][PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-03-15 Thread Dawei Chien
power models respectively Change since V2: 1. Move dynamic/static power model in device tree Change since V1: 1. Include mt8171.h and sort header file for mt8173.dtsi Dawei Chien (3): thermal: mediatek: Add cpu dynamic power cooling model. arm64: dts: mt8173: Add thermal zone node. arm64

[RESEND][PATCH 2/3] arm64: dts: mt8173: Add thermal zone node.

2016-03-15 Thread Dawei Chien
This adds thermal zone node to Mediatek MT8173 dtsi file. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on patchset: https://lkml.org/lkml/2015/11/30/239 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 43 ++ 1 file chang

[RESEND][PATCH 2/3] arm64: dts: mt8173: Add thermal zone node.

2016-03-15 Thread Dawei Chien
This adds thermal zone node to Mediatek MT8173 dtsi file. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/30/239 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 43 ++ 1 file changed, 43 insertions(+) diff --git a/arch

Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-03-14 Thread dawei chien
On Thu, 2015-12-17 at 09:52 +0800, Viresh Kumar wrote: > On 16-12-15, 21:29, Dawei Chien wrote: > > Use Intelligent Power Allocation (IPA) technical to add dynamic power model > > for binding CPU thermal zone. The power allocator governor allocates power > > budget to co

Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-03-14 Thread dawei chien
On Thu, 2015-12-17 at 09:52 +0800, Viresh Kumar wrote: > On 16-12-15, 21:29, Dawei Chien wrote: > > Use Intelligent Power Allocation (IPA) technical to add dynamic power model > > for binding CPU thermal zone. The power allocator governor allocates power > > budget to co

[PATCH] arm64: dts: mt8173: add node for thermal calibration

2016-02-04 Thread Dawei Chien
Add this for supporting thermal calibration by e-fuse data. Signed-off-by: Dawei Chien --- Because MTK thermal/efuse patches hadn't landed on mainline, this patch must base on following patchset: https://lkml.org/lkml/2015/11/17/251 https://lkml.org/lkml/2015/11/19/169 https://lkml.org/lkml/2015

[PATCH] arm64: dts: mt8173: add node for thermal calibration

2016-02-04 Thread Dawei Chien
Add this for supporting thermal calibration by e-fuse data. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- Because MTK thermal/efuse patches hadn't landed on mainline, this patch must base on following patchset: https://lkml.org/lkml/2015/11/17/251 https://lkml.org/lkml/2015/11/

[PATCH v6 1/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-16 Thread Dawei Chien
MT8173 cpufreq driver select of_cpufreq_power_cooling_register registering cooling devices with dynamic power coefficient. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- drivers/cpufreq/mt8173-cpufreq.c | 11 +-- 1 file changed

[PATCH v6 3/3] arm64: dts: mt8173: Add dynamic power node.

2015-12-16 Thread Dawei Chien
This device node is for calculating dynamic power in mW. Since mt8173 has two clusters, there are two dynamic power coefficient as well. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi |4

[PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-16 Thread Dawei Chien
models respectively Change since V2: 1. Move dynamic/static power model in device tree Change since V1: 1. Include mt8171.h and sort header file for mt8173.dtsi Dawei Chien (3): thermal: mediatek: Add cpu dynamic power cooling model. arm64: dts: mt8173: Add thermal zone node. arm64: dts

[PATCH v6 2/3] arm64: dts: mt8173: Add thermal zone node.

2015-12-16 Thread Dawei Chien
This adds thermal zone node to Mediatek MT8173 dtsi file. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/30/239 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 43 ++ 1 file changed, 43 insertions(+) diff --git a/arch

Re: [PATCH v5 2/3] arm64: dts: mt8173: Add thermal zone node.

2015-12-16 Thread dawei chien
On Wed, 2015-12-16 at 19:22 +0800, Daniel Kurtz wrote: > On Wed, Dec 16, 2015 at 6:09 PM, dawei chien wrote: > > On Wed, 2015-12-16 at 16:34 +0800, Daniel Kurtz wrote: > >> On Wed, Dec 16, 2015 at 11:59 AM, Dawei Chien > >> wrote: > >> > > >>

Re: [PATCH v5 2/3] arm64: dts: mt8173: Add thermal zone node.

2015-12-16 Thread dawei chien
On Wed, 2015-12-16 at 16:34 +0800, Daniel Kurtz wrote: > On Wed, Dec 16, 2015 at 11:59 AM, Dawei Chien > wrote: > > > > This adds thermal zone node to Mediatek MT8173 dtsi file. > > > > Signed-off-by: Dawei Chien > > --- > > This patch is base on patc

[PATCH v6 3/3] arm64: dts: mt8173: Add dynamic power node.

2015-12-16 Thread Dawei Chien
This device node is for calculating dynamic power in mW. Since mt8173 has two clusters, there are two dynamic power coefficient as well. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- arch/arm64/boot/dts/me

[PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-16 Thread Dawei Chien
models respectively Change since V2: 1. Move dynamic/static power model in device tree Change since V1: 1. Include mt8171.h and sort header file for mt8173.dtsi Dawei Chien (3): thermal: mediatek: Add cpu dynamic power cooling model. arm64: dts: mt8173: Add thermal zone node. arm64: dts

[PATCH v6 2/3] arm64: dts: mt8173: Add thermal zone node.

2015-12-16 Thread Dawei Chien
This adds thermal zone node to Mediatek MT8173 dtsi file. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on patchset: https://lkml.org/lkml/2015/11/30/239 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 43 ++ 1 file chang

[PATCH v6 1/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-16 Thread Dawei Chien
MT8173 cpufreq driver select of_cpufreq_power_cooling_register registering cooling devices with dynamic power coefficient. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- drivers/cpufreq/mt8173-cpufreq.c

Re: [PATCH v5 2/3] arm64: dts: mt8173: Add thermal zone node.

2015-12-16 Thread dawei chien
On Wed, 2015-12-16 at 19:22 +0800, Daniel Kurtz wrote: > On Wed, Dec 16, 2015 at 6:09 PM, dawei chien <dawei.ch...@mediatek.com> wrote: > > On Wed, 2015-12-16 at 16:34 +0800, Daniel Kurtz wrote: > >> On Wed, Dec 16, 2015 at 11:59 AM, Dawei Chien <dawei.ch..

Re: [PATCH v5 2/3] arm64: dts: mt8173: Add thermal zone node.

2015-12-16 Thread dawei chien
On Wed, 2015-12-16 at 16:34 +0800, Daniel Kurtz wrote: > On Wed, Dec 16, 2015 at 11:59 AM, Dawei Chien <dawei.ch...@mediatek.com> > wrote: > > > > This adds thermal zone node to Mediatek MT8173 dtsi file. > > > > Signed-off-by: Dawei Chien <dawei.ch...@media

[PATCH v5 1/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-15 Thread Dawei Chien
MT8173 cpufreq driver select of_cpufreq_power_cooling_register registering cooling devices with dynamic power coefficient. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- drivers/cpufreq/mt8173-cpufreq.c | 11 +-- 1 file changed

[PATCH v5 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-15 Thread Dawei Chien
power model in device tree Change since V1: 1. Include mt8171.h and sort header file for mt8173.dtsi Dawei Chien (3): thermal: mediatek: Add cpu dynamic power cooling model. arm64: dts: mt8173: Add thermal zone node. arm64: dts: mt8173: Add dynamic power node. arch/arm64/boot/dts/mediatek

[PATCH v5 3/3] arm64: dts: mt8173: Add dynamic power node.

2015-12-15 Thread Dawei Chien
This device node is for calculating dynamic power in mW. Since mt8173 has two clusters, there are two dynamic power coefficient as well. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi |4

[PATCH v5 2/3] arm64: dts: mt8173: Add thermal zone node.

2015-12-15 Thread Dawei Chien
This adds thermal zone node to Mediatek MT8173 dtsi file. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/30/239 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 43 ++ 1 file changed, 43 insertions(+) diff --git a/arch

[PATCH v5 1/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-15 Thread Dawei Chien
MT8173 cpufreq driver select of_cpufreq_power_cooling_register registering cooling devices with dynamic power coefficient. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- drivers/cpufreq/mt8173-cpufreq.c

[PATCH v5 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-15 Thread Dawei Chien
power model in device tree Change since V1: 1. Include mt8171.h and sort header file for mt8173.dtsi Dawei Chien (3): thermal: mediatek: Add cpu dynamic power cooling model. arm64: dts: mt8173: Add thermal zone node. arm64: dts: mt8173: Add dynamic power node. arch/arm64/boot/dts/mediatek

[PATCH v5 3/3] arm64: dts: mt8173: Add dynamic power node.

2015-12-15 Thread Dawei Chien
This device node is for calculating dynamic power in mW. Since mt8173 has two clusters, there are two dynamic power coefficient as well. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- arch/arm64/boot/dts/me

[PATCH v5 2/3] arm64: dts: mt8173: Add thermal zone node.

2015-12-15 Thread Dawei Chien
This adds thermal zone node to Mediatek MT8173 dtsi file. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on patchset: https://lkml.org/lkml/2015/11/30/239 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 43 ++ 1 file chang

Re: [PATCH v4 3/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-11-30 Thread dawei chien
On Mon, 2015-11-30 at 16:04 +0530, Viresh Kumar wrote: > On 30-11-15, 18:21, dawei chien wrote: > > As far as I know, user or shell script has the right for using command > > online/offline cpu. > > Right. > > > Either user by console or shell script co

Re: [PATCH v4 3/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-11-30 Thread dawei chien
On Mon, 2015-11-30 at 15:00 +0530, Viresh Kumar wrote: > On 30-11-15, 17:26, dawei chien wrote: > > On Mon, 2015-11-30 at 11:08 +0530, Viresh Kumar wrote: > > > On 27-11-15, 17:32, Dawei Chien wrote: > > > > MT8173 cpufreq driver use of_cpufreq_power_cooling_regist

Re: [PATCH v4 3/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-11-30 Thread dawei chien
On Mon, 2015-11-30 at 11:08 +0530, Viresh Kumar wrote: > On 27-11-15, 17:32, Dawei Chien wrote: > > MT8173 cpufreq driver use of_cpufreq_power_cooling_register registering > > cooling devices with dynamic power coefficient. > > > > Signed-off-by: Dawei Chien >

Re: [PATCH v4 3/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-11-30 Thread dawei chien
On Mon, 2015-11-30 at 11:08 +0530, Viresh Kumar wrote: > On 27-11-15, 17:32, Dawei Chien wrote: > > MT8173 cpufreq driver use of_cpufreq_power_cooling_register registering > > cooling devices with dynamic power coefficient. > > > > Signed-off-by: Dawei Chie

Re: [PATCH v4 3/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-11-30 Thread dawei chien
On Mon, 2015-11-30 at 15:00 +0530, Viresh Kumar wrote: > On 30-11-15, 17:26, dawei chien wrote: > > On Mon, 2015-11-30 at 11:08 +0530, Viresh Kumar wrote: > > > On 27-11-15, 17:32, Dawei Chien wrote: > > > > MT8173 cpufreq driver use of_cpufreq_power_cooling_regist

Re: [PATCH v4 3/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-11-30 Thread dawei chien
On Mon, 2015-11-30 at 16:04 +0530, Viresh Kumar wrote: > On 30-11-15, 18:21, dawei chien wrote: > > As far as I know, user or shell script has the right for using command > > online/offline cpu. > > Right. > > > Either user by console or shell script co

[PATCH v4 1/3] arm64: dts: mt8173: Add thermal zone node.

2015-11-27 Thread Dawei Chien
This adds thermal zone node to Mediatek MT8173 dtsi file. Signed-off-by: Dawei Chien --- This patch is based on patchset: https://lkml.org/lkml/2015/11/18/84 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 43 ++ 1 file changed, 43 insertions(+) diff --git a/arch

[PATCH v4 3/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-11-27 Thread Dawei Chien
MT8173 cpufreq driver use of_cpufreq_power_cooling_register registering cooling devices with dynamic power coefficient. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- drivers/cpufreq/mt8173-cpufreq.c | 28 1

[PATCH v4 0/3] thermal: mediatek: Add cpu power cooling model

2015-11-27 Thread Dawei Chien
/251 Change since V1: 1. Include mt8171.h and sort header file for mt8173.dtsi Change since V2: 1. Move dynamic/static power model in device tree Change since V3: 1. Remove static power model. 2. Split V3's device tree in two for thermal zones and dynamic power models respectively. Dawei Chien (3

[PATCH v4 2/3] arm64: dts: mt8173: Add dynamic power node.

2015-11-27 Thread Dawei Chien
This device node is for calculating dynamic power in mW. Since mt8173 has two clusters, there are two dynamic power coefficient as well. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi |4

[PATCH v4 1/3] arm64: dts: mt8173: Add thermal zone node.

2015-11-27 Thread Dawei Chien
This adds thermal zone node to Mediatek MT8173 dtsi file. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is based on patchset: https://lkml.org/lkml/2015/11/18/84 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 43 ++ 1 file chang

[PATCH v4 2/3] arm64: dts: mt8173: Add dynamic power node.

2015-11-27 Thread Dawei Chien
This device node is for calculating dynamic power in mW. Since mt8173 has two clusters, there are two dynamic power coefficient as well. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- arch/arm64/boot/dts/me

[PATCH v4 0/3] thermal: mediatek: Add cpu power cooling model

2015-11-27 Thread Dawei Chien
/251 Change since V1: 1. Include mt8171.h and sort header file for mt8173.dtsi Change since V2: 1. Move dynamic/static power model in device tree Change since V3: 1. Remove static power model. 2. Split V3's device tree in two for thermal zones and dynamic power models respectively. Dawei Chien (3

[PATCH v4 3/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-11-27 Thread Dawei Chien
MT8173 cpufreq driver use of_cpufreq_power_cooling_register registering cooling devices with dynamic power coefficient. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- drivers/cpufreq/mt8173-cpufreq.c

  1   2   >