All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND][PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.
@ 2016-03-15  8:10 ` Dawei Chien
  0 siblings, 0 replies; 39+ messages in thread
From: Dawei Chien @ 2016-03-15  8:10 UTC (permalink / raw)
  To: Viresh Kumar, Rafael J. Wysocki, Matthias Brugger
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Daniel Kurtz, Sascha Hauer, Daniel Lezcano, Dawei Chien,
	devicetree, linux-arm-kernel, linux-kernel, linux-pm,
	linux-mediatek, srv_heupstream, Sascha Hauer, Punit Agrawal

Use Intelligent Power Allocation (IPA) technical to add 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 SOC overheat and keep it's performance.
mt8173-cpufreq.c need to register its' own power model with power allocator thermal governor, so that power allocator governor can allocates suitable power budget to control CPU temperature.

Binding document is refer to this patchset
https://lkml.org/lkml/2015/11/30/239

Change since V5:
1. Remove thermal sensor ID from phandles

Change since V4:
1. Remove unnecessary error-checking for mt8173-cpufreq.c 2. Initializing variable capacitance with 0

Change since V3:
1. Remove static power model
2. Split V3's device tree in two for thermal zones and dynamic 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: dts: mt8173: Add dynamic power node.

 arch/arm64/boot/dts/mediatek/mt8173.dtsi |   47 ++++++++++++++++++++++++++++++
 drivers/cpufreq/mt8173-cpufreq.c         |   12 ++++++--
 2 files changed, 57 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2016-04-21 17:53 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-15  8:10 [RESEND][PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model Dawei Chien
2016-03-15  8:10 ` Dawei Chien
2016-03-15  8:10 ` Dawei Chien
2016-03-15  8:10 ` [RESEND][PATCH 1/3] " Dawei Chien
2016-03-15  8:10   ` Dawei Chien
2016-03-15  8:10   ` Dawei Chien
2016-04-12  5:38   ` Viresh Kumar
2016-04-12  5:38     ` Viresh Kumar
2016-04-12  5:38     ` Viresh Kumar
2016-04-13  4:52     ` Rafael J. Wysocki
2016-04-13  4:52       ` Rafael J. Wysocki
2016-04-13  4:52       ` Rafael J. Wysocki
2016-04-20 11:58       ` Matthias Brugger
2016-04-20 11:58         ` Matthias Brugger
2016-04-20 11:58         ` Matthias Brugger
2016-04-21  0:41         ` Rafael J. Wysocki
2016-04-21  0:41           ` Rafael J. Wysocki
2016-04-21  0:41           ` Rafael J. Wysocki
2016-04-21  3:01           ` Eduardo Valentin
2016-04-21  3:01             ` Eduardo Valentin
2016-04-21  3:01             ` Eduardo Valentin
2016-04-21  3:40             ` Eduardo Valentin
2016-04-21  3:40               ` Eduardo Valentin
2016-04-21  3:40               ` Eduardo Valentin
2016-04-21 17:53             ` Rafael J. Wysocki
2016-04-21 17:53               ` Rafael J. Wysocki
2016-04-21 17:53               ` Rafael J. Wysocki
2016-03-15  8:10 ` [RESEND][PATCH 2/3] arm64: dts: mt8173: Add thermal zone node Dawei Chien
2016-03-15  8:10   ` Dawei Chien
2016-03-15  8:10   ` Dawei Chien
2016-03-15  8:10 ` [RESEND][PATCH 3/3] arm64: dts: mt8173: Add dynamic power node Dawei Chien
2016-03-15  8:10   ` Dawei Chien
2016-03-15  8:10   ` Dawei Chien
2016-04-21  4:12   ` dawei chien
2016-04-21  4:12     ` dawei chien
2016-04-21  4:12     ` dawei chien
2016-04-21 10:28     ` Matthias Brugger
2016-04-21 10:28       ` Matthias Brugger
2016-04-21 10:28       ` Matthias Brugger

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.