From patchwork Wed Jun 24 13:59:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 50270 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 3CEB321575 for ; Wed, 24 Jun 2015 14:00:14 +0000 (UTC) Received: by laka10 with SMTP id a10sf11312649lak.2 for ; Wed, 24 Jun 2015 07:00:13 -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=CRuvpZxFrEfwmlCALcBrsE+Ah3vK66nVBRWFGt+f4Jg=; b=P0ABqO9Lr1kN9+u543dPi76XZxe83TfyWlriQIh19RIEv4sCKVR530zqFe4ZZLbY3y qwVN8niLbpGnL+uYEWgEc4xnt+zMIp72w6jNLIoQHrJioxRbGC4frsO3OJdGgbR8H4Gq 3vrvrBhKmhfZ3Rl/GbLdG9LtvC+qvPUwm+F22mGlFiVo9Los0L3qW14kW7n5/BVeTlme G/Kys3cXrI/8gPp1Lehnw/ED4ImjHhbrfLfJ3YusQrjhz+ZiF1I2+YNV0w83YePWMviF Dn5lTSByAkn7FQCLhldo2UsxCgqzsQgHRx8VWVd68UKnxlN4ELUOooAIDp5u1HlaNswr bvDA== X-Gm-Message-State: ALoCoQkw4RtN3ClgiEzBtW9gXpJO7wnbABSRbdVqBuX3kY+RWpkMs+l5CIi9mdZvlVuhWjNVGe8b X-Received: by 10.112.118.162 with SMTP id kn2mr36208586lbb.22.1435154413034; Wed, 24 Jun 2015 07:00:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.168 with SMTP id kz8ls178381lac.105.gmail; Wed, 24 Jun 2015 07:00:12 -0700 (PDT) X-Received: by 10.152.179.234 with SMTP id dj10mr33671419lac.73.1435154412788; Wed, 24 Jun 2015 07:00:12 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id n4si22108701lbc.63.2015.06.24.07.00.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jun 2015 07:00:12 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbbvz5 with SMTP id vz5so26942952lbb.0 for ; Wed, 24 Jun 2015 07:00:12 -0700 (PDT) X-Received: by 10.152.6.69 with SMTP id y5mr39737884lay.72.1435154412679; Wed, 24 Jun 2015 07:00:12 -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 hn6csp3809520lbb; Wed, 24 Jun 2015 07:00:11 -0700 (PDT) X-Received: by 10.70.101.134 with SMTP id fg6mr17878008pdb.112.1435154400578; Wed, 24 Jun 2015 07:00:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id es5si40025771pbb.19.2015.06.24.06.59.59; Wed, 24 Jun 2015 07:00:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 S1753103AbbFXN7t (ORCPT + 30 others); Wed, 24 Jun 2015 09:59:49 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:34042 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752348AbbFXN7T (ORCPT ); Wed, 24 Jun 2015 09:59:19 -0400 Received: by wicnd19 with SMTP id nd19so135717515wic.1 for ; Wed, 24 Jun 2015 06:59:18 -0700 (PDT) X-Received: by 10.180.9.7 with SMTP id v7mr5229316wia.60.1435154358485; Wed, 24 Jun 2015 06:59:18 -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 q2sm40833925wjz.15.2015.06.24.06.59.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Jun 2015 06:59:17 -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 v2 1/9] ARM: STi: STiH407: Provide generic (safe) DVFS configuration Date: Wed, 24 Jun 2015 14:59:00 +0100 Message-Id: <1435154348-28840-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435154348-28840-1-git-send-email-lee.jones@linaro.org> References: <1435154348-28840-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.169 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>; }; };