From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 236B5C10F0E for ; Fri, 12 Apr 2019 10:08:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E85E22084D for ; Fri, 12 Apr 2019 10:08:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SY0NwcaP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E85E22084D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sntech.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J8rUy/OfcJV6aafdwOz5Em31UOpuvJfsYslfjCjrFNM=; b=SY0NwcaPORSEwA KlIaN+fhnSSqQI0rIRsRV4R9w78bvd20EO6FaIeNl8BpVcX/jWh8+Da+BIjAoQKIW9u3W06hsXkQE NufsXFfXmcFWQ7lEvdSK9L4DjSrRLP4kqbe0He/ZmpB48rbhH0SrXhpgJBALhx3HRgJecn5mNANS9 pcUZo3o4sc/vBQZ8yzZMir1WP3Xc02C7YH1BEunZfOpdYYgZ160a7DoUyxmVRloPkiOTOYFkdr8oD W2xNBt72zeIGSdfruGCykdnAP04PqEHrvLk30+DkUCIna6Bv9qc5zgV8b6lZ6w95WQP4ZugBFQFnx BghpTpbmIKFB7D26h/pg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEt6i-0003Ku-6Q; Fri, 12 Apr 2019 10:08:28 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEt6e-0003KU-Vm; Fri, 12 Apr 2019 10:08:26 +0000 Received: from ip5f5a6320.dynamic.kabel-deutschland.de ([95.90.99.32] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hEt6c-0004fB-8v; Fri, 12 Apr 2019 12:08:22 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Matthias Kaehlcke Subject: Re: [PATCH] ARM: dts: rockchip: Add dynamic-power-coefficient for rk3288 Date: Fri, 12 Apr 2019 12:08:21 +0200 Message-ID: <9063550.zi1cCdPW0A@diego> In-Reply-To: <20190412000158.248080-1-mka@chromium.org> References: <20190412000158.248080-1-mka@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190412_030825_174947_04678032 X-CRM114-Status: GOOD ( 10.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , linux-rockchip@lists.infradead.org, Rob Herring , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am Freitag, 12. April 2019, 02:01:58 CEST schrieb Matthias Kaehlcke: > The value was determined with the following method: > = > - take CPUs 1-3 offline > - for each OPP > - set cpufreq min and max freq to OPP freq > - start dhrystone benchmark > - measure CPU power consumption during 10s > - calculate Cx for OPPx > - Cx =3D (Px - P1) / (Vx=B2fx - V1=B2f1) [1] > using the following units: mW / Ghz / V [2] > - C =3D avg(C2, ..., Cn) > = > [1] see commit 4daa001a1773 ("arm64: dts: juno: Add cpu > dynamic-power-coefficient information") > [2] https://patchwork.kernel.org/patch/10493615/#22158551 > = > FTR, these are the values for the different OPPs: > = > freq (kHz) mV Px (mW) Cx > = > 126000 900 39 > 216000 900 66 370 > 312000 900 95 372 > 408000 900 122 363 > 600000 900 177 359 > 696000 950 230 363 > 816000 1000 297 361 > 1008000 1050 404 362 > 1200000 1100 528 362 > 1416000 1200 770 377 > 1512000 1300 984 385 > 1608000 1350 1156 394 > = > Signed-off-by: Matthias Kaehlcke I've applied this for 5.2 but moved the new entries below the clock properties for some more alphabetic ordering. Heiko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel