From patchwork Thu Jan 5 15:02:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9499133 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AA785606B5 for ; Thu, 5 Jan 2017 15:03:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A250828406 for ; Thu, 5 Jan 2017 15:03:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9737A28409; Thu, 5 Jan 2017 15:03:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3195928406 for ; Thu, 5 Jan 2017 15:03:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cP9ZP-0006qL-C4; Thu, 05 Jan 2017 15:03:11 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cP9ZD-0006ay-9w for linux-amlogic@lists.infradead.org; Thu, 05 Jan 2017 15:03:01 +0000 Received: by mail-wm0-x230.google.com with SMTP id a197so434721931wmd.0 for ; Thu, 05 Jan 2017 07:02:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=5Zc1v6y0pLSa18vOL9Q2TboRG76C/ckcZzwx6GzDfsQ=; b=jIgtd2+IAQrcXOFJeV05lLi3VazywewrRAiFdPsodbH4Q+pojcZvSmp+Tm819Yl76i MQxo4zuqxVlWkZRTa7ToeYmyOHmckOw321TSHpy/3QzWLIBpDrL3Yp9h9EQlgfM3jxL2 IOaHQtBD8l+1ZhT+M51fu21tiPOnIX6a4XCund0hjZXI2yCwF8ixxaNUhOBMd9M5WglB zM/0ygmzXcoYT2ysF8F7MmFjJXlOQIDRnzr7FYW1WmCBiJegZh/rkdF6lvvSc/rpKhpw PUo0Edjl0yG4UL8k5WjfQk7mz6hp6TV+5GhnCVPdRDiNLSXrsnhc9bnHR4B0u2nt2SNZ Z3Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=5Zc1v6y0pLSa18vOL9Q2TboRG76C/ckcZzwx6GzDfsQ=; b=eqKCkEu0xa1vUSHEKKv3XM6HLT3c1X+yX5ur+e7r1YYJsjGd4sgrJo3ooJV7A3nete vxmpsBL+owyDof12msC7CakqP6/e6MdOubbPfR5xz22yvkJs8U6a1uD0fIeI8/2gxicM nd8l77vW9Xga3T05o736GjxB25jfSi1OBBLAYAFjTRHg9ZRCyMPnJYQwNGrseo+qb6CW ddAPxgTdIFpsFnLvr99UqxHsxeyOKQKXdvsq/wC+54fquzh0c+dUoAXX97qH5xLjBEhn U9cGc7eY2K64ilkAllg+ujP3SbGS+C/nL05yTVH4wjxbmuWyDDckrdMLSVZVjhy/lcDu fOgw== X-Gm-Message-State: AIkVDXLZCFXlUrmP51eW6IdR6n58g0fvVhb3Yd3kcbEEPcGexVYnFGjyEVNk3ku99F2Pvz99 X-Received: by 10.28.93.202 with SMTP id r193mr68252493wmb.30.1483628556942; Thu, 05 Jan 2017 07:02:36 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id f76sm100812415wmd.15.2017.01.05.07.02.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Jan 2017 07:02:36 -0800 (PST) From: Neil Armstrong To: khilman@baylibre.com, carlo@caione.org Subject: [PATCH] ARM64: dts: meson-gxbb-odroidc2: Disable SCPI DVFS Date: Thu, 5 Jan 2017 16:02:29 +0100 Message-Id: <1483628549-29486-1-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170105_070259_563308_93A46617 X-CRM114-Status: UNSURE ( 8.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The current hardware is not able to run with all cores enabled at a cluster frequency superior at 1536MHz. But the currently shipped u-boot for the platform still reports an OPP table with possible DVFS frequency up to 2GHz, and will not change since the off-tree linux tree supports limiting the OPPs with a kernel parameter. A recent u-boot change reports the boot-time DVFS around 100MHz and the default performance cpufreq governor sets the maximum frequency. Previous version of u-boot reported to be already at the max OPP and left the OPP as is. Nevertheless, other governors like ondemand could setup the max frequency and make the system crash. This patch disables the DVFS clock and disables cpufreq. Fixes: 70db166a2baa ("ARM64: dts: meson-gxbb: Add SCPI with cpufreq & sensors Nodes") Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 238fbea..5e63e3b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -137,6 +137,10 @@ }; }; +&scpi_dvfs { + status = "disabled"; +}; + &uart_AO { status = "okay"; pinctrl-0 = <&uart_ao_a_pins>;