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: 6656911 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 88408C05AC for ; Mon, 22 Jun 2015 15:46:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 70209205EB for ; Mon, 22 Jun 2015 15:46:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B4117204E0 for ; Mon, 22 Jun 2015 15:46:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754409AbbFVPqJ (ORCPT ); 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-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=pJ0jo6vNsnVcSNN8gY2/xKo4K73G9iW/KetWVHyPpKk=; b=HdAJggJZZNndPAAyLS+7L1ouC6c1Gi1CbFeZq41bGAi5TnuLypxomloNWNSF/V5sO9 XtzKmSB4kpPikSuqs24pQ1IKX/hPuqkB8W3TY8KGCtz+iv4FuJrHmxPXUiPDIv+4iGgT FCJE3O5bfsdQAIAkYuCyUiaAvaQUZoLS7E9GqyUJa6xaIsTSpvo6uDcndyk0xXFiK91Y rD33H0J2M8QkS8ALZj+BYxDGyAnyGYMusM4dkncF70qNcEWhhoba4zhH6MEL/DZg2c+h WTUlbBHd97PquC0GGJVToq4pkG9TCrCUw9Nnk3GPvltL9kXIP0Rco23DcMZnHI1VoXPF kPdQ== X-Gm-Message-State: ALoCoQnihzgPJ0AceP0MNFLSOEoIx4idw1DT+DCoT+U+GN0As1TiIcvEql1QjgK5TNHfndX/NGdC 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: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 | 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>; }; };