From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B523C4360F for ; Thu, 28 Feb 2019 14:21:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C3682171F for ; Thu, 28 Feb 2019 14:21:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="A0dHNGXq"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="g2nAAq8r" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C3682171F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UtiGyuPO04nM1Nz4NUMjsz61bNIAWmmIEro9EUcMz4I=; b=A0dHNGXqbhgtYy 4NlLfrub3hdPouFRd56MBNiK6Vo55KCOEml6UySy9jmfdq1SQOWwoqXMdMYfnARIKoXDdg65wEI3H dye1qPi8FtE+iniAmjNuuNRPsUndTJ83dpmC81tBYA0zvfRyiDW1eRyTmdl39xvy89PRZGgCqqMZy Se488fZEgCt12wUcTcVGVHk4CwTkhxWPJ1RPVLSuf7mP5PpGIozIbtSavA6zPHpa+zr+hzuojB2oR +wl34ezcTGkmG8tKEbWg74lC0tNQRFUPR74GAmfihuo4QMcQRDIzjeerNVHpEhYYbKdH/N17bBIrr MC+VCxUcAjzvr39IwL+Q==; 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 1gzMZ5-0008Fi-Rt; Thu, 28 Feb 2019 14:21:35 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzMZ2-0008FK-Lx for linux-arm-kernel@lists.infradead.org; Thu, 28 Feb 2019 14:21:34 +0000 Received: from dragon (li1566-229.members.linode.com [139.162.86.229]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 964862171F; Thu, 28 Feb 2019 14:21:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551363692; bh=lD6FHZ0R1A+zdLfwrCDaddv3WwOeKfDO1mENVaei+Po=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g2nAAq8r/+fqMuxVERnFjsvVyCfQDmC4xJbEUSCqMc0nWqUMyB8492NGn+tliO4Uf eE/MJtAB6CvNElo6mhk1aRxwVm97EVt+KDEKTMpPRrVe7HtKK+JB9TRszZxzvT36PI gHhPWo5QrUydJ3eJM86o37mnSXYd7Evni5obKnIA= Date: Thu, 28 Feb 2019 22:20:32 +0800 From: Shawn Guo To: Abel Vesa Subject: Re: [PATCH v2 3/3] arm64: dts: imx8mq: Add the opp table and cores opp properties Message-ID: <20190228142030.GB29231@dragon> References: <1550254032-16451-1-git-send-email-abel.vesa@nxp.com> <1550254032-16451-4-git-send-email-abel.vesa@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1550254032-16451-4-git-send-email-abel.vesa@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190228_062132_752644_BED4A446 X-CRM114-Status: GOOD ( 16.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Rob Herring , Anson Huang , "devicetree@vger.kernel.org" , Linux Kernel Mailing List , Fabio Estevam , dl-linux-imx , Sascha Hauer , Angus Ainslie , "linux-arm-kernel@lists.infradead.org" , Lucas Stach Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Feb 15, 2019 at 06:07:24PM +0000, Abel Vesa wrote: > Add the 0.8GHz and 1GHz opps. According to the datasheet: > https://www.nxp.com/docs/en/data-sheet/IMX8MDQLQIEC.pdf > section 3.1.3 Operating ranges. > > The 0.8GHz opp runs in nominal mode with the regulator set to 0.9V. > The 1GHz runs in overdrive mode with the regulator set to 1V. > > Signed-off-by: Abel Vesa > --- > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > index 1a89062..ebdec9e 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > @@ -91,6 +91,7 @@ > clocks = <&clk IMX8MQ_CLK_ARM>; > enable-method = "psci"; > next-level-cache = <&A53_L2>; > + operating-points-v2 = <&a53_0_opp_table>; > }; > > A53_1: cpu@1 { > @@ -101,6 +102,7 @@ > clocks = <&clk IMX8MQ_CLK_ARM>; > enable-method = "psci"; > next-level-cache = <&A53_L2>; > + operating-points-v2 = <&a53_0_opp_table>; > }; > > A53_2: cpu@2 { > @@ -111,6 +113,7 @@ > clocks = <&clk IMX8MQ_CLK_ARM>; > enable-method = "psci"; > next-level-cache = <&A53_L2>; > + operating-points-v2 = <&a53_0_opp_table>; > }; > > A53_3: cpu@3 { > @@ -121,6 +124,7 @@ > clocks = <&clk IMX8MQ_CLK_ARM>; > enable-method = "psci"; > next-level-cache = <&A53_L2>; > + operating-points-v2 = <&a53_0_opp_table>; > }; > > A53_L2: l2-cache0 { > @@ -666,6 +670,25 @@ > status = "disabled"; > }; > > + > + a53_0_opp_table: opp-table { What's the point of having '0' in the label name, considering it's actually referred by all CPU nodes? Shawn > + compatible = "operating-points-v2"; > + opp-shared; > + > + opp-800000000 { > + opp-hz = /bits/ 64 <800000000>; > + opp-microvolt = <900000>; > + clock-latency-ns = <150000>; > + }; > + > + opp-1000000000 { > + opp-hz = /bits/ 64 <1000000000>; > + opp-microvolt = <1000000>; > + clock-latency-ns = <150000>; > + opp-suspend; > + }; > + }; > + > gic: interrupt-controller@38800000 { > compatible = "arm,gic-v3"; > reg = <0x38800000 0x10000>, /* GIC Dist */ > -- > 2.7.4 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel