From patchwork Tue Dec 8 14:31:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 7798291 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3BEFCBEEE1 for ; Tue, 8 Dec 2015 14:38:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 65D8A204FB for ; Tue, 8 Dec 2015 14:38:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 64F18202FE for ; Tue, 8 Dec 2015 14:38:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756593AbbLHOiH (ORCPT ); Tue, 8 Dec 2015 09:38:07 -0500 Received: from mail-wm0-f45.google.com ([74.125.82.45]:38634 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965113AbbLHOeR (ORCPT ); Tue, 8 Dec 2015 09:34:17 -0500 Received: by wmec201 with SMTP id c201so32190106wme.1 for ; Tue, 08 Dec 2015 06:34:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lAkEm8AYv8wnPG3u/M6iuNzbVoGaHDEs/5uigtFoL7M=; b=PbjxlRtmM8xA3QQKaoIYY6Hll7f+8QFTLXDuJ5qvIsZmPIcvKCezXY4OY6oT0cH4CG eHErAvFThGJGQ56dYxiYph2xmG0e45R4g9V/FdJBCAdVLnvMIlyqPho2cGy3KM8w5n0C GLha1rCN+Z8DGliZMfzmcNVSpgvAMjiJvFD2CTqgrRO2W5otatCpygbEdy9IUw0J6641 VwEcMwPPx6yStWy14c1vCvrdcEhHwg9jKpOfA1QMF0OWrfM2mEczD/+KeYcjwX1PVpsN rzS1EhG6TfhvQEp/rfusZw7yWDRYzXNbmA+7oECfqRovdPhERAQ8ck/6E+oQKe6VZFcN Xv8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lAkEm8AYv8wnPG3u/M6iuNzbVoGaHDEs/5uigtFoL7M=; b=eJXO6KZt6K4gvjNaM3H2sjUcuthbsFQj6ZG7V4FVu9X30Ln0OWAcxAgc8EHGfVfSPd yCZnqreUpeZaBQe/FxUqADXnjqKq5gpntO4R1w5Q1Fq1VPb0W1dnYDBhwr3Ud38khjLK BaRZtOaVJtUrdEOaD6MROH2qNT0XnCFlQ2QQQdEPYrf8pdtItxxD7Us71EdDr3YM05AH Zzs7X5157tsIEVJwreYCNPwRRLBFKwWKtSRSHEif1Tqc3bzGQbSgOw2DBD1MCI9Wfv92 C80AMOr4e37YALwrZ9vZhaxrurQBrdYJBBygMeGQJXG6p/pMPSw5vWUP6n0epQHv/SAZ xFCA== X-Gm-Message-State: ALoCoQmkajFQjMwlHxHaHCfRlWyONXKD4pb/aVq0LPaGAdSFc0JTXSpDFxv7nLrCvOhcG1e5uDuAQ4rG/3CPvztyigtmOeNYgg== X-Received: by 10.28.61.4 with SMTP id k4mr5158613wma.34.1449585255891; Tue, 08 Dec 2015 06:34:15 -0800 (PST) Received: from localhost.localdomain (host81-129-169-67.range81-129.btcentralplus.com. [81.129.169.67]) by smtp.gmail.com with ESMTPSA id q6sm21710438wmd.8.2015.12.08.06.34.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Dec 2015 06:34:14 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, maxime.coquelin@st.com, viresh.kumar@linaro.org, linux-pm@vger.kernel.org, rjw@rjwysocki.net, devicetree@vger.kernel.org, ajitpal.singh@st.com, Lee Jones Subject: [PATCH v5 04/11] ARM: STi: STiH407: Provide generic (safe) DVFS configuration Date: Tue, 8 Dec 2015 14:31:57 +0000 Message-Id: <1449585124-15596-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1449585124-15596-1-git-send-email-lee.jones@linaro.org> References: <1449585124-15596-1-git-send-email-lee.jones@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP You'll notice that the voltage cell is populated with 0's. Voltage information is very platform specific, even depends on 'cut' and 'substrate' versions. Thus it is left blank for a generic (safe) implementation. If other nodes/properties are provided by the bootloader, the ST CPUFreq driver will over-ride these generic values. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 81f8121..9fa1e58 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -22,15 +22,29 @@ device_type = "cpu"; compatible = "arm,cortex-a9"; reg = <0>; + /* u-boot puts hpen in SBC dmem at 0xa4 offset */ cpu-release-addr = <0x94100A4>; + + /* kHz uV */ + operating-points = <1500000 0 + 1200000 0 + 800000 0 + 500000 0>; }; cpu@1 { device_type = "cpu"; compatible = "arm,cortex-a9"; reg = <1>; + /* u-boot puts hpen in SBC dmem at 0xa4 offset */ cpu-release-addr = <0x94100A4>; + + /* kHz uV */ + operating-points = <1500000 0 + 1200000 0 + 800000 0 + 500000 0>; }; };