Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4896783ybl; Mon, 13 Jan 2020 23:28:15 -0800 (PST) X-Google-Smtp-Source: APXvYqwpRwefUPYpqn7NtvQCIowGrpLtLXWb30X6di8lZOnld5y26KkKHYdhVKzfgAyr0pI4kAbS X-Received: by 2002:aca:815:: with SMTP id 21mr16119477oii.52.1578986894868; Mon, 13 Jan 2020 23:28:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1578986894; cv=pass; d=google.com; s=arc-20160816; b=cJPne+REMqtiD8Z9J1095zbw9Wur5e0W9abFsY74gCpjVGC7Bp/puL0lcxv0Q1PdWZ FksotDvbGk1hnGpMD8yQ9V0Irur+vyBoJvk0xaiJCSf3L+64NCvsMZv+SAZI3ZY3Cs3T dwyUfd+NNkwKmnhRqtwBeXyRrmCOc3s9rK0K+6WSJOjMoW/Q9oSrfx9SzGPpMSlQaskt WuhpBHzPTBBEHbZ9uGSEpXA7q5qBpDe9CURzDszCjz7BJS+YFCEUjxYdibEfhnKWqTbj XS352rPyK7EGCGKl6wWm44mHxENUl9osfs+3sESKDQ1xCWE9yctvd1CI65Fzn3uKVrjB kdjg== ARC-Message-Signature: i=2; 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=vTfFJDq15ddji1P+Ws6ZW93IiCXDYAJ9Pv/q7a7AeGw=; b=X+EenmuP40lf+AZ42v83+ileSR4QzJCxj1lbvCCOyO6luBP+fI3IxLNyZ2pFDFaY67 YlTyKmWEhnw1VocSmJAhruQvM4iD7wT2VL825pYY39RM3YQamkug+vhjXKpXqIBQMBhO B1qe4QPuVCDeHXhl1e5Z1/hESX2F+hxoPnWC4HsTcMEtc1C9N/aGRyfWmnKnIrqpI21x 155lLLwRsgoO513OkD7ttq6I20wEFwf6PKDYXBCcfqbGOEzs61JLZRhJL61HK/9OsjQH +aM7yn/vMrSaYqY1INYaxzXPvCyzGu0U1M8qrli9MC2aZQTzwH+YCY39XuAAvmvRv6bZ dzTg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Q5UBVus+; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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 u188si7570160oia.80.2020.01.13.23.28.03; Mon, 13 Jan 2020 23:28:14 -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=selector2 header.b=Q5UBVus+; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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 S1729083AbgANH1Q (ORCPT + 99 others); Tue, 14 Jan 2020 02:27:16 -0500 Received: from mail-eopbgr70052.outbound.protection.outlook.com ([40.107.7.52]:36462 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728877AbgANH1Q (ORCPT ); Tue, 14 Jan 2020 02:27:16 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bmDzc7m7+BZBAB5bPXo7Xx12rBryiD2KcJEDSh+DJG/PDr++CPz4njcWw7nV9NsMnPbRVjwwJosXYJKWqJMVAuPkOp5CmdpgYq6ydXpEBdyMOVi8fMWusWwtwgrfkEJmZFLzqlC98GGzdvqaJupnrk3sfEhXy59VSfnS8WWIQZixkqCtEzsIxDW1cdHBcwekPv202AafWpPD3Fd1cnr1Z0EMV9aXu/jRweLUmBSpnYQ6QmGUL4AIBhWkpn8/CaKHVVj/w4p3Zv80PlBk1r8TwQMJeuJF5B2PxGVIxQ+UaXdnFCg48hYIDePYbkuWfOCJF4MhFWNS7eYdvnN6wrNgTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vTfFJDq15ddji1P+Ws6ZW93IiCXDYAJ9Pv/q7a7AeGw=; b=Am25Rit9az5cNGO3C2DyF7x1Pwjcm5bVGPXHj8MJzZOzyT+6hmSEtID2EMPfOOOdQKjgEbKFBS+/XDCeF7YvJzV2viSEZcXg++BbDr9ve+M+TM56+FL1taeu4V6V8ZHzxD1SGSgunzRA+0JcsHqwZX5QXqWF69EFS0ZxYr+IyCKtaBy5EOTtCsNM05Moc/HBjny+Ru+Qp7MHO4vBWlUjt62eSqV2WEAP9YK5t4w+Mr8y9GZxzMKUBX1RQxCx/v9jQG2IDdZVp+b6obeLjzdIKg33okXw5fJQVpff8Nn7987bTEfY0Y9J6KYvd5Vgm1YE+aDsd711rb+Zn76dDcYx6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vTfFJDq15ddji1P+Ws6ZW93IiCXDYAJ9Pv/q7a7AeGw=; b=Q5UBVus+eHAyRpiOrFtt/xoEj55XFNcI+UfOFKy81+iN4HtQQDOKoc6rYQX0KECqaRw1jeeDRxDgO42epErnrcV+NT2yYg2i9QMytFkEMDG23q09VloJZIHZ8PjzRPgmByeBt2Ds1huZ8j6yXBJR0Y2nU8wgjPzDCzni3AvqEeU= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB5490.eurprd04.prod.outlook.com (20.178.115.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.10; Tue, 14 Jan 2020 07:27:11 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::91e2:17:b3f4:d422]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::91e2:17:b3f4:d422%3]) with mapi id 15.20.2623.015; Tue, 14 Jan 2020 07:27:10 +0000 Received: from localhost.localdomain (119.31.174.66) by SGXP274CA0009.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2623.9 via Frontend Transport; Tue, 14 Jan 2020 07:27:05 +0000 From: Peng Fan To: "sboyd@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" , Abel Vesa , Leonard Crestez CC: "kernel@pengutronix.de" , dl-linux-imx , Aisheng Dong , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Anson Huang , Jacky Bai , "l.stach@pengutronix.de" , Peng Fan Subject: [PATCH V2 0/4] clk: imx: imx8m: fix a53 cpu clock Thread-Topic: [PATCH V2 0/4] clk: imx: imx8m: fix a53 cpu clock Thread-Index: AQHVyqwI/Q11JwojXU6mQ7Vn6Yy0zw== Date: Tue, 14 Jan 2020 07:27:10 +0000 Message-ID: <1578986576-6168-1-git-send-email-peng.fan@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: SGXP274CA0009.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::21) To AM0PR04MB4481.eurprd04.prod.outlook.com (2603:10a6:208:70::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 99af563f-b85e-47ec-e132-08d798c32b09 x-ms-traffictypediagnostic: AM0PR04MB5490:|AM0PR04MB5490: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 028256169F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(366004)(136003)(396003)(376002)(346002)(189003)(199004)(66476007)(478600001)(66946007)(2906002)(66446008)(66556008)(6506007)(64756008)(52116002)(186003)(2616005)(26005)(44832011)(16526019)(8936002)(71200400001)(69590400006)(956004)(81166006)(8676002)(36756003)(81156014)(86362001)(6666004)(5660300002)(4326008)(6486002)(6636002)(110136005)(6512007)(316002)(54906003)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5490;H:AM0PR04MB4481.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: BCL:0; x-microsoft-antispam-message-info: OzsB0fofNzIXkl338jyPAL+NEGYAkwy6Xc39YGC/s2FGFXi7GywZPINCT63byqbuXj+fr7aAOLyOLpBT+6GRA5NqkyJMOJPTwYVshrlVK474SFr9kA7a79eR4hmqBpo8rAECDArZu/dssiL4d5yeJcMomrz+Ao2aldg0H8lMnC56phm/FdLnkIfpDM1abnQ/Plg6tMMsDoFTo2TXT9HjH/0dJZbFcBTsA+HITOWlH6RTlC+BxS7f++/A7LyzFqyt5SCFS09JkxFRBJC9Kr6+HwXxQ76qm3hz5vehVyZicpFBz9kA0iJXFdoxlv+2lJiPjzFri/i3fY4hsFOPAq51PSFHCOSAoGMW0HQNpGssXh6GB11IiqaClT39oGgpAmqksTrCuzDFy93LqgjjqvPnCwkeGjaqzxe2V36nOEo1RsWly0P1TkF2+kxUstEX12rB8qB0zqypreTOxtdY0mQVAG6HNK+juHtAvO6TFO5b118dofmUpn2k2MPugm1lixbbUARHAqyjQpKRzzBodVLmNg== 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: 99af563f-b85e-47ec-e132-08d798c32b09 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2020 07:27:10.7525 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TY2mpqbr15y832BgDyIsJh7Ut+aUHcb+ujIxAZ9hKzWGXWRaAUYJK1SpceQeo5Ng37PZ/TSBHXDeug0nPJ5NmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5490 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan V2: Fix i.MX8MP build Update cover letter, i.MX7D not have this issue=20 The A53 CCM clk root only accepts input up to 1GHz, CCM A53 root signoff timing is 1Ghz, however the A53 core which sources from CCM root could run above 1GHz which voilates the CCM. There is a CORE_SEL slice before A53 core, we need configure the CORE_SEL slice source from ARM PLL, not A53 CCM clk root. The A53 CCM clk root should only be used when need to change ARM PLL frequency. Peng Fan (4): clk: imx: imx8mq: fix a53 cpu clock clk: imx: imx8mm: fix a53 cpu clock clk: imx: imx8mn: fix a53 cpu clock clk: imx: imx8mp: fix a53 cpu clock drivers/clk/imx/clk-imx8mm.c | 16 ++++++++++++---- drivers/clk/imx/clk-imx8mn.c | 16 ++++++++++++---- drivers/clk/imx/clk-imx8mp.c | 16 ++++++++++++---- drivers/clk/imx/clk-imx8mq.c | 16 ++++++++++++---- include/dt-bindings/clock/imx8mm-clock.h | 4 +++- include/dt-bindings/clock/imx8mn-clock.h | 4 +++- include/dt-bindings/clock/imx8mp-clock.h | 3 ++- include/dt-bindings/clock/imx8mq-clock.h | 4 +++- 8 files changed, 59 insertions(+), 20 deletions(-) --=20 2.16.4