Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp188411imj; Wed, 13 Feb 2019 06:48:11 -0800 (PST) X-Google-Smtp-Source: AHgI3IYlRkQAMeD+TK9VqpOfZJ9mNs47WUam5btaxLVRriWOdWI/LDSAOiB9MiqVcmhTxlqpEvCu X-Received: by 2002:a17:902:2f03:: with SMTP id s3mr840830plb.277.1550069291269; Wed, 13 Feb 2019 06:48:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550069291; cv=none; d=google.com; s=arc-20160816; b=c4CyEu57kd2kfQ3SwhO/p0MoJ1WaupjyU0unSOKnqHWDncpvjml5TK8LXqRO8SSEJM SUU9WAZETGePC/aOCvzQd3xa261rJgIi9CfMuhbLiHSmHlo/j9jWbMJ9R2OtWQTrctQM 4hFjLgX5f8qW8KV263MaVIc2AzfRukw6aS82/jRDItIPQLD3MRE2pHyP+B36FTZlivBC OLhmwro3zvOgHTa5SFrKF/w/fnrsw88I6pJbEPK59kC4iUDIki+AQXrAOP1W9qVwA1aV rsONksTmfonxYcX/JOyrsWtwvnKiO/kyyH1KFB+dZ/G9N8g9mfifeVF2+HxCkwB/qC5F yuxA== 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=bnBsWXN8cRyqzWI7BjB9+N/yYL+mv7luZ+JlIn1qYfg=; b=Otk1DrAAqG9cq9ZE1iOm5ATabZwCimEtKCge/NjtKQ0ioc7QHDi57EPfr4hj4qMsgx Z4uYBPW45QujFtdYGGiRLT60rSdDA+Xs5rssNE+pFFTw64KsYWPTVR68emaSqDF2OjPA iLZR6+obNQvLymIFweaLZrFby78rHNVL8peucHJdao66kg2lHEZFT+tAHLCk/0APb9zt BLTPGHA396YqOznvFBuMBZo3vs3NssYxIPxh78wrj9BWIAs/yh/p8iZKZ1PHTB6gU5UJ SF07X2gOfUHEpojtZ66AME+4S5vB3A1ABvVv+c5NIYrhT8WB/H8v60X2wKWUilSLZu4b +Tlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=iXAPXXK6; 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 y7si9857519pga.296.2019.02.13.06.47.55; Wed, 13 Feb 2019 06:48:11 -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=iXAPXXK6; 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 S1729651AbfBMNdL (ORCPT + 99 others); Wed, 13 Feb 2019 08:33:11 -0500 Received: from mail-eopbgr70050.outbound.protection.outlook.com ([40.107.7.50]:61168 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726052AbfBMNdI (ORCPT ); Wed, 13 Feb 2019 08:33:08 -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=bnBsWXN8cRyqzWI7BjB9+N/yYL+mv7luZ+JlIn1qYfg=; b=iXAPXXK6tBm5lUkJuMSE1CKIEmx5nbcssVP1KEvInEiZSBgjVUc6HJoTGDXt2L8FrsT4t2EoC0y+8iP5fxddRgjGrh+AEtwaDpxrRCQ4xgLQWJZ0dJlfh2XPgrstapqu9cPgfX5It42KFMPj31dUVln6mt5CbuvI7XkxmQ08Nac= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3657.eurprd04.prod.outlook.com (52.134.69.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.21; Wed, 13 Feb 2019 13:32:23 +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; Wed, 13 Feb 2019 13:32:23 +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 V2 1/2] arm64: dts: freescale: imx8qxp: add cpu opp table Thread-Topic: [PATCH V2 1/2] arm64: dts: freescale: imx8qxp: add cpu opp table Thread-Index: AQHUw6CMS+2RedgPGkSlnUsit+2mig== Date: Wed, 13 Feb 2019 13:32:22 +0000 Message-ID: <1550064410-28417-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: HK2PR04CA0045.apcprd04.prod.outlook.com (2603:1096:202:14::13) 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: 008f6d53-a053-4309-f0fb-08d691b7abe8 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:DB3PR0402MB3657; x-ms-traffictypediagnostic: DB3PR0402MB3657: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1;DB3PR0402MB3657;23:FfA1vrrxaj8UHKp83DMQEyeW+myqZBixz+483?= =?iso-8859-1?Q?A4oeEFoZBQ/RX6z68PBWVF9Nk6NZzH9OjQ93bTq8BFSFpCh+UUa8XTVB35?= =?iso-8859-1?Q?ZpQCo2vyytYmamGCBwj6bleG9KCdobzcnPyu3JNrKThuuQL4QAR0CMJ76s?= =?iso-8859-1?Q?MwEcoS7BOv+jGQLGrNe5DS83pMSFSyEn+6Ey2Ij0Jm/lBC84bqm5MYPlYu?= =?iso-8859-1?Q?k4ZDAg8U+Qr6YOuayOesOhCKToXMjjnODRAm1/8sVqKQlyCTlAmt7VWB/7?= =?iso-8859-1?Q?uu4HjvH7AXiwmpSqD5geQW/jOQOwCwKUevK9nSrrWo3rQZi1HFzhOWApzJ?= =?iso-8859-1?Q?ZSUMK6UH4O3g7EtrmqZruB8cKnfjam/qKph6REoML8nCLIgqMWVQaxsYKN?= =?iso-8859-1?Q?N00sWnMXAOv1HTvJ9jQ+B2CQnac/loKigg81b9VXnFZZ5YB98fIVMxHvtr?= =?iso-8859-1?Q?5GmTbk5gBSZannXc9f92wnshdRhNisv7g58t5V9R9da9w54LCUznn+NQyH?= =?iso-8859-1?Q?v7hWwWcuvEzySk2WHCafBcNHH9OYQyy0HOCLuro+mRjsvsnSlVmi/+yhY9?= =?iso-8859-1?Q?YBJThUO4eYpYG8NpevmJdhK4LAOqaj4eEHVw7mj8qPVDY6id3JMlbiGTWc?= =?iso-8859-1?Q?ewY7QTqovrwMVlpJ9joDSC0aRNWtGm0f4tW1ZkHKHXjQTS41EPzetvuvWP?= =?iso-8859-1?Q?qIdF/cgAEJzdHKrh6I5LtIOdqLD4JmL3dFkJqw1WZkaSgg5IE3yX1Pzut1?= =?iso-8859-1?Q?aTdgwE4DMAZLZDGz6gRzQUI1smiAJkdsZsExl1FC4SyWkqDnHTlonZ1N1x?= =?iso-8859-1?Q?JNocFoZtU+NmwndBPikwhI/T1Fy4eDBz+dybdiNwmTeQn8LsxOiNr1L8WQ?= =?iso-8859-1?Q?NfHf/FeRjzaxVyve1JK+XxKBGIdMN3cSCta2+pLSTJ2vqt6Qyp2EBIRsF/?= =?iso-8859-1?Q?wUl0F1vljmhVy1+63o5XdgegrFUhaeVAS4sEaEa/8MmCLPpRpOoqtTKl5O?= =?iso-8859-1?Q?FhfgSridtWmOHigN+8vgmdv4eQEwT058U2OwnFBPW8+NypwLEyj2SpQikd?= =?iso-8859-1?Q?3Mg6LUIy15xvrVy69jIDLeTAxePbXGZsNbfq81YqHsHNCecf7h+sMeyae8?= =?iso-8859-1?Q?d65XJi1rTFtSelpXz0P43baT3TdJuaEILqdCvEcEU9ir0aLWRj40FhsHFw?= =?iso-8859-1?Q?S4s4ZsFW+YHoK+0zkG0+IwvvZVGWUVy/g7J8oCb/aL5J5JmW9SShx6zfGA?= =?iso-8859-1?Q?L3nMgbNR1oPp2aKZT6De7bamX+jpjj/0FUXkfSwqw=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 094700CA91 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(376002)(366004)(346002)(396003)(39860400002)(199004)(189003)(54534003)(6436002)(486006)(6486002)(106356001)(478600001)(2616005)(53936002)(476003)(26005)(25786009)(52116002)(105586002)(14454004)(2201001)(4326008)(186003)(8676002)(8936002)(50226002)(99286004)(256004)(81166006)(110136005)(86362001)(14444005)(81156014)(316002)(305945005)(7736002)(68736007)(6512007)(6116002)(3846002)(386003)(71190400001)(102836004)(6506007)(71200400001)(2906002)(36756003)(7416002)(66066001)(97736004)(2501003)(921003)(32563001)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3657;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: KpSThe+fNZCcDME3xmBUCBzymDHUVUVMFxeSRwEmMDiabD0pm3p9fV2v2If7wj4V4Qnv2nvGibd9gDeukdw7bZwPuYTHSjAuwNDoA2RttOiDf9JY7FCJaTRny687RAd6gZftvnW3JEbys466Irwwb/7qRQjrP7BKJf1suhr0iVnjfq0z0+Dg140B18i5Txyr2//HAsP85lUQiw6ru/1Q6ORCMQUzH6fdPwovCMzL/CkIwAv4jI7YX+sYD1jDRPmHsNWHss5yZ3NAPW2Evh/4TyGxkwdi1hyAXEJzPlJYO5pA6ag2I4HuW1zC4BDAenmv0dbWvxD14iv6pVT3g4JUkdPXeOJRIWMHR0a2eRQ/tuL5Fx8qo2BaX4QjDDh78T2Ge91PZbA9G/UuVwRQgqVik3ou/mjRrD2E4Zgo2WrCAaY= 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: 008f6d53-a053-4309-f0fb-08d691b7abe8 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2019 13:32:11.8080 (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: DB3PR0402MB3657 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 --- ChangeLog since V1: use operating-points-v2 for OPP table to better fit cpufreq-dt driver; --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/d= ts/freescale/imx8qxp.dtsi index 4c3dd95..1e08387 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -34,6 +34,10 @@ reg =3D <0x0 0x0>; enable-method =3D "psci"; next-level-cache =3D <&A35_L2>; + clocks =3D <&clk IMX_A35_CLK>; + clock-latency =3D <61036>; + #cooling-cells =3D <2>; + operating-points-v2 =3D <&a35_0_opp_table>; }; =20 A35_1: cpu@1 { @@ -42,6 +46,7 @@ reg =3D <0x0 0x1>; enable-method =3D "psci"; next-level-cache =3D <&A35_L2>; + operating-points-v2 =3D <&a35_0_opp_table>; }; =20 A35_2: cpu@2 { @@ -50,6 +55,7 @@ reg =3D <0x0 0x2>; enable-method =3D "psci"; next-level-cache =3D <&A35_L2>; + operating-points-v2 =3D <&a35_0_opp_table>; }; =20 A35_3: cpu@3 { @@ -58,6 +64,7 @@ reg =3D <0x0 0x3>; enable-method =3D "psci"; next-level-cache =3D <&A35_L2>; + operating-points-v2 =3D <&a35_0_opp_table>; }; =20 A35_L2: l2-cache0 { @@ -65,6 +72,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