[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 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 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 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 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 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 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

[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

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 <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 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

[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

Re: [PATCH v3 0/2] thermal: mediatek: Add cpu power cooling model

2015-11-11 Thread dawei chien
On Fri, 2015-11-06 at 08:50 +0530, Viresh Kumar wrote: > On 05-11-15, 19:09, dawei chien wrote: > > Thank you for your kindly explaining, now I could understand what I > > miss, I will send device tree binding on next version such like > > following description. > &g

Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model.

2015-11-05 Thread dawei chien
On Wed, 2015-11-04 at 11:40 -0800, Eduardo Valentin wrote: > On Thu, Oct 22, 2015 at 08:02:38PM +0800, Dawei Chien wrote: > > This power model is base on Intelligent Power Allocation (IPA) > > technical, requires that the operating-points of the CPUs are > > registered u

Re: [PATCH v3 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-11-05 Thread dawei chien
On Wed, 2015-11-04 at 11:41 -0800, Eduardo Valentin wrote: > On Thu, Oct 22, 2015 at 08:02:39PM +0800, Dawei Chien wrote: > > Add thermal zone node to mt8173.dtsi. > > > > Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> > > --- > > This patch is b

Re: [PATCH v3 0/2] thermal: mediatek: Add cpu power cooling model

2015-11-05 Thread dawei chien
On Mon, 2015-11-02 at 17:40 +0530, Viresh Kumar wrote: > On 02-11-15, 18:46, dawei chien wrote: > > On Wed, 2015-10-28 at 21:14 +0530, Viresh Kumar wrote: > > > Sorry for being extremely late in reviewing this stuff. You are > > > already on v3 and I haven't reviewed

Re: [PATCH v3 0/2] thermal: mediatek: Add cpu power cooling model

2015-11-02 Thread dawei chien
Hi Viresh, On Wed, 2015-10-28 at 21:14 +0530, Viresh Kumar wrote: > On 22-10-15, 20:02, Dawei Chien wrote: > > Use Intelligent Power Allocation (IPA) technical to add static/dynamic > > power model for binding CPU thermal zone. > > The power allocator governor allocates po

Re: [PATCH v3 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-11-02 Thread dawei chien
On Wed, 2015-10-28 at 21:09 +0530, Viresh Kumar wrote: > On 22-10-15, 20:02, Dawei Chien wrote: > > Add thermal zone node to mt8173.dtsi. > > > > Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> > > --- > > This patch is base on > > https://

[PATCH v3 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-10-22 Thread Dawei Chien
Add thermal zone node to mt8173.dtsi. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on https://patchwork.kernel.org/patch/7249821/ https://patchwork.kernel.org/patch/7249861/ https://patchwork.kernel.org/patch/7249891/ --- arch/arm64/boot/dts/mediatek/mt817

[PATCH v3 0/2] thermal: mediatek: Add cpu power cooling model

2015-10-22 Thread Dawei Chien
Use Intelligent Power Allocation (IPA) technical to add static/dynamic power model for binding CPU thermal zone. The power allocator governor allocates power budget to control CPU temperature. Power Allocator governor is able to keep SOC temperature within a defined temperature range to avoid

[PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model.

2015-10-22 Thread Dawei Chien
This power model is base on Intelligent Power Allocation (IPA) technical, requires that the operating-points of the CPUs are registered using the kernel's opp library and the `cpufreq_frequency_table` is assigned to the `struct device` of the cpu MT8173. Signed-off-by: Dawei.Chien

Re: [PATCH v2 1/2] thermal: mediatek: Add cpu power cooling model.

2015-10-15 Thread dawei chien
On Mon, 2015-10-12 at 18:26 +0100, Punit Agrawal wrote: > Mark Rutland <mark.rutl...@arm.com> writes: > > > On Wed, Oct 07, 2015 at 08:22:40PM +0800, Dawei Chien wrote: > >> From: "Dawei.Chien" <dawei.ch...@mediatek.com> > >> > >>

[PATCH v2 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-10-07 Thread Dawei Chien
From: "Dawei.Chien" Add thermal zone node to mt8173.dtsi. Signed-off-by: Dawei.Chien --- This patch is base on https://patchwork.kernel.org/patch/7249821/ https://patchwork.kernel.org/patch/7249861/ https://patchwork.kernel.org/patch/7249891/

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

2015-09-08 Thread dawei chien
Hi Daniel, On Mon, 2015-09-07 at 12:05 +0800, Daniel Kurtz wrote: > On Mon, Sep 7, 2015 at 12:00 PM, Daniel Kurtz <djku...@chromium.org> wrote: > > Hi Dawei, > > > > On Fri, Sep 4, 2015 at 5:01 PM, Dawei Chien <dawei.ch...@mediatek.com> > > wrote: &g

Re: thermal: mediatek: Add cpu power cooling model

2015-09-08 Thread dawei chien
Hi Viresh, On Mon, 2015-09-07 at 11:39 +0530, Viresh Kumar wrote: > On 04-09-15, 17:01, Dawei Chien wrote: > > Use Intelligent Power Allocation (IPA) technical to add > > static/dynamic power model for binding CPU thermal zone. > > The power allocator governor allocates po

Re: thermal: mediatek: Add cpu power cooling model

2015-09-04 Thread dawei chien
Sorry, forgot to add Rafael and Viresh as reviewer. On Fri, 2015-09-04 at 17:01 +0800, Dawei Chien wrote: > Use Intelligent Power Allocation (IPA) technical to add > static/dynamic power model for binding CPU thermal zone. > The power allocator governor allocates power budget to cont

thermal: mediatek: Add cpu power cooling model

2015-09-04 Thread Dawei Chien
Use Intelligent Power Allocation (IPA) technical to add static/dynamic power model for binding CPU thermal zone. The power allocator governor allocates power budget to control CPU temperature. Dawei.Chien (2): thermal: mediatek: Add cpu power cooling model. arm64: dts: mt8173: Add thermal

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

2015-09-04 Thread Dawei Chien
Add thermal zone node to mt8173.dtsi. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on following patches https://patchwork.kernel.org/patch/6969581/ https://patchwork.kernel.org/patch/6969571/ https://patchwork.kernel.org/patch/6969381/ --- arch/arm64/bo

[PATCH 1/2] thermal: mediatek: Add cpu power cooling model

2015-09-04 Thread Dawei Chien
Use Intelligent Power Allocation (IPA) technical to add static/dynamic power model for binding CPU thermal zone. The power allocator governor allocates power budget to control CPU temperature. Signed-off-by: Dawei Chien <dawei.ch...@mediatek.com> --- This patch is base on