From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751792AbcBNLAv (ORCPT ); Sun, 14 Feb 2016 06:00:51 -0500 Received: from mail-pf0-f181.google.com ([209.85.192.181]:35922 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751288AbcBNLAt (ORCPT ); Sun, 14 Feb 2016 06:00:49 -0500 Date: Sun, 14 Feb 2016 19:00:41 +0800 From: Leo Yan To: linux-pm@vger.kernel.org, Javi Merino , Zhang Rui , Eduardo Valentin , linux-kernel@vger.kernel.org Subject: Regard of thermal power allocator's coefficients Message-ID: <20160214110041.GB26920@leoy-linaro> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi there, I'm trying to upstreaming IPA patches for 96board Hikey, but so far there have no standard DT binding for passing IPA coefficients for power modeling. So want to firstly to confirm if should we pass coefficients by using device tree? Is someone working on related work for this? Here has another more straightforward method is to directly to include power model's coefficients in thermal sensor driver (such like drivers/thermal/hisi_thermal.c), but my concern is this method will include SoC specific data in the common thermal sensor driver, so is this doable? Welcome any suggestion. Thanks, Leo Yan