From patchwork Mon Jun 22 15:43:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 50171 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EE1BA21575 for ; Mon, 22 Jun 2015 15:46:18 +0000 (UTC) Received: by laar3 with SMTP id r3sf33848430laa.1 for ; Mon, 22 Jun 2015 08:46:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=F5kVhaF/QA+rTEAGIfAWjZTw4JnddLKS4q1FOi72PCs=; b=jWRiOgniRPBiEf+KBhfZYAKCfXAat1jutQEFdHdTmufsZuY7JOjbBImoLZwqZTx2Mw evGh7KJUmtVm5bMipGYG6uW47/qIjzHm7zwvbeSCsVXQymIt8xhakcqQoEkKTMGwNnRS 0REjsXq2eJtxa8aRSMolkTWE3s61ETSdQYJUinZzof5SAQecAAXVci+4PN9K2u/Fvp5F D+zx1IBraRR3dYaSMsnhr1IvMfiOFBY6FrB7/w+IdgZO21uRa5JMo92bNsG7YSkldQxX ZYORYP/TTbULpAM/WC5Cz5FjM4Pgl8OC25Db4/etPrURmK2TWCUD+6FwCoUCvQV5enn8 6gCg== X-Gm-Message-State: ALoCoQlIc1b+O9onTeeMBbuLwkzw66Dax3zINvPeEpabAgUooHNqr1xYz0qZJYUfzb6BXAo7lqSG X-Received: by 10.152.88.70 with SMTP id be6mr9043662lab.9.1434987977950; Mon, 22 Jun 2015 08:46:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.197 with SMTP id d5ls785431lah.97.gmail; Mon, 22 Jun 2015 08:46:17 -0700 (PDT) X-Received: by 10.112.55.207 with SMTP id u15mr30739771lbp.88.1434987977810; Mon, 22 Jun 2015 08:46:17 -0700 (PDT) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id u7si16835597lae.10.2015.06.22.08.46.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jun 2015 08:46:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbbvz5 with SMTP id vz5so63348744lbb.0 for ; Mon, 22 Jun 2015 08:46:17 -0700 (PDT) X-Received: by 10.112.155.197 with SMTP id vy5mr30344020lbb.29.1434987977397; Mon, 22 Jun 2015 08:46:17 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp2472315lbb; Mon, 22 Jun 2015 08:46:16 -0700 (PDT) X-Received: by 10.68.69.7 with SMTP id a7mr60043739pbu.169.1434987973519; Mon, 22 Jun 2015 08:46:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ba9si30188287pdb.88.2015.06.22.08.46.12; Mon, 22 Jun 2015 08:46:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754409AbbFVPqJ (ORCPT + 11 others); Mon, 22 Jun 2015 11:46:09 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:38808 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753989AbbFVPoG (ORCPT ); Mon, 22 Jun 2015 11:44:06 -0400 Received: by wibdq8 with SMTP id dq8so79447322wib.1 for ; Mon, 22 Jun 2015 08:44:05 -0700 (PDT) X-Received: by 10.194.134.9 with SMTP id pg9mr53737129wjb.5.1434987845264; Mon, 22 Jun 2015 08:44:05 -0700 (PDT) Received: from localhost.localdomain (host81-129-169-163.range81-129.btcentralplus.com. [81.129.169.163]) by mx.google.com with ESMTPSA id a9sm17801733wiv.13.2015.06.22.08.44.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Jun 2015 08:44:04 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, rjw@rjwysocki.net, viresh.kumar@linaro.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, ajitpal.singh@st.com, Lee Jones Subject: [PATCH 1/8] ARM: STi: STiH407: Provide generic (safe) DVFS configuration Date: Mon, 22 Jun 2015 16:43:50 +0100 Message-Id: <1434987837-24212-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434987837-24212-1-git-send-email-lee.jones@linaro.org> References: <1434987837-24212-1-git-send-email-lee.jones@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index be201aa..2680ac7 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -22,11 +22,21 @@ device_type = "cpu"; compatible = "arm,cortex-a9"; reg = <0>; + /* kHz uV */ + operating-points = <1500000 0 + 1200000 0 + 800000 0 + 500000 0>; }; cpu@1 { device_type = "cpu"; compatible = "arm,cortex-a9"; reg = <1>; + /* kHz uV */ + operating-points = <1500000 0 + 1200000 0 + 800000 0 + 500000 0>; }; };