Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752117AbbKIR3z (ORCPT ); Mon, 9 Nov 2015 12:29:55 -0500 Received: from fw-tnat.cambridge.arm.com ([217.140.96.140]:53193 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751353AbbKIR3w (ORCPT ); Mon, 9 Nov 2015 12:29:52 -0500 From: Punit Agrawal To: devicetree@vger.kernel.org Cc: viresh.kumar@linaro.org, Punit Agrawal , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, edubezval@gmail.com, dawei.chien@mediatek.com Subject: [PATCH v3 0/3] Dynamic power model from device tree Date: Mon, 9 Nov 2015 17:29:20 +0000 Message-Id: <1447090163-13700-1-git-send-email-punit.agrawal@arm.com> X-Mailer: git-send-email 2.5.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1762 Lines: 48 Hi, This patchset adds support to build a single-coefficient dynamic power model for a CPU. The model is used by the CPU cooling device to provide an estimate of power consumption and also translate allocated power to performance cap. Patch 1 extends the CPU nodes binding to provide an optional dynamic power coefficient which can be used to create a dynamic power model for the CPUs. This model is used to constrain device power consumption (using power_allocator governor) when the system is thermally constrained. Patches 2-3 extends the cpufreq-dt and arm_big_little driver to register cpu cooling devices with the dynamic coefficient when provided. The patches were previously posted as part of [0][1]. Since the last posting Mediatek platform 8173 is also building on these bindings to build the power model. Feedback on the bindings would be particularly appreciated. Thanks, Punit [0] http://thread.gmane.org/gmane.linux.kernel/2002152 [1] http://thread.gmane.org/gmane.linux.kernel/2011466 Punit Agrawal (3): devicetree: bindings: Add optional dynamic-power-coefficient property cpufreq-dt: Supply power coefficient when registering cooling devices cpufreq: arm_big_little: Add support to register a cpufreq cooling device Documentation/devicetree/bindings/arm/cpus.txt | 17 +++++++++ drivers/cpufreq/arm_big_little.c | 52 +++++++++++++++++++++++++- drivers/cpufreq/cpufreq-dt.c | 9 ++++- 3 files changed, 74 insertions(+), 4 deletions(-) -- 2.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/