Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp870458imm; Fri, 29 Jun 2018 07:44:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLPY78mOCltWqqVbwWuc0/IEKDxTWfUbSv3y+0ckkpg5Stao6h42jmGv5isOGpnY2iB86un X-Received: by 2002:a63:9741:: with SMTP id d1-v6mr12607562pgo.403.1530283460473; Fri, 29 Jun 2018 07:44:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530283460; cv=none; d=google.com; s=arc-20160816; b=jhKzkTWJXvX9iroHGRIxlpnAcHl1XrwK2b6TCwEMLMAIG5y+FBIuZPxvZR072QKs4I uSw1VoFCR7w3qHjNW5p9LXKMcXIkbFmdkKZZCAsjmvU1OIDk+/18nso6HOYD9JXSnG6X GNGAUVoXX4M7rxOI1L7qONr74s6ksPEajUyK4MQXNCBcSj+0R4gXg84ELVzji9rgAuWd AdRzaZhNc7I3n6IQ48/pK8f7hzlJdB3z8bC5JdjaqJLHioDQzuUAMEuFFZEJbGLBN5W/ Wr3dhU7JjQaw3d03krLUGKyd9utby7lZJ3yJvhhxsnzlycRgf6CA6y4AH3vzFZ2LpsyN rxiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=RDYBY2b7EMrnWDZihI1MJD3uCj0+1gRQhS3YYrBe2Vc=; b=uPmOwReNETZBJz91hZ91zZMWIvPfnPJQ+CCzMC/xIe5Ycs1IrBMn9NXYz0wWIKiJko QztDmSlw8wgmsFygyZGhh2/Q03MM1CjiRHxEtYuGKxipXgX+YUdQsC0oF8a9J+kUH38c W7PHLjQmBLfO2xE0fZjp8yBfrAGI3CsO/OFi85WxpKWnaTfBhrVs6sHuqGqKdrrPwYPr ziMDWJkffG4syYjdrkrtO4CWB7xd7BUJVuxRUF3SnnwLhAsvWrudxfT6aWC+R95843od G/GyMnFGHZuFFPRDN5g25XFI8PjpHtIoKaVNU2ClCT8HDQaR680j4zjuhiA1q9BuMzUd 57Eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11-v6si3384318pgf.386.2018.06.29.07.44.06; Fri, 29 Jun 2018 07:44:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935382AbeF2OlW (ORCPT + 99 others); Fri, 29 Jun 2018 10:41:22 -0400 Received: from 9.mo179.mail-out.ovh.net ([46.105.76.148]:53460 "EHLO 9.mo179.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934656AbeF2OlU (ORCPT ); Fri, 29 Jun 2018 10:41:20 -0400 Received: from player779.ha.ovh.net (unknown [10.109.105.58]) by mo179.mail-out.ovh.net (Postfix) with ESMTP id 26974D2B10 for ; Fri, 29 Jun 2018 16:41:19 +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=20Szymanski?= To: linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, "Rafael J . Wysocki" , Viresh Kumar , =?UTF-8?q?S=C3=A9bastien=20Szymanski?= 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 4976196116056593660 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtiedrvddugdejhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- 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 { -- 2.16.4