From patchwork Wed Dec 9 15:58:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 58162 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp759815lbb; Wed, 9 Dec 2015 08:01:36 -0800 (PST) X-Received: by 10.98.2.210 with SMTP id 201mr13839800pfc.129.1449676886768; Wed, 09 Dec 2015 08:01:26 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id bn10si13423122pad.217.2015.12.09.08.01.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2015 08:01:26 -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 1a6h9l-0008Nq-Ki; Wed, 09 Dec 2015 15:59:53 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a6h97-0007tL-Hy for linux-arm-kernel@lists.infradead.org; Wed, 09 Dec 2015 15:59:15 +0000 Received: by wmvv187 with SMTP id v187so268977184wmv.1 for ; Wed, 09 Dec 2015 07:58:51 -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=RvkBprpJyS4qomN1kN4Y8XFQGXMilQymT65OaiboW243WRuKiWAZynR4EKuMulYDBh BfTOHPyunkkiIFE75cZiZbqq5+HDzpOhdrd/nFBSVVngebqxihn/t4dnra68Wh3ACXVu Pn9KAAAZbABtePN/B2gCCHZVFBVoTBONZzcm+ClrJfN+nvJFOU5Kg0WrxEsJjWoBRZnH dFhpCjWUptahEk4mgRUVpL73+QnyVdjPYeEhgJZ23AlL3uotjIxZtAWo8wQGjELIknVJ 03ZarxMwQX4SbbieBxCeoHtHqpEhAoZ09DBfkRfjjxdBKrLYzxDWeweDvIFHcnI86+Do ReFA== 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=nL7OWmtQNvfNahJ6hAXv/Qfo2J/pIjv+tXWJO7gL4z94MPuDgWj2rjVsYtmCHQrwbq XgjRulfkONe2tJu3SjVHeVvd+/7rjutgAL7RlMbS2IwL30HaPUzrLHlvyEyuXaXXfYy8 t51VtddAPLsXg1f6uoS84yRE+wJI6PBWYK4s4lBc1HubvKqDs2dKjI7rOXEpdNK1rjaQ WZn1qYDqWlqDimmITF0E1pQ54aQTOakY3XodleDW+H+ZFJxJJEz9PHpGPe93B7+0Ix5I B3cCQhNDq3myNLUNgH5d2l+AArSrGduKewS3iLUgdX/hDCQHfO8AvLWp3KDM2rhoIRMw Y7BQ== X-Gm-Message-State: ALoCoQneyDjeEqEB07cD8Bni9enFNHvu84/Ri+LhLkuRVKas+FwSH0hvJEH70h6vnXRxyUHo/XI2wDnTChGGW7eIY9Fj5+1KDA== X-Received: by 10.28.59.131 with SMTP id i125mr36500161wma.75.1449676731814; Wed, 09 Dec 2015 07:58:51 -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 l128sm26474282wmf.10.2015.12.09.07.58.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Dec 2015 07:58:51 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 04/10] ARM: STi: STiH407: Provide generic (safe) DVFS configuration Date: Wed, 9 Dec 2015 15:58:11 +0000 Message-Id: <1449676697-25432-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1449676697-25432-1-git-send-email-lee.jones@linaro.org> References: <1449676697-25432-1-git-send-email-lee.jones@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151209_075914_057094_3BDFD677 X-CRM114-Status: GOOD ( 11.13 ) 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:22c 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>; }; };