Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1643740imj; Thu, 14 Feb 2019 09:37:46 -0800 (PST) X-Google-Smtp-Source: AHgI3IaFVvVWTiNuXm4GDEPTYLBAuhtCENc4dWX6V+7kTD374nRWdz1Rn89y1b6WoLHF0EE7WS3y X-Received: by 2002:a63:235f:: with SMTP id u31mr982888pgm.122.1550165866098; Thu, 14 Feb 2019 09:37:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550165866; cv=none; d=google.com; s=arc-20160816; b=1I1972CknRvzIpXd74WZ7yPZgbZvanylcZJuW6ji+dn4s4brqNlhSuPSTe4/qF5z8D vJ1FXnLBx8cYotd/rr7e+2+/8xkjBziryf2D27wgaqNmI+whKp9heNiU9IBhVbO4K6XU H5FERTf7/sVZl6DjX1YxcUoSKghT9klSyPc/imENDbH6MF47swXUhpqUQxnZ092e7cG+ 4hocQgUKs70+wqCE76cckAzP1tmBkYGPyDV7C9kiSA5o3hGh0XfTgN3wtVWXWE2aMpiw 1Y9wboX892z65bCzlm/4+AGfRKRL7yZPswVqf5IAiSpkn0BIdjNoKGTdNzJxKyk9BNQy K5WA== 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=+aFI7o9PaamN2AU70fkmnBLQnt/J0ctj1ZKUp0I5VcA=; b=WcVFZi1dsbe5bggk0pQNBswW30JWEooTBV6/V0zkM8QM2vcF38ZfemvLQgMC64+C7M 8PXa9tPGGrgz2q2OYCky9X96zyWGfeJtgNT7jkXrqORQ8dNZHvPkt0q5MbxDd8CirDby 47tysVEKdlkVlVp1OXNoFqJCTGJFxeLp2f5LGsvFRyMK8xfU+WmX7R03BvSYVitFpNCg CkBWEqQZ09PV/jR8mN3NTSEaDzxd2YkCGXihgbAR7qR6aZpojBvo2PfQaCd/DuQm5oTc BWYN6tgOnI8ECH444PttINLOVMIvMIoIa2YKFx428i0AyMkxu2neGviNtoxs3AHP3F97 9U5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="xaEk+8/1"; 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 m2si2899929plt.98.2019.02.14.09.37.27; Thu, 14 Feb 2019 09:37:46 -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="xaEk+8/1"; 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 S2393176AbfBNJz6 (ORCPT + 99 others); Thu, 14 Feb 2019 04:55:58 -0500 Received: from mail-eopbgr60074.outbound.protection.outlook.com ([40.107.6.74]:15296 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2392838AbfBNJz5 (ORCPT ); Thu, 14 Feb 2019 04:55:57 -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=+aFI7o9PaamN2AU70fkmnBLQnt/J0ctj1ZKUp0I5VcA=; b=xaEk+8/1j6E3WyfexJR1P/d7lhARXfmJlEn3+iEjAOpoSDHqENyCWkB922lzA5FWaAkVJqKFsv9P6VtcNtu8Fbh07ocoyPGzY7xCnOAPuYGoP2pH0DN0yTmJgySxi2QUAs9VAWVW5a0Sg9Ng4GkOaVzO4n4BylUiqgduZC5HuME= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3818.eurprd04.prod.outlook.com (52.134.71.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.21; Thu, 14 Feb 2019 09:55:51 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::14e8:6d2e:fe21:4fd5]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::14e8:6d2e:fe21:4fd5%3]) with mapi id 15.20.1601.023; Thu, 14 Feb 2019 09:55:51 +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" , "viresh.kumar@linaro.org" CC: dl-linux-imx Subject: [PATCH V6 1/2] arm64: dts: freescale: imx8qxp: add cpu opp table Thread-Topic: [PATCH V6 1/2] arm64: dts: freescale: imx8qxp: add cpu opp table Thread-Index: AQHUxEt3Dyj538gXXEiBj85l935Pcg== Date: Thu, 14 Feb 2019 09:55:51 +0000 Message-ID: <1550137826-18531-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: HK0PR03CA0075.apcprd03.prod.outlook.com (2603:1096:203:72::15) 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: b07ef332-4066-4210-0303-08d6926299f9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3818; x-ms-traffictypediagnostic: DB3PR0402MB3818: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1;DB3PR0402MB3818;23:Hh1E3ZI5pFwYhQht4yDif0/5FWxc8d2Pd2ckR?= =?iso-8859-1?Q?YZlNHzPWJ5PFbgyRNpR5eV++j/o+eK7bAeF25PUK7npJJkrzzq3LsyAvuW?= =?iso-8859-1?Q?kxLqkEwo4gKwNRHo7kw0IF+qH1BP4Gg4BeXiAfWH3MvpIVU1dROTSrCyFR?= =?iso-8859-1?Q?9qSZtwS3YoFXV6DdrQkKKc5zybOoz105Gr3Ix5Jv28ROzdA0syS/Im6Bn3?= =?iso-8859-1?Q?Xulh/ic5ONiK/sfH3uDNV0ObLLtyEK2ajTAK0kRW5tzxgz7U6qabIOGzbG?= =?iso-8859-1?Q?qiY/XSqs6/ubtm7LoQXGuphbePu2p55Dq+zTl1iJFeWTkwgf+c7vgr0C1y?= =?iso-8859-1?Q?uiaWUNUSsp1liIBGQ1zzBMUV3kZQwWHsSCsnSK6oqSTIyAeN71AQXoj0y/?= =?iso-8859-1?Q?KzaOYgyzXJfjyrqbJC1oOwhsrKq4YX/UUXAwgJxL3g5Q1J/tAlul5BT24+?= =?iso-8859-1?Q?2AbVEoV4rYCVHgTow6y3ujRmp6BrXzl+YSSBOdARxFcUWMUsZHhaBecPeO?= =?iso-8859-1?Q?+nFQrcA68LGDks+lBh4rObaUXKXSU4JtRQFGcXZaE6Yv2CEcvTl8nt/6ke?= =?iso-8859-1?Q?UEnOverrS8lRlHfoOIEyk8fJESjnqxjlhzvT18P7ZrwTKng8l/VQx2hpsa?= =?iso-8859-1?Q?H8PqEKanzh2Ziztb1S7RYcPxTqpCQzR0IZVvsm/D1NXN42uR2PYX1fPzHN?= =?iso-8859-1?Q?WNqCNQjtosjqHgCXmxYiEq7P/vG0+dgMLaIQ4EnLhaBS2PMB79CAH7vfb/?= =?iso-8859-1?Q?43pR5sehHY3JDDrT+qwI4xhBx2T3Q4L0FCqO1qUe6O/d8YpS2Bai8uVrWg?= =?iso-8859-1?Q?GXzuGAEedf0zk2S/RiVy+gQg8jPz2kdlk6wI+6UxQh7Ad+m9rzlAOSLUm1?= =?iso-8859-1?Q?y3FAtAHWWcppIC5434b0NQ31QIpo6AOXBD0ca7AoP7cCd5yMDAPnVECpXm?= =?iso-8859-1?Q?bYhJUfVY7uTJn3BhPJu3wgS8QY79RQOlwKCHVxdROB/dKf2LiU4yaonbGH?= =?iso-8859-1?Q?tU9LNsgYQ3mLgvm7Y28QbO9MzmN1nkD6CQY4EHuyBWnxRxKWixqemR19dH?= =?iso-8859-1?Q?I4OhAFujs6ilo/Kj7QxlnrH2Ve9EgbG94JG6Uz2Vr9IAiWvPzivcDj/0Pc?= =?iso-8859-1?Q?+ADIUQ1WhvNuMKGR2dQa3md+9pl4gl4SEu0DC2YLcgvMWr/C4XGDK/RMGl?= =?iso-8859-1?Q?Cmg+tpdEv63Oq1nJ7D1qHJuw0Kfu1emEdUQSwWkqeezBAv4xLmU9ysydL5?= =?iso-8859-1?Q?UW02GVBSV/DsbtUc+gI?= x-microsoft-antispam-prvs: x-forefront-prvs: 09480768F8 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(346002)(136003)(396003)(39860400002)(376002)(189003)(199004)(97736004)(71200400001)(8676002)(71190400001)(256004)(8936002)(7736002)(2501003)(81166006)(2906002)(81156014)(14454004)(52116002)(110136005)(305945005)(14444005)(53936002)(50226002)(6486002)(316002)(6512007)(68736007)(478600001)(2201001)(6436002)(486006)(476003)(186003)(2616005)(36756003)(6506007)(86362001)(386003)(26005)(106356001)(3846002)(4326008)(102836004)(6116002)(99286004)(7416002)(105586002)(25786009)(66066001)(921003)(32563001)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3818;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ABKvUneXqX5+kVnxzIOwe54D1sd/SIW96DT437en/tYFvkVqxg+W6kJULFmZNLLaaWUi2o9xZkPU2HjeMJlLqUfBB9QXJYXNr/O1TFt7tO/8rSWQMiUSeO6dqf2YfPBJmsvl0jv/fxqhoXuiVwjhauL5zs/tYkqf0wdYAz9C2IIkfaO+zVX/Ymbs/oGXd8wrFL+ihVCbdcPNn3243EAnTY0AqpxhSB7Usdw6VpIfOwL51L+u02vGrwv7a995bbBpRcH/UrJfQNgoiHwHEuNSa6YVodJIPLcBuRv2AUN+kLO8XmK0dpu4FQmQbXPb0xWtqUTLOKe6BmUr0Db6gCwfXj0T+IXHANs5u+Ist6VS7uF2/vumYEfSMq4iafEBg034Tr6O5OGvr5/k4joNfM/FfeStK7XnIq0dwfutG6Qyw+c= 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: b07ef332-4066-4210-0303-08d6926299f9 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Feb 2019 09:55:45.1668 (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: DB3PR0402MB3818 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 --- Changes since V5: - add clocks for all secondary CPUs too. --- 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 aea6812..b5b2dc0 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