Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp202916img; Mon, 25 Feb 2019 21:21:21 -0800 (PST) X-Google-Smtp-Source: AHgI3IaER/ohoKeys+PKXZEfjIl3SnSJnq+yEDvX4obltBKRbh/LA/7QNmu/XeVBcTRyCA/FrsYy X-Received: by 2002:a63:ee05:: with SMTP id e5mr21198534pgi.83.1551158481723; Mon, 25 Feb 2019 21:21:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551158481; cv=none; d=google.com; s=arc-20160816; b=b45LQn57J51UPf4B5TJYwnBp7atxvNPZV+j2DDmBAtrySycztMBP1EGf6tmXMwhYis /O0fwefI1vUl/OHXbBQZ22zrAbJlQ6vtP46T8Cb6BqlYVerXXeALTWz8VCVW1MAJODT8 jEGVjaVHORAlP/4uZ7RxjVvwFmQIBlVM0p3pQVFePTaO2b+04yXCRVQfJGLZm9PLQRH6 T/rai1rGX+Cg8gyBeJWuWx+FC/O7SyjJbB7Jo8OpnlQ9WRwMfMXIz/jneQENu0XHboGa 29bwEKAB4qhrRFu3ptt99zeT/SjOh2LrE/c57mEd0gIzauLCdG0Vh73CKHXdrOYogN5d MSrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=kD7wqpx2+ZsSaSB6C4jsjF+MZN8GpZOBM5yy35QdDAI=; b=k6+LgBb0t7h9PK3sCyr6o7RLAo74X/DiY3bdVfB54yHfd3KYXdbGOakVgG7+bFL2yA eDqlte9nSYbT7oxROL8eJaPRTUkW44/3zxBQa1PXNd2BSLxi5CDQX/0XFPevLBGLrFS0 Kejpj5IcgeIN7IiDrxL+GM/xiqj2jYPT/GAxjkDQn8To5N4y92YKNheObsR33QAZ1NTv SnxpCcOGZD22ugM6w1nxCYyemr8AQGCqFfiDB7TnLucOSqsfLqw6Kp1/skeGwduFN54r Xb3wRRKkPomtekV/L2xdX5Pe0/1RELsXKyGnjFHxh6STaLQ/4E/XPQ1KQZk10tsas+k0 yiOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=lV4tPH4e; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q65si11931257pfi.185.2019.02.25.21.21.06; Mon, 25 Feb 2019 21:21:21 -0800 (PST) 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; dkim=pass header.i=@nxp.com header.s=selector1 header.b=lV4tPH4e; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726442AbfBZFSh (ORCPT + 99 others); Tue, 26 Feb 2019 00:18:37 -0500 Received: from mail-eopbgr60074.outbound.protection.outlook.com ([40.107.6.74]:10304 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725881AbfBZFSS (ORCPT ); Tue, 26 Feb 2019 00:18:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kD7wqpx2+ZsSaSB6C4jsjF+MZN8GpZOBM5yy35QdDAI=; b=lV4tPH4eCnv52og8EF7LusDwjrCWSnEcZ6Yq5q7/9M3YCpCo2IXonPc0UqC4BowZ6HYdqMoM1HUbkhxIL7qAm3qKKQkBKZ5KUiL4mdGp6+yijB4rJCMS6Ru581NpBMGpudGOMdPlpa/fOMU3LFqgOqBhrL0iDuMzx3AcNFE6dgE= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3849.eurprd04.prod.outlook.com (52.134.71.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.18; Tue, 26 Feb 2019 05:17:31 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::1cb4:3e1c:fc85:7ed7]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::1cb4:3e1c:fc85:7ed7%2]) with mapi id 15.20.1643.019; Tue, 26 Feb 2019 05:17:31 +0000 From: Anson Huang To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "mturquette@baylibre.com" , "sboyd@kernel.org" , Aisheng Dong , Daniel Baluta , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-clk@vger.kernel.org" CC: dl-linux-imx Subject: [PATCH V7 1/2] arm64: dts: freescale: imx8qxp: add cpu opp table Thread-Topic: [PATCH V7 1/2] arm64: dts: freescale: imx8qxp: add cpu opp table Thread-Index: AQHUzZKTh0f7Vnjj2USCuQHnsmV9dw== Date: Tue, 26 Feb 2019 05:17:31 +0000 Message-ID: <1551157967-30925-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR0302CA0006.apcprd03.prod.outlook.com (2603:1096:202::16) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e754e663-9e6f-4183-cdbc-08d69ba9b55c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3849; x-ms-traffictypediagnostic: DB3PR0402MB3849: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1;DB3PR0402MB3849;23:MawrSe7Fxma6l3NR8hhek90bDYKgqPLMQrIfy?= =?iso-8859-1?Q?3whE/r6IFWBSk+pirls0EKFMDjaTbJIOwps9y1MAOQ/vRsH9fRWxmKKtgp?= =?iso-8859-1?Q?myn9Mo25XDunNIj03YBttHB6/gdjIAyG/eaPeewV4hbJWXsl321rgy6065?= =?iso-8859-1?Q?Q1dUWAgGmndn3A93BT5feD+0ki8eNBX87XSG9wBxgNU3tFZW1pdNr7jhNu?= =?iso-8859-1?Q?rzAcFYQLQwcMiI3+AQBhkltp/6d8UdvFMuHkHPKTPsCkaLVkzJJM0hu1Q3?= =?iso-8859-1?Q?vlxxySxhgOOVJlLqDIZGPJSPpVRshO6NQvyArvnk4ejga1SBPwqsD95dXS?= =?iso-8859-1?Q?tHBbgV0BtV41F3g9jhnjHUSKvetcuWfFtM2ZOkK0HmzJ9QVqqDC+9mGTHx?= =?iso-8859-1?Q?Sj648MOdg71vw6//5NHTPurNbg494wfJ6yMWEhDKyEGn/ALpHL1qNKWCeN?= =?iso-8859-1?Q?kXydUIw4Q+omBIwyJcFtjEw9yntVI24rSViUzEKRvraMrBLQLf/yi/qG8o?= =?iso-8859-1?Q?P+Bzj9H1QWHmIfYBWTgMmJLb1QNU+2IDdf+cmSHVrXNyg5coL/KErsOQcn?= =?iso-8859-1?Q?/8JTfPv/Zc8aEtTRQPjYeHA5vgoe1r7rCePHTgqgvayj90bYZ5bbJRtbc9?= =?iso-8859-1?Q?KLzErgQMlq5/8CsDGbjlAD2FSo3zjlS+ofulBhr2st2WJetOnpZgKWIqpq?= =?iso-8859-1?Q?V+ahwveKcMxRG+Z9Avk2Rue/o0wcXWeFu1F1LKEZPH2s6VN8eusRq7edzb?= =?iso-8859-1?Q?mjxply/Y0rspqG/6G5GkzU/eUUN1ETI2jez0n5XtZyLjBHCM4VXu8hPzmF?= =?iso-8859-1?Q?JFCc1w/LBlZ7RdwAKeSibnviL08+aXAabxRVvboWbck2gQCIeewswHyPnq?= =?iso-8859-1?Q?EBlfQTiedw6fDMJaBbNesvTh9MBYtQQzuNG6OP8DBNGROJvUw1MaMS9JZ1?= =?iso-8859-1?Q?ckc66/WK8MtiQ5LFYf/AHCqgXuOdNPdXH6WG8Zt50BONfbjSoie0LS+pmX?= =?iso-8859-1?Q?Vu4bhQLMxr3thknX5MMtrutIPHHpzvsXt84BlqxU8BvhrLjs/lIdUPb5+y?= =?iso-8859-1?Q?m/++c6SqEvbYb0JvjBCz6LKrtalpsI/s7L5dyGywiF10RgTJkz3V9pVYgz?= =?iso-8859-1?Q?8qx8pcOrDWWzd6wTpIpzkdhwgI8zVbfXe2mlX2LHJKxfBCXSMnXzASNvkH?= =?iso-8859-1?Q?/NTjBIZywzUksd6Rdnnv4O8XUnL5A4shjtsOIQ46kadrJ2r3VjEroom6d/?= =?iso-8859-1?Q?vvlzlD0QLhCZUQLFJRFKoSPvF5y5aA8aovfmi73fanBsV03HkvlweaJXp6?= =?iso-8859-1?Q?1fKu/SmbZ6sXw5P/MChXOO9PR/2Qk8+qn0OzEg1Nuq1xRK38kv0LwdtHbe?= =?iso-8859-1?Q?Rkv20I+k0jFjPdzLkE5F+TuNQdznse4?= x-microsoft-antispam-prvs: x-forefront-prvs: 096029FF66 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(136003)(346002)(376002)(396003)(39860400002)(366004)(199004)(189003)(6512007)(476003)(6486002)(186003)(2616005)(102836004)(26005)(52116002)(4326008)(2501003)(86362001)(14454004)(81166006)(6436002)(8676002)(81156014)(305945005)(2201001)(5660300002)(106356001)(97736004)(71200400001)(71190400001)(7736002)(105586002)(8936002)(486006)(7416002)(110136005)(99286004)(50226002)(36756003)(66066001)(68736007)(386003)(6506007)(478600001)(3846002)(6116002)(53936002)(14444005)(256004)(316002)(25786009)(2906002)(32563001)(921003)(1121003)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3849;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:3; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: wB2kLxqhvJJWzZAhstvGe+MrSpwtHkuADF8uoMkWpYXaVpp9a3qqRqqn5o0dmhy8mjODKqiMf9qr/g3y17MbL30xpw03L9tp67Je5uhki+YrICsyzTL5u4MUwT2myf56iMlP9AA4lFjUy0Eq+bL1esxliZbT3x0I1c4JNhlL9UYf/wDrcvVNQ+6GQPx1aGngro/W65mDMq+6ej0Je8LyA9xZ+QIuf/h4kzNiBOqq1vsIYZbybJj+TzwJC1W9mZmbAUl9KrdL1oLf37g5xuJ07ZIuj29g6z3q0gFS6OL8gg7KNWAq9/ZwC0jGrKHSlCPSLfJKBqomqBsnj9UUS2vB9xNpnqaHqHu5jG/gyqEkzmCaN7Qd6cDmoPCDgmMqE8K67AO9c256Q5Pc0iYbuqKbGKVyh4p33Q9fd4E8dMRAOxc= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e754e663-9e6f-4183-cdbc-08d69ba9b55c X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2019 05:17:26.7608 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3849 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add i.MX8QXP CPU opp table to support cpufreq. Signed-off-by: Anson Huang Acked-by: Viresh Kumar --- No changes since V6. --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 30 ++++++++++++++++++++++++++= ++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/d= ts/freescale/imx8qxp.dtsi index 4c3dd95..41bf0ce 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -34,6 +34,9 @@ reg =3D <0x0 0x0>; enable-method =3D "psci"; next-level-cache =3D <&A35_L2>; + clocks =3D <&clk IMX_A35_CLK>; + operating-points-v2 =3D <&a35_0_opp_table>; + #cooling-cells =3D <2>; }; =20 A35_1: cpu@1 { @@ -42,6 +45,9 @@ reg =3D <0x0 0x1>; enable-method =3D "psci"; next-level-cache =3D <&A35_L2>; + clocks =3D <&clk IMX_A35_CLK>; + operating-points-v2 =3D <&a35_0_opp_table>; + #cooling-cells =3D <2>; }; =20 A35_2: cpu@2 { @@ -50,6 +56,9 @@ reg =3D <0x0 0x2>; enable-method =3D "psci"; next-level-cache =3D <&A35_L2>; + clocks =3D <&clk IMX_A35_CLK>; + operating-points-v2 =3D <&a35_0_opp_table>; + #cooling-cells =3D <2>; }; =20 A35_3: cpu@3 { @@ -58,6 +67,9 @@ reg =3D <0x0 0x3>; enable-method =3D "psci"; next-level-cache =3D <&A35_L2>; + clocks =3D <&clk IMX_A35_CLK>; + operating-points-v2 =3D <&a35_0_opp_table>; + #cooling-cells =3D <2>; }; =20 A35_L2: l2-cache0 { @@ -65,6 +77,24 @@ }; }; =20 + a35_0_opp_table: opp-table { + compatible =3D "operating-points-v2"; + opp-shared; + + opp-900000000 { + opp-hz =3D /bits/ 64 <900000000>; + opp-microvolt =3D <1000000>; + clock-latency-ns =3D <150000>; + }; + + opp-1200000000 { + opp-hz =3D /bits/ 64 <1200000000>; + opp-microvolt =3D <1100000>; + clock-latency-ns =3D <150000>; + opp-suspend; + }; + }; + gic: interrupt-controller@51a00000 { compatible =3D "arm,gic-v3"; reg =3D <0x0 0x51a00000 0 0x10000>, /* GIC Dist */ --=20 2.7.4