Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5486401ybe; Tue, 17 Sep 2019 08:41:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzj95LxxzTdvuVgYcDYyP00MvBaEtqhvukooql9Lc4/FzkgjSq8S0aED8pQrQGtbQ043adU X-Received: by 2002:a50:ea8d:: with SMTP id d13mr5456533edo.288.1568734906774; Tue, 17 Sep 2019 08:41:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1568734906; cv=pass; d=google.com; s=arc-20160816; b=iVm8G4+v61yB9KSWjyrXEG/Hc7t7BoCFYmExUvUd97NJwEs8nq8VvpxpStRluz9oN3 +QJpXPZPHghcea+Bw0lI5piUvrQskZjk+Ws32bBEOpB+x3m5K+WhnAsBd2IrBm5kxmus iPjxTCV648zngJQqfG3Hqwm0fwPbSc34PwHNwzw1i5W5ARvaMPx7qbeZEk59t9T3V99A uvobSme0jZt5azRdCitWXfHxe/0ZEMvcqyOqaPGU9qcWtfRwbiowq0z64JTl6dWHMAh1 rvhKt6Yyz8OTCduXpjK10d9ZP3d8WsWToPaXqV9mmW5+PLeDBu77042B5k5b5esmP8/V 0x8A== 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:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=xORgEn138aClpnkqf63ja5Qc6KTgERbYVZWyXxe/xcc=; b=oPKq3/eMIG/jjJekv4k+WAfvh1MVXrcr3pZoNFvIr8IzqR/+oNL1GQ7QsHf2Q/DLt+ 9HN/7MPQ+tY7Xvz/UDZt6YyZejcRKRIM0EqLnuTds/riEibz4ohhAY/XGA62k3oku34Y Mw9hYYF/SbLlyAyoHc7bFH3yO/dL173R8AOo+jgULuTclG3V/xGUtjDBYimMXUzWFXID s4la/rW6XbRZDWU5NYkRQI8nYURn8/GKXQfF6q5Jicg1jvm+vBZIDRmF84Fo0dAUAbOP TZ5tRlAePuVcdWIVyBu/UdCAStOA8PEEMTIO5ctk/qC8HaY6HynlwZ0Og4gis11Rhn3V 4OIA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=XcwM0eu0; 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 h6si1572147edr.136.2019.09.17.08.41.22; Tue, 17 Sep 2019 08:41:46 -0700 (PDT) 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=XcwM0eu0; 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 S2404147AbfIQGUV (ORCPT + 99 others); Tue, 17 Sep 2019 02:20:21 -0400 Received: from mail-eopbgr10064.outbound.protection.outlook.com ([40.107.1.64]:57815 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2403789AbfIQGUU (ORCPT ); Tue, 17 Sep 2019 02:20:20 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QFlKk6zPYrRXhd6BBsWPXpSkgn1S0Yp3OKVaRjmJbCS/T+ka86Abr3hcN/uYRSq7yLsVPC6kRbeCjK3dlo9pXQcD73mqnVraKN/Bo62dqEKDBFL2DrwgCiz5mxMsJsEDEvRmFbcla1bKOInGD4aZPCrc9FXA7z/eec2s4sIBNiuB53erWQmSPVPHiBTf+V3/p7Q7XtzfGq8nPWWG92uiwbY/kyO/AdMaeZqBDBI+aWrd3VbPLAubNYieeSd99EhTRinFmmntkNSpDvWLt+8IdngRiecqdSgspiaggaohRP0TMNRBwXXbPPneSfI8rXDAVXQd7HLZxH3/v26S/dA1Dg== 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=xORgEn138aClpnkqf63ja5Qc6KTgERbYVZWyXxe/xcc=; b=Tqkb3MVEMtr47yGubd4rvStaegThN/3Gj95aHogZcJfIgDJxyuBEVRtcKbYLM4iw7wAbvDPSi/kZKrPiRx2Yz/xl3Ft53EbhhvHsDXBN3x2LL0UMv7xH7sWRSLFbvBc1roAzIQ9SAkdkhQZcPq9lMboITGKfDmm3qOfz2E274jTFmgYU7BaPQVgUakyZVyDBWik3DLWMiIpMW9wTxiruKHEa1jxg4/5mHS2Cnexb+z6JTOxUS6YhVvWj43v3LFKOus0KqIGXlWpToktvRw2sTRWchyQt+8znHSVKVrN4Xw4powyttnkvqJSmNQ2i6fMGMpLyGdu3JQnN9KDFgccgOg== 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=xORgEn138aClpnkqf63ja5Qc6KTgERbYVZWyXxe/xcc=; b=XcwM0eu06/g1gTRWfrlDU3AR+lQXE87Q2fR0Wo00pUAEubNtYApnTQHIhbx1l7eWTr1vq6ECHNxVQOWy+YFrMSQ2a3F/FQaf00u+EC7JdP1n5fAyN6uoZV20D7qVcQK08os8qbcOIy244ciIoLATwAD/RZPkHkS3QJFrbC5qaNs= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB6370.eurprd04.prod.outlook.com (20.179.252.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.26; Tue, 17 Sep 2019 06:20:15 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::6ca2:ec08:2b37:8ab8]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::6ca2:ec08:2b37:8ab8%6]) with mapi id 15.20.2263.023; Tue, 17 Sep 2019 06:20:15 +0000 From: Peng Fan To: "mturquette@baylibre.com" , "sboyd@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" CC: "kernel@pengutronix.de" , dl-linux-imx , Anson Huang , Jacky Bai , Abel Vesa , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Leonard Crestez Subject: RE: [PATCH V3 0/4] clk: imx8m: fix glitch/mux Thread-Topic: [PATCH V3 0/4] clk: imx8m: fix glitch/mux Thread-Index: AQHVZsAvxNHrETdja06leIJqZC3kHacvcZcw Date: Tue, 17 Sep 2019 06:20:15 +0000 Message-ID: References: <1568043491-20680-1-git-send-email-peng.fan@nxp.com> In-Reply-To: <1568043491-20680-1-git-send-email-peng.fan@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 63dcc41c-1861-4a0a-95bd-08d73b371abe x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:AM0PR04MB6370; x-ms-traffictypediagnostic: AM0PR04MB6370:|AM0PR04MB6370: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 01630974C0 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(136003)(346002)(376002)(39860400002)(396003)(199004)(189003)(26005)(52536014)(44832011)(54906003)(6436002)(110136005)(305945005)(2201001)(74316002)(66446008)(33656002)(66476007)(66556008)(55016002)(76116006)(229853002)(66946007)(6246003)(2906002)(7736002)(486006)(71200400001)(71190400001)(66066001)(2501003)(478600001)(25786009)(186003)(14454004)(102836004)(64756008)(316002)(9686003)(6506007)(5660300002)(446003)(476003)(99286004)(11346002)(6116002)(256004)(86362001)(81156014)(76176011)(81166006)(8676002)(3846002)(8936002)(7696005)(4326008)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB6370;H:AM0PR04MB4481.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: YJ+ZAHlQpDlZXTD1/T/vguVQO9yzjXXxb3pGPNaX8FPQI96MxtWv81lU6S6TLY9f6wnTZGHsT4vpQn4uwka0VjaHA+zIrJ6/vUjF9vc5Q703OFE/RLb5S732ek2KN0A/gWoKTlfI+KFm/tHGG29ofDFHu6xycwMi2lagWl0dR9RviXDPtf47eZf/UIRsOOyRcFLs275tyI2fWSBTtRsL2Yc4UZiDPifpA1UluIjpyv5CimoOCxl5Lpmh/GqdcntJtyvOho6mYSIuBd44ryZ3/JJuYjgpJrKRRrGbHg8Ff8lJM0La0/TKoW1bAm6En60FABOZsBK6h+KPD9wC8a5TG48nL3+IL45fY2LYBRHhcpxxmXCnpBAMzG+v6yW+aLhtq5c5wy3HFta0kFY4hTCDBc7Wh/MOqCmMz4riP9zGDug= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63dcc41c-1861-4a0a-95bd-08d73b371abe X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2019 06:20:15.3132 (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: Sa9KdMtqb46GsAqgFZhroEcPenh9Cxu9h0ZXFa7Hsfcp+8AgPygEC6wmr2OTikqjdeW1e60d6MoAaa3AL36qYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6370 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, Shawn, > Subject: [PATCH V3 0/4] clk: imx8m: fix glitch/mux Sorry to ping early. Is there a chance to land this patchset in 5.3 release= ? Thanks, Peng. >=20 > From: Peng Fan >=20 > V3: > Add cover-letter >=20 > V2: > Added patch [2,3,4]/4 and avoid glitch when prepare >=20 > There is two bypass bit in the pll, BYPASS and EXT_BYPASS. > There is also a restriction that to avoid glitch, need set BYPASS bit whe= n > RESETB changed from 0 to 1, otherwise there will be glitch. >=20 > However the BYPASS bit is also used as mux bit in imx8mm/imx8mn clk drive= r. >=20 > This means two paths touch the same bit which is wrong. So switch to use > EXT_BYPASS bit as the mux. >=20 > Peng Fan (4): > clk: imx: pll14xx: avoid glitch when set rate > clk: imx: clk-pll14xx: unbypass PLL by default > clk: imx: imx8mm: fix pll mux bit > clk: imx: imx8mn: fix pll mux bit >=20 > drivers/clk/imx/clk-imx8mm.c | 32 ++++++++++---------------------- > drivers/clk/imx/clk-imx8mn.c | 32 ++++++++++---------------------- > drivers/clk/imx/clk-pll14xx.c | 27 ++++++++++++++++++++++++++- > 3 files changed, 46 insertions(+), 45 deletions(-) >=20 > -- > 2.16.4