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: 57884 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp67656lbb; Tue, 8 Dec 2015 06:37:29 -0800 (PST) X-Received: by 10.98.1.140 with SMTP id 134mr5170120pfb.134.1449585449677; Tue, 08 Dec 2015 06:37:29 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id t72si5655662pfa.153.2015.12.08.06.37.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Dec 2015 06:37:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a6JN2-0003mf-IH; Tue, 08 Dec 2015 14:36:00 +0000 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a6JLd-000138-VL for linux-arm-kernel@lists.infradead.org; Tue, 08 Dec 2015 14:34:42 +0000 Received: by wmww144 with SMTP id w144so183392647wmw.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=ZbWJXI9os5dPuMsPgVmNo2XUwGX4489U0n8Rw/tV36el1yUfsB978+Kd2yPMtY8WCc r0X0TaHEsZtBYeDcL2hPTfVapcpTud1FqH8a2lIyYIFVUclS4UXG3FFKq96j1nyaNiZ5 ZK7OVkqoi/3u9i5sTMfzWFEMSmzFRcH55SNCxOej6sXe7d4B13qpFPL4XeyjgLz0sd/j F8FoLcuwO5741ikqniJ94cZwy1x2GZ/kUN8fUCHsq7ip4OwH9w1dGOL3VEZU9rxB2lbZ dyw+xaZWTT21cvvhwiOxQKNPBTZc2IXkReHCZ8E+J3N9EN1Tadv9wsI5J/1quximPomU OF9w== X-Gm-Message-State: ALoCoQmY/kwB2Jd7y9m517hSdwdqeJn4huB6WdQEgsYZDvol3bOvWx/o4/EnbBPnqNFO/0KIONWAW//+jhBCQi5VDV2MaQ0wcw== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151208_063434_645995_BF5559C5 X-CRM114-Status: GOOD ( 11.39 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:22e listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, kernel@stlinux.com, linux-pm@vger.kernel.org, viresh.kumar@linaro.org, rjw@rjwysocki.net, Lee Jones , ajitpal.singh@st.com, maxime.coquelin@st.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org 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(+) -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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>; }; };