From patchwork Wed Feb 13 19:05:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 10810791 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C86E9746 for ; Wed, 13 Feb 2019 19:05:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4EF52DCBE for ; Wed, 13 Feb 2019 19:05:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A947C2DCD0; Wed, 13 Feb 2019 19:05:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 58DB32DCBE for ; Wed, 13 Feb 2019 19:05:54 +0000 (UTC) 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:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uOE2DtWD5Kx1s/Px6OHpWq3zGsZjhojaL7+hjoazVQo=; b=N3QeuoNfMVVUD5 f4PMGgvOyeb10Cv0PdocAPFs1HzKCKDb0aFc63vH5YD4+15x8K+Q0BJP2R9nDmq93KFqRsadyYPcO /+cPRxM+lajcNbQJm0SIlaAiqsx5cJmEmtZGNzLGyL2982soVfdbPTTHSslS2vtaWP7F0Fh8+5fuo gcEH+W/opTGrGqw1b3sUWy19BjPjewXIIceOcM6ElOmiR0kBSOCIGbHAUp7YBO64gIFuzumjYnP2d QFwkl941hJGZ3nm8qv0BX54aKSH+Tt8HvhnVxxNSypNZPmknxVOSAaxAjtSXMNFS3/BXiShvZKoX/ H252PM1duQTb7uYDCN5A==; 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 1gtzqu-0005yt-88; Wed, 13 Feb 2019 19:05:48 +0000 Received: from mail-eopbgr70040.outbound.protection.outlook.com ([40.107.7.40] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtzqR-0005P8-4C for linux-arm-kernel@lists.infradead.org; Wed, 13 Feb 2019 19:05:20 +0000 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=1VdX3XCQQYS73cg+xTxB4qDqOUN6b4Kn+v3omrf9h3Y=; b=XAG7OWEG/Z4iWYoSee1P5TpAiul5iCu159maGNt4DZBntkQYHHYhTiGV2VcK7PQOsB2urvlbg0OzwoFO0qiTPVwWj0FUZJEvi4bNSdYvclz4gfjNFBrHFsJdP+KHZY655shE31cZJWQEmSqrPUetO338jUXmRBhwBkS4vk6Wi5Y= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB4515.eurprd04.prod.outlook.com (52.135.148.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.16; Wed, 13 Feb 2019 19:05:12 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::ec4e:4756:a9dc:914c]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::ec4e:4756:a9dc:914c%3]) with mapi id 15.20.1601.023; Wed, 13 Feb 2019 19:05:12 +0000 From: Abel Vesa To: Rob Herring , Stephen Boyd , Mark Rutland , Mike Turquette , Shawn Guo , Sascha Hauer , Lucas Stach , Angus Ainslie , Anson Huang Subject: [RFC 1/5] clk: imx: imx8mq: Fix the rate propagation for arm pll Thread-Topic: [RFC 1/5] clk: imx: imx8mq: Fix the rate propagation for arm pll Thread-Index: AQHUw88Lx/34yAmb5k+9Wv1v0WwQCQ== Date: Wed, 13 Feb 2019 19:05:12 +0000 Message-ID: <1550084693-9797-2-git-send-email-abel.vesa@nxp.com> References: <1550084693-9797-1-git-send-email-abel.vesa@nxp.com> In-Reply-To: <1550084693-9797-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5PR0701CA0058.eurprd07.prod.outlook.com (2603:10a6:203:2::20) To AM0PR04MB5779.eurprd04.prod.outlook.com (2603:10a6:208:131::23) x-originating-ip: [95.76.156.53] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1d0c03d7-6585-4249-6d04-08d691e62e1f 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:AM0PR04MB4515; x-ms-traffictypediagnostic: AM0PR04MB4515: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; AM0PR04MB4515; 23:ZUCDnGzxtslazZ+zfGJCaHN9KebZpCCxDzmrlK0?= =?iso-8859-1?q?G6SVmE8y5/l1ADs?= =?iso-8859-1?q?YIB9gXGL7t8AWHCDXF2kfcrI4t8c5UZ33IHtCu003fuPwtrpegxym6oIPJ9/?= =?iso-8859-1?q?XAXUjOce9j8+9XI9ckVaLupZ2s9JmMxD6XkVr4o/f+fVtRu7Ok3Bkr70mM2I?= =?iso-8859-1?q?dFLEjjDRonjphbydJ+U6rCqPaJftBzaSmbNiHR6h0GqvMCpTaeprhK4/Eqju?= =?iso-8859-1?q?YHRlyMIp9kA8+GMhrmLu1G81rPj/r9z60DzaYV7KTc7eILN5q8O81EiWzkVl?= =?iso-8859-1?q?UoOMV4HgtaMiE78jRAQQCN2zxhGtnTsQhu9WN64V7yNtuoA8DpICA1LVn5b/?= =?iso-8859-1?q?oEvXv5Cud4fZsLXbUeYCysIkJf/wffHf0Ssy0zbYmTmc+iQT2tP8oCaTxk13?= =?iso-8859-1?q?fsP4pXSjsfp1kXej3rNk+I02WQt0cy3yvNNpCHYrKAhTfBv/qQdq/UZV57WX?= =?iso-8859-1?q?AHcH1X80ia1leCdY14zKgGS3WIQPSsbuRAAfu1Adju9DUmfhBEjku038q2nj?= =?iso-8859-1?q?riAmnL8sECE/ypiFjuhz6my3edrk70v49lgACNayiPwe35Xs//deY023EN1J?= =?iso-8859-1?q?v1bXJ7uds+8kGL26wnt9uJasNX9WCzlm6MKLYjLLFXqYm+FOUWzhr4cjP2JK?= =?iso-8859-1?q?B6iKUMz7dP1FqICax3cojtQJP50wTd0oh+ZFODMm3pMRTDBp1srxIGrrYm9V?= =?iso-8859-1?q?bkYYu7nBRVAccXS5ZxJwg8pmt3wodYf1HydXYnqheLQxEZNs2P5eodRJbWU7?= =?iso-8859-1?q?+HTfvcMCI4ft0wZKlKMpDo5o1y+6pMecIrbqR5OBqCyiOEgP3WJZkNf+j9lT?= =?iso-8859-1?q?go8qxUt/0ZF8EyYgq4JrKOz2hH/euBO18N/VkTs3mCvxVYeRw4TLUTRidr9C?= =?iso-8859-1?q?0ATVvBJYId0cPQZ5Ff61K9WyMIMaceQnLlO+nWXlA4JI3FVSbJpFaSssf876?= =?iso-8859-1?q?EeylwEjwJ7AiiJIiCmdlFJ294Ws7t3fS54CchlnNktLU1ClOein82QG68c5L?= =?iso-8859-1?q?dJ4GrmhktpAiKQC4N/gpdIlLJr1qSW84wZ3xSQ5pwjNLyDpbxlwpNfEOauLs?= =?iso-8859-1?q?7inl1h+zozo64wMf6yvr6EbjQV7iKarr+WlXB99Vo3Z3HHDtBs7MtNAnNAVe?= =?iso-8859-1?q?liButalM+5Iyf4lfhblKQT82aw2EKfJXhGnXxPbHIe22OXgha+KBDWgcV9vU?= =?iso-8859-1?q?cut+W2P6UnzCSdmJv4KDxAmbeRuvSa9ESH4Be3QLvBvrGlE8Ow5R8lDgk6XV?= =?iso-8859-1?q?6Iux4BC9802NTT42Mfwvx+Crz/?= x-microsoft-antispam-prvs: x-forefront-prvs: 094700CA91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(376002)(346002)(136003)(366004)(199004)(189003)(4326008)(52116002)(2906002)(6636002)(3846002)(6116002)(99286004)(106356001)(105586002)(7736002)(305945005)(25786009)(97736004)(14454004)(66066001)(53936002)(8676002)(81156014)(81166006)(68736007)(36756003)(8936002)(478600001)(6486002)(6436002)(6512007)(50226002)(110136005)(54906003)(316002)(486006)(186003)(2616005)(476003)(14444005)(256004)(26005)(102836004)(11346002)(446003)(71200400001)(71190400001)(7416002)(6506007)(76176011)(86362001)(386003)(44832011)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4515; H:AM0PR04MB5779.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: vwi6uj9bNxifdLmqh19BimaNcnEaOSScqHu/dv2qIWLisGFKqbS3wGz0bMUp1fg7v84ThWer5gCCMhrv0Nd0ybHo5Ib2Xk8m7xrzmi91wddqoAWu+RMgO7qXgbB6SZmosuPMaaRZwpl1Qwq2lchEwW6A/JrmW7/K56Ko+IyYDQ/QAh4w1jyzI2G9NR+9JkXFuanJweGG/9ntIz/Odm6nyiQt0rU1kKL+yapY9zPhFjQnglZwESh0CE410j04CjRCYPM1zVpdP892DMGWQO9nvg5CYeDkAxgH9/VKn/rmjRNZIqyXZGjmbmOxj8FwTWnEXxQj7Jos1sV3mggLHzcNZ1eShG09P8pHbzVdFxwjiSA95LFyDc4QgvXjR4Dc3T7W9QlmPv5BCvzm5CubWgwtWgXkVnBLB1AYE1/Q8aDZKXU= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d0c03d7-6585-4249-6d04-08d691e62e1f X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2019 19:05:11.4876 (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: AM0PR04MB4515 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190213_110519_163461_BF10F7C7 X-CRM114-Status: GOOD ( 14.27 ) 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: "devicetree@vger.kernel.org" , Abel Vesa , Linux Kernel Mailing List , dl-linux-imx , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The arm pll bypass needs to propagate the rate upwards in order for the cpufreq to work. Fixes: b80522040cd3f ("clk: imx: Add clock driver for i.MX8MQ CCM") Signed-off-by: Abel Vesa Reviewed-by: Lucas Stach --- drivers/clk/imx/clk-imx8mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c index 398ab0b..57499ed 100644 --- a/drivers/clk/imx/clk-imx8mq.c +++ b/drivers/clk/imx/clk-imx8mq.c @@ -340,7 +340,7 @@ static int imx8mq_clocks_probe(struct platform_device *pdev) clks[IMX8MQ_DRAM_PLL2_DIV] = imx_clk_divider("dram_pll2_div", "dram_pll2", base + 0x68, 1, 6); /* PLL bypass out */ - clks[IMX8MQ_ARM_PLL_BYPASS] = imx_clk_mux("arm_pll_bypass", base + 0x28, 14, 1, arm_pll_bypass_sels, ARRAY_SIZE(arm_pll_bypass_sels)); + clks[IMX8MQ_ARM_PLL_BYPASS] = imx_clk_mux_flags("arm_pll_bypass", base + 0x28, 14, 1, arm_pll_bypass_sels, ARRAY_SIZE(arm_pll_bypass_sels), CLK_SET_RATE_PARENT); clks[IMX8MQ_GPU_PLL_BYPASS] = imx_clk_mux("gpu_pll_bypass", base + 0x18, 14, 1, gpu_pll_bypass_sels, ARRAY_SIZE(gpu_pll_bypass_sels)); clks[IMX8MQ_VPU_PLL_BYPASS] = imx_clk_mux("vpu_pll_bypass", base + 0x20, 14, 1, vpu_pll_bypass_sels, ARRAY_SIZE(vpu_pll_bypass_sels)); clks[IMX8MQ_AUDIO_PLL1_BYPASS] = imx_clk_mux("audio_pll1_bypass", base + 0x0, 14, 1, audio_pll1_bypass_sels, ARRAY_SIZE(audio_pll1_bypass_sels)); From patchwork Wed Feb 13 19:05:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 10810781 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9AA1913A4 for ; Wed, 13 Feb 2019 19:05:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 878612DCD2 for ; Wed, 13 Feb 2019 19:05:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B6252DCE2; Wed, 13 Feb 2019 19:05:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 266772DCD2 for ; Wed, 13 Feb 2019 19:05:28 +0000 (UTC) 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:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oqvQuXQabEfDX3HRBzaEvwgIFnsZ1KYpRr9B2YWapqI=; b=YFGghRrzDGEIqx BI2FuJTsb5coX2gXnQcIzf7Ol/Bi1iqRiUn36SAuhgihHXbfiUawbGiyxn2rLpUAuqrrTsE+8EqKm 4FZGeH5/MTGG7h/6m9Gjj2pEzeq41Oiuj2XR+opj6jN4gidKbsm8g/0p8KgNKafymvae7/cC4AmdK 5l94FMkvx+951qsaCXkzU8amoEGxZrS2DW/WpJtJ2ByDGSpL/Y933pNkyNwLeXW9TYngq0gDAfEBj Fgu8eiYTZK1YNRXFvms0GhhkvkprJ9ZALvBVA1HI7eQIntpBODsBqTJBC9nwYrpXIttk5X1s46Lsc lhKiFm8U1HQypuWzfrUQ==; 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 1gtzqY-0005Ye-Q8; Wed, 13 Feb 2019 19:05:26 +0000 Received: from mail-eopbgr30075.outbound.protection.outlook.com ([40.107.3.75] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtzqQ-0005PC-5q for linux-arm-kernel@lists.infradead.org; Wed, 13 Feb 2019 19:05:19 +0000 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=7Rw71WWwyLVXH8o3lP2EgYZdWVGz5uiXKCDWt0BtHBk=; b=OTi6GhZ/Q97f7eZvXpB57gA26iRHY0hoMaLmqHQq3F4acv+RkbRHgDtVewKkT8uwKVe0/eJhX8NH0ITo6ee4z5oz6Ewefi5HGw3brEhsSKitg/QMlJ5imwM2SuslnRMbpiyQhqffqWYsoOeiaSKYAL+CkOzLDmMpHIoztXvnWa8= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB5012.eurprd04.prod.outlook.com (20.176.214.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.16; Wed, 13 Feb 2019 19:05:14 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::ec4e:4756:a9dc:914c]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::ec4e:4756:a9dc:914c%3]) with mapi id 15.20.1601.023; Wed, 13 Feb 2019 19:05:14 +0000 From: Abel Vesa To: Rob Herring , Stephen Boyd , Mark Rutland , Mike Turquette , Shawn Guo , Sascha Hauer , Lucas Stach , Angus Ainslie , Anson Huang Subject: [RFC 2/5] dt-bindings: imx8mq-clock: Add the missing ARM clock Thread-Topic: [RFC 2/5] dt-bindings: imx8mq-clock: Add the missing ARM clock Thread-Index: AQHUw88MHS8LHxaqrEeZDFZsxI5zZg== Date: Wed, 13 Feb 2019 19:05:14 +0000 Message-ID: <1550084693-9797-3-git-send-email-abel.vesa@nxp.com> References: <1550084693-9797-1-git-send-email-abel.vesa@nxp.com> In-Reply-To: <1550084693-9797-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5PR0701CA0058.eurprd07.prod.outlook.com (2603:10a6:203:2::20) To AM0PR04MB5779.eurprd04.prod.outlook.com (2603:10a6:208:131::23) x-originating-ip: [95.76.156.53] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 89a88e86-d699-4cd6-3adb-08d691e62ed2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605077)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB5012; x-ms-traffictypediagnostic: AM0PR04MB5012: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; AM0PR04MB5012; 23:bsj4AxI1fEGaU4zJ9uphxOsUSzua56pw2IfoN1a?= =?iso-8859-1?q?ePw3fjrjaIaI2hQ?= =?iso-8859-1?q?4lRXRKmVrW0lG04Mj0EGvPfPj1aq9cY6pCWcspn7K6XeSOzHyYVhRSxRC5NQ?= =?iso-8859-1?q?mgOe3Ulrrk6R7uof/Jco7VaG3CUtaVVwReOYrG+vjumhsGwLn9eQRGBvE6dy?= =?iso-8859-1?q?91zpaXe0UAGzHTtbD7YVObS9EHUYkWuGw3xHBcMBX6T3Hf23qP8yNCz9bZUa?= =?iso-8859-1?q?RsURESAF/Vfs7rrddtstnnYTetmqqby2o6PngVIgoXivrIwtYnB2VLqbnLhN?= =?iso-8859-1?q?gc9W7NbjxdUtgAZD2HMvD6BATKWi9FkEBVOBJbXiGSLn88rhFAmHj3C7fjSo?= =?iso-8859-1?q?hWsXt1lpW/oiijWCXfYCQLOaX+9glDfQ8Fhf9uGygEfjnO4OAL1tw0qO1HEi?= =?iso-8859-1?q?Wz6nC5OKESryO6Jbw09c9SFwHbC4OTjFFQNZ/R83ihfouq7Bf/sEGbmStYt7?= =?iso-8859-1?q?m8nmN8iiCMbt66NXZlpL6eHBwpYaOT31g8Ethypy44x/fS1tO4LufqaCgP8q?= =?iso-8859-1?q?Zw430r1ILwUFlda1bXDg1Vh1sABaUwUdaNLaGq2pPuQlIwfxyMDKsUWh1DQu?= =?iso-8859-1?q?wgex23JePqLHLzL2efLTWCKkEyquz+Me6Co8oiZe6th4l0qUisAsd/u7hk8p?= =?iso-8859-1?q?XZaOsurD2RkLeWoeRxKNJX9tAI8mwDLpLVTf8oSytbr9q0fWU9Gxap0gJ/lv?= =?iso-8859-1?q?mKHuTZ+NfCQAkcpy4mtv4+ycidCS68AUglEny+sQBu1TAOQYLzVarEMuRl+L?= =?iso-8859-1?q?d/PrTC/8tHxHtu0bfIaAOf8maUtRHDwxZAOYdHHkFD5yEgnuRVmmmrQSI0qc?= =?iso-8859-1?q?WFWs4ZBqX14R1OoMq/w9Qkf+lNAupG5c6yvP70aB/qV/ux0qNJJU0wK/RoG8?= =?iso-8859-1?q?DoJuByGPOerfON7BXhJ6ecpp+iUkoEuWmS89ucXiUgAIjrCi2gefNB+2+BOe?= =?iso-8859-1?q?VijOnWrI1GBg3oyk8pg4qnmWS/9d/hv52TeCpl7MFgBvNRzq7Y1nV61eroS2?= =?iso-8859-1?q?sO8ARx1Md/haMqXQdvGUyoiY4ZEbo/7wXc9qhezLz0d0UKx+whhGgLr6eGs9?= =?iso-8859-1?q?V3Kf6HSAjsMEu3XKuIY52/fbsBizy5efu6XHWiQXIZ59tEAsBGIF1571O5A6?= =?iso-8859-1?q?9epaxrDewdBJP/zwqJjQbw3/mu/Ctx913aq10dh949WBf0K59wPQ8HCrRPhD?= =?iso-8859-1?q?KkVHmSXEEO2a832w5H+PVr0C56ADQddfahuKxijyG7eQvYtEve3+V4JIa8rw?= =?iso-8859-1?q?vHjF2ln5YiUJpc0P4Dztspe+WH?= x-microsoft-antispam-prvs: x-forefront-prvs: 094700CA91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(366004)(376002)(396003)(136003)(199004)(189003)(36756003)(186003)(68736007)(6116002)(76176011)(3846002)(54906003)(66066001)(52116002)(4744005)(25786009)(4326008)(6512007)(476003)(106356001)(26005)(53936002)(110136005)(105586002)(256004)(446003)(6436002)(14444005)(2616005)(486006)(11346002)(86362001)(44832011)(2906002)(71190400001)(81156014)(8936002)(6486002)(7736002)(81166006)(7416002)(102836004)(316002)(478600001)(99286004)(14454004)(50226002)(71200400001)(386003)(6506007)(6636002)(97736004)(305945005)(8676002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB5012; H:AM0PR04MB5779.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: /273hiyxNPb/UXJRWdO1EuZcWkej2Pb6dC6dMAa3UU/xJF5umRfV+IOMkDR2A72D8SpHbYh3WerDe252BqVZGBhlJBVRQhshP9HGt2kg4nz4fFnJ0SQ4vo8/sujh2X84QVC0RFKKqCDxyzf9nNFnlT5HWX9fcb0qVUGimXUUehqM9JxrNplbL4P7lkoByRsP14wq8Erf955Xnd86A8EiRRoneFrqKjn44wClE05a3zZ5yskOhc4qI2vramnGHk2olCb7HMqJe73IExwCpfCwfpUy27FdFUjlBVd+gEqxbt3r6/E7XxCtJ7E8G7f13kGqb7tLuzFpaFgz8KzRh9lKWe6dLualaAZTolsnTx+jl89YZIk4qF94pgufq+18sza/PkaAMqNAml1DyKFI+bOrHBv00yleTRCShPYcuwGiuqI= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 89a88e86-d699-4cd6-3adb-08d691e62ed2 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2019 19:05:12.6574 (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: AM0PR04MB5012 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190213_110518_216309_8BDC0416 X-CRM114-Status: GOOD ( 11.65 ) 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: "devicetree@vger.kernel.org" , Abel Vesa , Linux Kernel Mailing List , dl-linux-imx , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the missing ARM clock which will be used by cpufreq Signed-off-by: Abel Vesa Reviewed-by: Lucas Stach --- include/dt-bindings/clock/imx8mq-clock.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/imx8mq-clock.h b/include/dt-bindings/clock/imx8mq-clock.h index 04f7ac3..47c790c 100644 --- a/include/dt-bindings/clock/imx8mq-clock.h +++ b/include/dt-bindings/clock/imx8mq-clock.h @@ -391,5 +391,7 @@ #define IMX8MQ_CLK_NAND_USDHC_BUS_RAWNAND_CLK 267 -#define IMX8MQ_CLK_END 268 +#define IMX8MQ_CLK_ARM 268 + +#define IMX8MQ_CLK_END 269 #endif /* __DT_BINDINGS_CLOCK_IMX8MQ_H */ From patchwork Wed Feb 13 19:05:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 10810793 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 61A7D746 for ; Wed, 13 Feb 2019 19:06:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E6AE2DCC1 for ; Wed, 13 Feb 2019 19:06:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 418B82DCD2; Wed, 13 Feb 2019 19:06:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E89DC2DCC1 for ; Wed, 13 Feb 2019 19:05:59 +0000 (UTC) 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:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=peC9XID3S9hgI3fIHcldi2Z5eV4U8F4ELdEFgWtVCMg=; b=TfIMQrk6uWFKKb bPBRdOfvn5cFhGP0Io+SAoZbvQbatXLmFSU3h+OZc83d5DMNT7Nq0NKCJRq4V3EEQyj25fiKBsDnC Oqo87HKLPyExpCGXACDKgDxyO4TIAGdgRfFNbcZfQ8jh0zghaEksnh3so2NbH+fjv+RLVL3xIRON6 MGTwiJi+7Ppom7GKuPGIs+ll/lA0Rtutj+8ECRW4/wn/BPbsRzCg1UQZAYB0ZfBrGjnvhpOfJlim0 fByZJ+nnDmCby4RfUay/4xQthSMsWoDnFJuziN0uEmab6ndVB8ug/mOVGLO8/Lk4q3hH9kvoNAprU pYz4av2IGuvfZkoXMmmg==; 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 1gtzr4-0006Bj-Ej; Wed, 13 Feb 2019 19:05:58 +0000 Received: from mail-eopbgr70040.outbound.protection.outlook.com ([40.107.7.40] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtzqS-0005P8-T5 for linux-arm-kernel@lists.infradead.org; Wed, 13 Feb 2019 19:05:23 +0000 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=ep2w2cZAfcfxXLCNjmOf3YUxLKRZ44/siUE9rL1xvpc=; b=lISvBKZDJNXyuOcawYYRMVYjCko46qEsy5kbHl8r6FbAAeTVtOyb0TDWaIdPiMA/DohduyFsuJWVqr4tSoKV4b2WH+Kirik/fsj0E/ZW71WkFE7wwUf4G17aiqZSTWonFq/BVgEp0AqK0psmYqji45mI/votMB0SmB/DJLbclOo= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB4515.eurprd04.prod.outlook.com (52.135.148.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.16; Wed, 13 Feb 2019 19:05:15 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::ec4e:4756:a9dc:914c]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::ec4e:4756:a9dc:914c%3]) with mapi id 15.20.1601.023; Wed, 13 Feb 2019 19:05:15 +0000 From: Abel Vesa To: Rob Herring , Stephen Boyd , Mark Rutland , Mike Turquette , Shawn Guo , Sascha Hauer , Lucas Stach , Angus Ainslie , Anson Huang Subject: [RFC 3/5] clk: imx8mq: Add the missing ARM clock Thread-Topic: [RFC 3/5] clk: imx8mq: Add the missing ARM clock Thread-Index: AQHUw88NcMpiZioGe0qpdfUO8mvjtg== Date: Wed, 13 Feb 2019 19:05:15 +0000 Message-ID: <1550084693-9797-4-git-send-email-abel.vesa@nxp.com> References: <1550084693-9797-1-git-send-email-abel.vesa@nxp.com> In-Reply-To: <1550084693-9797-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5PR0701CA0058.eurprd07.prod.outlook.com (2603:10a6:203:2::20) To AM0PR04MB5779.eurprd04.prod.outlook.com (2603:10a6:208:131::23) x-originating-ip: [95.76.156.53] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e6638f32-0c52-4fb9-a8b5-08d691e62fe9 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:AM0PR04MB4515; x-ms-traffictypediagnostic: AM0PR04MB4515: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; AM0PR04MB4515; 23:PXtsI8l0GOwS3P2DEVazcrc2dmYJsvQJRrgfW4P?= =?iso-8859-1?q?XGG/Hq3yoHSbgbh?= =?iso-8859-1?q?SwzyRC4z0/YKFgWBg5DAk84WtRNvnVaWcJOyVIissWBNrFy+kWEIt/39kY+K?= =?iso-8859-1?q?xEX3Y21BBQnXzLvaEuJH9My+bVjsafgHQs0ashzJ+b6iv2oW071VFF/N01D0?= =?iso-8859-1?q?QhNwj5Xp549HFnuJr77lYL8VX+iEiwvgucW57FwQe5lnHmIYASVZ0RjTa2OU?= =?iso-8859-1?q?XthVeNao7ZWc9yIcHBs2PKWyBzHQpraHtNMSUtZ0bDz623RZJ69xORSkYvHV?= =?iso-8859-1?q?zeb8avngXene+rzDP1BTMOG8F5t9Rqhmm36yd+rJ9SyTvPY3EARrGu/WIEYK?= =?iso-8859-1?q?Ta7OMfCrdyef075MrQDkmiBIys++aaVmePSYfc698B1dKp+0enACIqap1drj?= =?iso-8859-1?q?jj9/xO5pGP+zMor8AsaBok2O76l8bLfT+qudw7iJi6PcEnF/tETuUTsO+5H1?= =?iso-8859-1?q?zpANfq5kkfLzw8yESdLBCq77HHXBRDJfkzHpj0cERJWVN7lyhxSJJxSK953i?= =?iso-8859-1?q?iPioirgBEdd7phkfeg9J7dtzaDJ2N5SbMBQBg4aLpnxjIOJd6g3OdAtPUi22?= =?iso-8859-1?q?m6/CNKjZQiH47crjIcP6Fs/30TGtB4+in+18cDNroc758rqHtnssX+Cyfnhl?= =?iso-8859-1?q?X7FDBDbMPU1i10tdv4WQSgJfbRbKjIwI77hOZ42pS0uFd5r6JkKRRjTc+YGw?= =?iso-8859-1?q?XhzS9XfNFWn1/ctprg0pDMRlG92vXNWGt7ikinCaR5cJibb5z+/CI+ZUxwf4?= =?iso-8859-1?q?3wUyKEReD5LUWpE4ib7Wscw7Qji6DHrgkpx+nJEbCJiNRPak8fc0de0Mrk2T?= =?iso-8859-1?q?TImwiQqYkIvUW2QfkhEoHQwqiIFLwqoyWkrciSlbkT+E0IJKMfCY8EX4lWQm?= =?iso-8859-1?q?DDJicQHDr+aWMGepcKuzt9r1S3GZoFogFpcHfvr/k8wiU/rWe1YSVcGhOgzN?= =?iso-8859-1?q?aS+KUb07rdeb2oMxJTkODVSrNeJ3e9Uuo/Wm5QVTIU+++8dvcv+GdYjZM78h?= =?iso-8859-1?q?Rp58NTmniJjY7YEntQSW18PPL0XG2L6aEE7vijvxcBXr/DEw7f6mnzq4N/su?= =?iso-8859-1?q?U548LaDL78DyOwcVsYYbEExLy0HrP0vV2dD6yDb5NFbf4yVPE7npdZSdTaAs?= =?iso-8859-1?q?paW//Y+pevY3XetW/an7P6lYO4C1VATtPLfKKkPIsYFeqjHeF/jUBAhh+vO7?= =?iso-8859-1?q?JKlipQg61e7sUiZZU9gV7uYf5lksBePp+RBtWp8YA8QtW8CEw+Dhx1743Bxa?= =?iso-8859-1?q?MLAY6RQ2eAledLnvXKtI9O6hxY?= x-microsoft-antispam-prvs: x-forefront-prvs: 094700CA91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(376002)(346002)(136003)(366004)(199004)(189003)(4326008)(52116002)(2906002)(6636002)(3846002)(6116002)(99286004)(106356001)(105586002)(7736002)(305945005)(25786009)(97736004)(14454004)(66066001)(53936002)(8676002)(81156014)(81166006)(68736007)(36756003)(8936002)(478600001)(6486002)(6436002)(6512007)(50226002)(110136005)(54906003)(316002)(486006)(186003)(2616005)(476003)(256004)(26005)(102836004)(4744005)(11346002)(446003)(71200400001)(71190400001)(7416002)(6506007)(76176011)(86362001)(386003)(44832011)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4515; H:AM0PR04MB5779.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: mYnueK+3dXUPxokeVd+BL4upnkq8vq60rF8xUd2XUxKwTjYVItJWa19jB9Vy0hE74lY6H3NqFIyjXmdRiSkhVFXqLISDJoWrDJSwH8NGbLln71nEZEC6d/8ZeCn749hRXiCEpZkizMrkAO5ITyG50MmB5Y8AUPkR3UG2iiU/iWoe2DW5Q2dv3Tp8cNnrjp9fy+lPajdVFZXXLHMfG9cjDqeHLkI0cjHTGsLS+23JEZMBztpHDLPBJ9k9Eb2/RhH5u5UnttvvO+bUyNwD26e0+0p/DhrxBwsLQh3gas+KZyEGdyPAP0TocwKkng7T5dF6beRstfymGeKZ4ZGnBH7sP/PMWbELe1QFpn1+Ur5ozwe8nPruEK5DirR2OLv3UF7kJRhsZxre6DH2EKHx7IIz74JDout6HEj4QTOrasLyahw= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6638f32-0c52-4fb9-a8b5-08d691e62fe9 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2019 19:05:14.4916 (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: AM0PR04MB4515 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190213_110521_161170_EF0A1D2C X-CRM114-Status: GOOD ( 11.33 ) 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: "devicetree@vger.kernel.org" , Abel Vesa , Linux Kernel Mailing List , dl-linux-imx , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the ARM clock as imx_clk_cpu type. Will be used by cpufreq. Signed-off-by: Abel Vesa Reviewed-by: Lucas Stach --- drivers/clk/imx/clk-imx8mq.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c index 57499ed..8a283cb 100644 --- a/drivers/clk/imx/clk-imx8mq.c +++ b/drivers/clk/imx/clk-imx8mq.c @@ -558,6 +558,12 @@ static int imx8mq_clocks_probe(struct platform_device *pdev) clks[IMX8MQ_GPT_3M_CLK] = imx_clk_fixed_factor("gpt_3m", "osc_25m", 1, 8); clks[IMX8MQ_CLK_DRAM_ALT_ROOT] = imx_clk_fixed_factor("dram_alt_root", "dram_alt", 1, 4); + clks[IMX8MQ_CLK_ARM] = imx_clk_cpu("arm", "arm_a53_div", + clks[IMX8MQ_CLK_A53_DIV], + clks[IMX8MQ_CLK_A53_SRC], + clks[IMX8MQ_ARM_PLL_OUT], + clks[IMX8MQ_SYS1_PLL_800M]); + for (i = 0; i < IMX8MQ_CLK_END; i++) if (IS_ERR(clks[i])) pr_err("i.MX8mq clk %u register failed with %ld\n", From patchwork Wed Feb 13 19:05:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 10810795 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C636D13A4 for ; Wed, 13 Feb 2019 19:06:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B00392DCD0 for ; Wed, 13 Feb 2019 19:06:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F86E2DCD5; Wed, 13 Feb 2019 19:06:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4864F2DCD0 for ; Wed, 13 Feb 2019 19:06:11 +0000 (UTC) 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:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2NPtv8GAQgzbdWDbR/MkLdX4Ae00JXiEXxkfQAIxvsY=; b=OTiYfwmmt9aaiC TDUJma4HHU78quFeREBzPuIsKQIBuQeFoIDZmVjCjvT2uw7MCDylOzw4CL0IpuARQw5M61B19Vtc2 HsuL4L1LhV5hWAQjAI68zcZ29fyeqv1muR0GL01WeI5hE4+oIBxAdkoRQ89rSNQMBxZ5VgV1Sapr2 18G1bm5V0GFrVW0F6mqm3dTBwU55H3QHKiu+J2pIBji1wdt4hy7H4DHqNdWm3scisuK8xoQk3jg8/ QBVETiuEBbTWp39arEvd00sUrwb4zr5e1dLPpach3VSI/MDa3L8UXmWx6fNn5aoB4M3GZyhDlIV3d w3C87OcEE9UmqT/VOtuw==; 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 1gtzrF-0006Qh-36; Wed, 13 Feb 2019 19:06:09 +0000 Received: from mail-eopbgr70040.outbound.protection.outlook.com ([40.107.7.40] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtzqW-0005P8-2T for linux-arm-kernel@lists.infradead.org; Wed, 13 Feb 2019 19:05:28 +0000 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=w189ljzm0VaqugtVo9tpZPHp05AlfHj0Dcxzoa0eJr0=; b=eH9Q5oCq+airz8iKbJ3BkcSFSK20XhEBWq6Ck0UHQpck8BK+rrk4AZ6giT2gJlmATZ1X6LQz1MfhmVOZk7ZHJXLQUmeHoadZ6mSJpCcSAmE5CRr6ruQxs1qI6G70n7sxpjd9RiaNx14P0ZYofiX+qpPsq6rC2XhMhUb3ZOZIAZg= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB4515.eurprd04.prod.outlook.com (52.135.148.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.16; Wed, 13 Feb 2019 19:05:16 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::ec4e:4756:a9dc:914c]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::ec4e:4756:a9dc:914c%3]) with mapi id 15.20.1601.023; Wed, 13 Feb 2019 19:05:16 +0000 From: Abel Vesa To: Rob Herring , Stephen Boyd , Mark Rutland , Mike Turquette , Shawn Guo , Sascha Hauer , Lucas Stach , Angus Ainslie , Anson Huang Subject: [RFC 4/5] arm64: dts: imx8mq: Add the clocks and the latencies for the A53 cores Thread-Topic: [RFC 4/5] arm64: dts: imx8mq: Add the clocks and the latencies for the A53 cores Thread-Index: AQHUw88Oy8jEtYT5Hki/orEOIclb6A== Date: Wed, 13 Feb 2019 19:05:16 +0000 Message-ID: <1550084693-9797-5-git-send-email-abel.vesa@nxp.com> References: <1550084693-9797-1-git-send-email-abel.vesa@nxp.com> In-Reply-To: <1550084693-9797-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5PR0701CA0058.eurprd07.prod.outlook.com (2603:10a6:203:2::20) To AM0PR04MB5779.eurprd04.prod.outlook.com (2603:10a6:208:131::23) x-originating-ip: [95.76.156.53] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: def1328f-cf01-4140-3ac1-08d691e630b1 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:AM0PR04MB4515; x-ms-traffictypediagnostic: AM0PR04MB4515: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; AM0PR04MB4515; 23:hbCO6OASkZTxkdaZQqTMSr7iMsuKqmLYBGbPrGS?= =?iso-8859-1?q?BE+bcVP73f5nzew?= =?iso-8859-1?q?1tUgzqnD65DNaZxooyKgU1fIsD6bmCsF+KCVoDYoWF9uDlbmBdSf2ijoJwLj?= =?iso-8859-1?q?+2muYdLvuO0U6MtNsvhm/q4AkJwvpoLm+kZ3jG7bybcGiAQnTgZg3AaxcEpd?= =?iso-8859-1?q?y3vyCBqPxkVBJ9m5H+q6kOAxhiocPraN+eTnJv+xApnP73BXTt0I4xTS0dHE?= =?iso-8859-1?q?VKDDI2EpuXyc78kHWPFWGnnsl4DVdN1upTNx+itQ28Xs3WKK3y5IhtasPh7Z?= =?iso-8859-1?q?IRgYvAU2cCNrDggHyPL3fOx1AZ7U0JXBVH/M6vkzcntfruJq7nSc+KbL+6Ss?= =?iso-8859-1?q?Ax8r2C5xjlODV8+c90y0QpXe0DOz+oCm7IFJeggznmcHA0/jQIEaOvCnYjej?= =?iso-8859-1?q?T13xuBEuCdcAWzxRbuK44+IZyFEwbZUf38vyJ8smEp0YtI/6sLxVAq73bb5K?= =?iso-8859-1?q?WYv0RwsohA+4Tu7gt3J3JQ4Bh2ckTZxfuTmdud+gmhnqBnfYRXNKOiZHe5CK?= =?iso-8859-1?q?GYVJhJgY2pmgUbI/6vvTA7UpO2gTxdeXV0cjfatRDRkpUFsT/3XVUgdGvYWk?= =?iso-8859-1?q?R857OkOxRWfyN4cUpKvcyC+4sdVTofLFUrJ1IbFYtBPyRrROqNLCHuwsZC4K?= =?iso-8859-1?q?SmIEd+1EnmbK+FsxoFyFEvbHa3vBp/R9LESoQ3+Qm6DH9tvfceCKqaoQYpUJ?= =?iso-8859-1?q?W2WQa5CYnUwDbpCdPtyv9ISzy0L634IgEuw5JyOkUwwLICn3KYVuUqIdrumT?= =?iso-8859-1?q?t647kbSCRxVHxJgu8kBTAv1zxG8uW/rVUOd213s29Fvmskb2W7MVRmumE6Xt?= =?iso-8859-1?q?oMyvT/FKws+RQhI2rH3FunKY8kBbeWHhkQs+unhvoNmPRMkFcH1uGh2JIotu?= =?iso-8859-1?q?0lju8X/o7HAn3CR9TKm+4JWYcJPceGyDXqMMMXhQ8fE4m3iBhFgNMeb7jagC?= =?iso-8859-1?q?RdW1NeekgbF/Mxa42Wasz9IB15QXqomtacGnhzyytsTyrUGH4K4EcnRFxiWN?= =?iso-8859-1?q?oIW5iFey8o2kQO0pYQ6/mqlgxRqlIG3r2nfMWLO76rxQ62OEhzeIeiCZAIgW?= =?iso-8859-1?q?mZwFub+SNXCEWqwQ8paTVHTrzampKmDlqgGKp3WvLD7hGelaHbkXjmAccqFz?= =?iso-8859-1?q?18HC32tz2I1IHpQg6sPHHypLQAAa1i6H79JvXOzGyHnm00Enlh5jqbHYo/mJ?= =?iso-8859-1?q?vjgM9DBol1VTdaXVSuuxfvZfGqbELWk1q7vgOwNnguDQAuDyKQ34rdNVkwgO?= =?iso-8859-1?q?BQ9OQ=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 094700CA91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(376002)(346002)(136003)(366004)(199004)(189003)(4326008)(52116002)(2906002)(6636002)(3846002)(6116002)(99286004)(106356001)(105586002)(7736002)(305945005)(25786009)(97736004)(14454004)(66066001)(53936002)(8676002)(81156014)(81166006)(68736007)(36756003)(8936002)(478600001)(6486002)(6436002)(6512007)(50226002)(110136005)(54906003)(316002)(486006)(186003)(2616005)(476003)(256004)(26005)(102836004)(11346002)(446003)(71200400001)(71190400001)(7416002)(6506007)(76176011)(86362001)(386003)(44832011)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4515; H:AM0PR04MB5779.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: SWR63O7TzqYtMk0CndDvs33B49uc2SJGZy/5l26dYsq8WaN+uzJttmL7GJeJjOxYKr6O/jjKZkhVCIbit9g0BBX8M/toVvPPKWUm96Enmop9ew5eeLAsUv0ulgMuD8ken/x5gv1nyP92PvXMbP4Z11bEblxzutgJz7WNYB3Dra39J/UM0kxmScbPnV6pegXsF0Iszd47wtNH7MMB8R8frVmbdiddo8knooJYiwxGpAdKgvsPbBmJQpIF9mUTHUOPDBZe//tosnoYO9rSDPc+tnk/vbJEtWtRGDMVcqF2QNcJ3nVYNLb++lRkqClIaR+zPita5hoVNqvDrUxzHGkEn+0jExqdmK5lvOtPXClMouaps/zRgexsi7ZsnykFoktwT/lDfv6AOcFUzrLaojWtzvWbSPGG31GMr2CguZqf3ds= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: def1328f-cf01-4140-3ac1-08d691e630b1 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2019 19:05:15.8005 (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: AM0PR04MB4515 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190213_110524_714027_FFB053CE X-CRM114-Status: GOOD ( 11.30 ) 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: "devicetree@vger.kernel.org" , Abel Vesa , Linux Kernel Mailing List , dl-linux-imx , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The clocks and their latencies will be used by cpufreq-dt. Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 9155bd4..1a89062 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -87,6 +87,8 @@ device_type = "cpu"; compatible = "arm,cortex-a53"; reg = <0x0>; + clock-latency = <61036>; /* two CLK32 periods */ + clocks = <&clk IMX8MQ_CLK_ARM>; enable-method = "psci"; next-level-cache = <&A53_L2>; }; @@ -95,6 +97,8 @@ device_type = "cpu"; compatible = "arm,cortex-a53"; reg = <0x1>; + clock-latency = <61036>; /* two CLK32 periods */ + clocks = <&clk IMX8MQ_CLK_ARM>; enable-method = "psci"; next-level-cache = <&A53_L2>; }; @@ -103,6 +107,8 @@ device_type = "cpu"; compatible = "arm,cortex-a53"; reg = <0x2>; + clock-latency = <61036>; /* two CLK32 periods */ + clocks = <&clk IMX8MQ_CLK_ARM>; enable-method = "psci"; next-level-cache = <&A53_L2>; }; @@ -111,6 +117,8 @@ device_type = "cpu"; compatible = "arm,cortex-a53"; reg = <0x3>; + clock-latency = <61036>; /* two CLK32 periods */ + clocks = <&clk IMX8MQ_CLK_ARM>; enable-method = "psci"; next-level-cache = <&A53_L2>; }; From patchwork Wed Feb 13 19:05:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 10810797 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4B4B113A4 for ; Wed, 13 Feb 2019 19:06:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 373892D3EC for ; Wed, 13 Feb 2019 19:06:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2AFF02DCD5; Wed, 13 Feb 2019 19:06:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F34F32D3EC for ; Wed, 13 Feb 2019 19:06:22 +0000 (UTC) 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:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CYyfF89jGztM9usI5QyyGyWpt8q+nDFNGLfK/lRhjY8=; b=PGO4BCCJqKe59f d5huTlhlb5AXIEOemph+BgwNH+JtBaRJSmpOKKGM/E/6tO2HqD5+yybw+Wn6eOuNiemuhqDoFsfwY sYh9eMWPtXFT57tCxKDaKQN1UUHJt2qp/SDidHkOojFNCH7whpJjRb7ZBu9zduSuGwPK8g5z8ti1/ MBskwzwWfdf+nu59A8YI9T5mL2Is8wB3IAmJZPTuYO3x7OvNIXLXgO1XMOQ1VnvDgpOD5Q5bzaaky slel9Uhvw1+kxIunbYbVsfT8pwpZKSea+Bw3mihG9enG7HP7eXmGZhqs+47jQ2kx2XI3YC4lZLfDd YqcmdKd0+kJlMcuHWg2Q==; 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 1gtzrQ-0006fd-22; Wed, 13 Feb 2019 19:06:20 +0000 Received: from mail-eopbgr70040.outbound.protection.outlook.com ([40.107.7.40] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtzqa-0005P8-G9 for linux-arm-kernel@lists.infradead.org; Wed, 13 Feb 2019 19:05:33 +0000 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=ryoutEEDsQ7ONGVrPA8KXCePme9FGu1zZRqpQ/4RG4w=; b=NydT448lUqZxv+eDqZi8wkW4xLtQNjWC8iZjLR3AorMu6ptJNHMA02TG/DZQ4K3i449I0Ml0rgvN4CigXycDMZfzlTFmsq4lstVC5FmzRrCzNy2a1KAAAlnhMcyfnIYET/F+cxYKLWNw9fVwQ81/w0gI/r56hrX9+Qgr0XFkqEM= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB4515.eurprd04.prod.outlook.com (52.135.148.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.16; Wed, 13 Feb 2019 19:05:18 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::ec4e:4756:a9dc:914c]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::ec4e:4756:a9dc:914c%3]) with mapi id 15.20.1601.023; Wed, 13 Feb 2019 19:05:18 +0000 From: Abel Vesa To: Rob Herring , Stephen Boyd , Mark Rutland , Mike Turquette , Shawn Guo , Sascha Hauer , Lucas Stach , Angus Ainslie , Anson Huang Subject: [RFC 5/5] arm64: dts: imx8mq: Add the opp table and the cpu-supply nodes Thread-Topic: [RFC 5/5] arm64: dts: imx8mq: Add the opp table and the cpu-supply nodes Thread-Index: AQHUw88PEadq5tNj9UipD3QjqB4ZgA== Date: Wed, 13 Feb 2019 19:05:17 +0000 Message-ID: <1550084693-9797-6-git-send-email-abel.vesa@nxp.com> References: <1550084693-9797-1-git-send-email-abel.vesa@nxp.com> In-Reply-To: <1550084693-9797-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5PR0701CA0058.eurprd07.prod.outlook.com (2603:10a6:203:2::20) To AM0PR04MB5779.eurprd04.prod.outlook.com (2603:10a6:208:131::23) x-originating-ip: [95.76.156.53] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8bd6f982-d307-42f6-d16a-08d691e63157 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:AM0PR04MB4515; x-ms-traffictypediagnostic: AM0PR04MB4515: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; AM0PR04MB4515; 23:meddIC+CMEV2zyUzNGlJumSa9tl3veOpFwL5777?= =?iso-8859-1?q?5uR9cO5WzOGMgRk?= =?iso-8859-1?q?yPAk6ICWnaCoCfUADSSIK4K2zlaQlg06NJ6haEDNSEz/zQLHK2Dq810okFiW?= =?iso-8859-1?q?2RtyYTnbO9j/0k9zjDHsiAmvifNo2lcsvg/Wqr0N164wWRZHHIXIGC0wug6v?= =?iso-8859-1?q?Fv3tnL5WjkYKOiFfBI5HmVWTOIeacD73nUbgYNLGyyadIYXhAqiOTGfTzLEs?= =?iso-8859-1?q?87VnskTUuxi41uvOei2mP42Vfv4npjq7fCo6treE6ywLOD9mhSLZsoW1qr9a?= =?iso-8859-1?q?ypqsDjDoZGYSQT3SHG7GkbNp7suUEzLPXVKTFREJN+QEZ4O0gwWviuKEc2ES?= =?iso-8859-1?q?B7ipVNg08mmLwFCYXFS4E0dKkyIEY+IwbKB5VS5O2iD7qoMn8Hn452IuMorE?= =?iso-8859-1?q?di2GaoOlXbJLSH5vU3J4yKhuKgevl1J4jwMjOlrxxnwDr2utuggPVJEFjdTl?= =?iso-8859-1?q?NyeSf0jtDTst8bI8PB3JXeT9CSbootPm4lab1KNCMRbBVtoL9vWbFD0CvpC2?= =?iso-8859-1?q?oIs24rVfL3BDiozrHCg4lfT2kLU9wtDCdVZEZ+D3ZK1Ugk3qxZmgTPpRRC6s?= =?iso-8859-1?q?FlNBgzVbsSKjSn33kj1k0Oq2gnTbhiMMry1CrReObBs7V6qpJEa9RXtNXUZy?= =?iso-8859-1?q?+pkXwcWk4se2/AzKgjE3WEzw32KqdIFX9wJAKnP30vHFZs2mVWox4AAv0rZd?= =?iso-8859-1?q?uqnJ+Phpot4KeWoUsEXd1doxI4wZQezP+el0DBVPgmHiDB0jdIS8MX1ooTtJ?= =?iso-8859-1?q?zr0iyPA1J+9vWNVE3kHcUIoJUebunroCADIlwplG738UezS9IDegjYvImA/x?= =?iso-8859-1?q?L5Md1CzR+6r6HTjf9/ciss11x+foK0e9wTZ4pypGU4AUbuzb7v41WOEsfkZY?= =?iso-8859-1?q?UZksvCNDhYniAzjcDoWAxbzPm/h4mvH0X7MY29d21hjHc0EXGR4SZWXeoc0M?= =?iso-8859-1?q?mzzQJXKwPZAhzIt3IanJtsbWK8RdTc4LrffHYyB1olkUPsc5/GoKVIoln4vN?= =?iso-8859-1?q?m1tFWy5dIuimH656bTAWKOsCdTUdeSvG+oQ6H10/Bf2t/D2+5ifnZRA0Imuu?= =?iso-8859-1?q?iZvbR6vLeoS+40JOIOcUoUBljFhvXXKDnqy5BguAnlrlEJAygRPuR+3zWrKv?= =?iso-8859-1?q?ljyppd2oiZ6SrbGKg/9Zq/LgRVALm+LU7iufgE+3lyDPkjY9GfiMEuohbmM7?= =?iso-8859-1?q?b9HvOvM7zVWZuopmI/XDwJFdDid/96/FfyBSuUhC175L+h7v7PGwgfKXTBS8?= =?iso-8859-1?q?OZDS43gMuiA81YSGxRQFqEYq/X?= x-microsoft-antispam-prvs: x-forefront-prvs: 094700CA91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(376002)(346002)(136003)(366004)(199004)(189003)(4326008)(52116002)(2906002)(6636002)(3846002)(6116002)(99286004)(106356001)(105586002)(7736002)(305945005)(25786009)(97736004)(14454004)(66066001)(53936002)(8676002)(81156014)(81166006)(68736007)(36756003)(8936002)(478600001)(6486002)(6436002)(6512007)(50226002)(110136005)(54906003)(316002)(486006)(186003)(2616005)(476003)(14444005)(256004)(26005)(102836004)(11346002)(446003)(71200400001)(71190400001)(7416002)(6506007)(76176011)(86362001)(386003)(44832011)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4515; H:AM0PR04MB5779.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: o6NNvcAg7s7zi7N+1J7Rse41wT/BRqbeStJFuBuKSOX1oVmXMnR1SAltLM8vbqfL4gk8Sphcu1mrQ2K2gAYYjhApCANoGLmKJTQgE766wZkVz0wobaUT/4b5yqe+h5XSIKi/iz0O7qNakJITGLqBPYAvLtq/8x59bO4KWOW2oils9bZQ6b20JxZ6gKWuu2e/G+VwiNqo72RLyR3jS0nbNgGOfDUz+OenpO/VwPtRxFUzwMMpX0Vp+ppBA5RLQMApn8ZcbDIR5GkWJiBaIZqFLdD5ArBy4N4qrfvFWW/uA0vuOxK/qMAvgkh4jFgC0YXeLus36VEDhwR7AHTq5/k6zOW3bxIchQq07VpcJ5lYWBLz9Zvbif49szw/xlkM/QPhtA+Aq4V6JYJjxnGwU0zpqylS8/WcZqZZ6wmK1xaKJCM= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8bd6f982-d307-42f6-d16a-08d691e63157 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2019 19:05:16.8773 (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: AM0PR04MB4515 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190213_110529_255170_8716F86B X-CRM114-Status: GOOD ( 12.18 ) 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: "devicetree@vger.kernel.org" , Abel Vesa , Linux Kernel Mailing List , dl-linux-imx , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the opp table containing only non over drive opps. Also add the cpu-supply nodes for the A53 cores in the EVK board. Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 17 +++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mq.dtsi | 23 +++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 54737bf..114359e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -31,6 +31,23 @@ gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; enable-active-high; }; + +}; + +&A53_0 { + cpu-supply = <&sw1a_reg>; +}; + +&A53_1 { + cpu-supply = <&sw1a_reg>; +}; + +&A53_2 { + cpu-supply = <&sw1a_reg>; +}; + +&A53_3 { + cpu-supply = <&sw1a_reg>; }; &fec1 { diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 1a89062..89b2d5f 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 { + 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 = <900000>; + clock-latency-ns = <150000>; + opp-suspend; + }; + }; + gic: interrupt-controller@38800000 { compatible = "arm,gic-v3"; reg = <0x38800000 0x10000>, /* GIC Dist */