From patchwork Fri Jun 29 14:52:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?S=C3=A9bastien_Szymanski?= X-Patchwork-Id: 936949 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=armadeus.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Tvmk9EQS"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="Odzs1xQ+"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41HK9z6Sv3z9ryk for ; Sat, 30 Jun 2018 00:42:31 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5qFD/ZuXRrewKB2sBVkVRYO7U9jZAZLnZehlaoPwkC4=; b=Tvmk9EQSxsQaCX EAQJ5YF3veH5EgkUP2oKLUO176roehqaClxCfhOi6P2QgtgnNWdiJ+az0r1DUjbjL/rPLAZOPz9TT RZh19LBMzWa5myye28m1wm96xdHjMDenqYRuCBTu0ZQewaGnxvQHWtWXGSRhOD2MA/I/OSjg9Wmjf zBYKHCN1NFXWeodk03W7LYBc4u8hHzFw649VLZi9qo5y1H2v0l5iRAV+PIOu93FKk2oa3uBhXe9XB G0fiFbiZ+ZXe2u9ht/A01PvI52qD+aDTM2a1p0GasNzvr2L5/8x4pqtld7iEB7VCNBvHNraG5i6bL g/LmLNUhtmWQOBXRHeQg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fYubU-0003qv-OA; Fri, 29 Jun 2018 14:42:28 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fYuas-0003oE-4V for linux-arm-kernel@bombadil.infradead.org; Fri, 29 Jun 2018 14:41:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RDYBY2b7EMrnWDZihI1MJD3uCj0+1gRQhS3YYrBe2Vc=; b=Odzs1xQ+ZihS1J7HtamjjOSztm 4mEcXaYslIwCAKD8LJDUNIvzFT6yG9cq/H/vdckI1jdCpME23G0gPz3L5fKpuqyRzWFMffpbet4fB PvDExMB9KGsw7DKBmQHdgSgT0z0OARZw2nUsBP1Aeh8kDrEkAKS64Oo9x9cDFy8XvtjNdZOaT/azI NfVrlH01SUyI9h4XSHGBhSbCsi+dxcbMgJgrm8J+wg5HxFHXLTwEIPoUFRIlqdUJNyWT0tXHx/CaO z9YTku4GkBdyuEv6DeCgG9YGGUW6TYH4Slz9sSak199W8akpw82qREnoasQGyTTIlzKEz+ufT0sRK 27QJB5qw==; Received: from 9.mo4.mail-out.ovh.net ([46.105.40.176]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fYuap-0000uC-2k for linux-arm-kernel@lists.infradead.org; Fri, 29 Jun 2018 14:41:48 +0000 Received: from player779.ha.ovh.net (unknown [10.109.120.118]) by mo4.mail-out.ovh.net (Postfix) with ESMTP id 0DE27187F20 for ; Fri, 29 Jun 2018 16:41:20 +0200 (CEST) Received: from localhost.localdomain (22.220.201.77.rev.sfr.net [77.201.220.22]) (Authenticated sender: sebastien.szymanski@armadeus.com) by player779.ha.ovh.net (Postfix) with ESMTPSA id DB4217C00C4; Fri, 29 Jun 2018 16:40:58 +0200 (CEST) From: =?utf-8?q?S=C3=A9bastien_Szymanski?= To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] ARM: dts: imx6ull: add operating points Date: Fri, 29 Jun 2018 16:52:21 +0200 Message-Id: <20180629145221.10393-1-sebastien.szymanski@armadeus.com> X-Mailer: git-send-email 2.16.4 MIME-Version: 1.0 X-Ovh-Tracer-Id: 4976196116056593660 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtiedrvddugdejhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180629_104147_222337_12231A80 X-CRM114-Status: GOOD ( 12.45 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on merlin.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [46.105.40.176 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Viresh Kumar , Sascha Hauer , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , Shawn Guo Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org i.MX6ULL has different operating ranges than i.MX6UL so add the operating points for the i.MX6ULL and removed them form board device trees. A 25mV offset is added to the minimum allowed values like for the i.MX6UL. The valid frequencies are now selected by the cpufreq driver according to ratings stored in fuses since commit 0aa9abd4c212 ("cpufreq: imx6q: check speed grades for i.MX6ULL") Signed-off-by: Sébastien Szymanski Acked-by: Viresh Kumar --- arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | 14 -------------- arch/arm/boot/dts/imx6ull.dtsi | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi b/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi index 3dffbcd50bf6..183193e8580d 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi @@ -20,20 +20,6 @@ &cpu0 { clock-frequency = <792000000>; - operating-points = < - /* kHz uV */ - 792000 1225000 - 528000 1175000 - 396000 1025000 - 198000 950000 - >; - fsl,soc-operating-points = < - /* KHz uV */ - 792000 1175000 - 528000 1175000 - 396000 1175000 - 198000 1175000 - >; }; &iomuxc { diff --git a/arch/arm/boot/dts/imx6ull.dtsi b/arch/arm/boot/dts/imx6ull.dtsi index ebc25c98e5e1..ade64bd46fab 100644 --- a/arch/arm/boot/dts/imx6ull.dtsi +++ b/arch/arm/boot/dts/imx6ull.dtsi @@ -48,6 +48,25 @@ /* Delete CAAM node in AIPS-2 (i.MX6UL specific) */ /delete-node/ &crypto; +&cpu0 { + operating-points = < + /* kHz uV */ + 900000 1275000 + 792000 1225000 + 528000 1175000 + 396000 1025000 + 198000 950000 + >; + fsl,soc-operating-points = < + /* KHz uV */ + 900000 1175000 + 792000 1175000 + 528000 1175000 + 396000 1175000 + 198000 1175000 + >; +}; + / { soc { aips3: aips-bus@2200000 {