Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp13965587ybl; Mon, 30 Dec 2019 01:14:51 -0800 (PST) X-Google-Smtp-Source: APXvYqxm/e60epdzZM2zfADpkLsXDf0k+XyxuezX+NO5h9/bTUuZqILSOE7P2lRREIIBZzIOCz8N X-Received: by 2002:a9d:2dca:: with SMTP id g68mr67535847otb.150.1577697291510; Mon, 30 Dec 2019 01:14:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577697291; cv=pass; d=google.com; s=arc-20160816; b=U1kW45t7bk3L/E/F1zT2XY4/5K4fqG/S680+PLo+lc9LQA8Vrv4Pj8ZsrCLsJ3w8+j MvOe5puHPxarCqRbo7OIL8XyywJjf/3eCHGK2A/t1otDUS9Loq34wpdZ8MpW8bK+DuMR 5cy9gbjN7feqU+1FKUMr5VqzhX3/sfxuDMSLVoQrbNZwH3g28QK6Fal+t63z6DegjChN 5l5sIDfh6Bp/8bOS2kyfLLV/+vM7WkVic9EdQYwmhwI4PYZ5TtgtTCW+JeOpHHOifg26 jYeNYDXm/CBZq7UR8YJbKiRDXlO7qdAZOVJqTtnWZ/6Q8wY5trQwxXZYhPIN5K6mCkoU UV3w== 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=AOYcUkTbBq0dQfnGd/67uZ9OlRSBdIyyAwCt6zLDyko=; b=LS/0A4jyZ8BWI5pUYsaXWqK6iNVlXmdW1F1Yo8S9MEtpW8p8TR6sYJW5NjJ3D4+/cw ByLbpWzLCsW3fHFxi20lsNk3muEjkDzXjq7Kw5GAMhICwedpVHIO7zPBWPEDZNBjpi7N KJUj+wtt3kkETg2dQPPNpXEWddwvRcxiXXUG0ET4U4iUN9/i+vTeXIqgaH/o3zr+iGOh BSTB2t1FCf9FBIjXLQZNEjiVSD+NdN2n6kb9FxoBArQuYn2+dl2BBxmwSjIL+GFQvYAa AUAIwup3oKUzAUF63123sfdzZ65JEpc96G2oilhYUNp5A1ynW5PXwVr+W5jO7nkUicN8 j8/Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=dWg3KNWu; 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 z4si22867414oti.93.2019.12.30.01.14.39; Mon, 30 Dec 2019 01:14:51 -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=dWg3KNWu; 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 S1727348AbfL3JNA (ORCPT + 99 others); Mon, 30 Dec 2019 04:13:00 -0500 Received: from mail-eopbgr30056.outbound.protection.outlook.com ([40.107.3.56]:16964 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727280AbfL3JNA (ORCPT ); Mon, 30 Dec 2019 04:13:00 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jBOT4IPQXM4Hfuxao4L6KClk9nc+ZdmjJZanpRRROHqpTYr/ullDWEWMnsNMVIyzj26sj2fVxprhpsxRbDDLF9VatUfvVBfw/UqGsedWwjFBTxXVJSSX3/I9KbI1WionFo/WE3kBw1wZcIG/0Q/Cm6kU0z91xhxVZiy8OjaXinevQW68N2wnk9VP5I7pOmCNCtc/ESIgDh4gxBD7DLbteHLSZtx/LdfON32LrnZ4I06fVUh+zAwu1M5jqGrL8hzXfefZ2o4gViU0NYpb7SGiDhMIkQ7VNKpIrzNSxD6CKRj7difv61W8L8a02uK3oxBrFZ8UOeBYIWmK8ZOgFBZFfw== 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=AOYcUkTbBq0dQfnGd/67uZ9OlRSBdIyyAwCt6zLDyko=; b=PTg6r89EYtmElegW4jOZnilkmEZCl1tbUU8kKhhfFozDWM9MLK+69Pmp+o+rtJXywywsrBr/eiGLTDWllKMqmzSEQYXyj6/TN9s7m9JJCkLifRwrfAP7inLbB2MMX33FCP4HJzKlnW6l5gBq9pD6weTrM65kq7wsKbi0aZovIiBKUozp7GTSpSSKbIQOosKPUnZOijWq4x5CwYzg92SEbgncb91VXNtKmD7EfJonHlFy0Xze+TXZmbFcVNU2fEBokHg9DSAXgehHGJNjPZCRjxGbiCy7zFq6SjtK2KXoLrTfLtz3bLFu+k1zE3nuRSFLR8j6MY+v87oezselJpflxA== 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=AOYcUkTbBq0dQfnGd/67uZ9OlRSBdIyyAwCt6zLDyko=; b=dWg3KNWumkHdz15U7Se+IgTzLozlF44pBC0txD3LiUZMFQ3ac4yHTNARQROIgdCjR58X7IiEKKhielJ5w6QVp6KioZ5EsGVY/goSaRRDiPMayGRZVrYtVYUTkkSeQkpaZNxhE+twZs5zouIkDJDfcrriEOE2EvmnYLS1VPknt4E= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB7042.eurprd04.prod.outlook.com (10.141.146.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.12; Mon, 30 Dec 2019 09:12:56 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::c58c:e631:a110:ba58]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::c58c:e631:a110:ba58%6]) with mapi id 15.20.2581.007; Mon, 30 Dec 2019 09:12:56 +0000 Received: from localhost.localdomain (119.31.174.67) by HK2PR03CA0057.apcprd03.prod.outlook.com (2603:1096:202:17::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2602.8 via Frontend Transport; Mon, 30 Dec 2019 09:12:52 +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 , Peng Fan Subject: [PATCH 0/3] clk: imx: avoid modify dram pll and improve for pll14xx Thread-Topic: [PATCH 0/3] clk: imx: avoid modify dram pll and improve for pll14xx Thread-Index: AQHVvvFS+w6THym720OJHNaRDkeTVw== Date: Mon, 30 Dec 2019 09:12:56 +0000 Message-ID: <1577696903-27870-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: HK2PR03CA0057.apcprd03.prod.outlook.com (2603:1096:202:17::27) 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.67] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: dbf043da-c352-4291-6a2d-08d78d087513 x-ms-traffictypediagnostic: AM0PR04MB7042:|AM0PR04MB7042: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0267E514F9 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(376002)(39860400002)(396003)(346002)(366004)(199004)(189003)(2616005)(316002)(2906002)(8936002)(186003)(52116002)(4744005)(81156014)(6506007)(5660300002)(478600001)(86362001)(36756003)(16526019)(8676002)(26005)(81166006)(6512007)(54906003)(110136005)(6486002)(956004)(6636002)(64756008)(69590400006)(66946007)(4326008)(66476007)(66556008)(71200400001)(66446008)(44832011);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB7042;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: BCL:0; x-microsoft-antispam-message-info: ArFhmD2xTbIrDd34K2Mnws+uf7NNvTObkRVm2LBTHbnPAhqzwT7378IxdEVxVh5thh+WUK0+w5/SNFVMIp5icm1sH1TI0jJ2/T2r0aDdW4xZPc5Sv/tdAnaD/1NCzUTgnTHLcXJJkjL0DxPBVko7ub5gE4V8+4IbNcwSqMKeRav/4/MOvr+XYoqNZUZAnCFBM1N0nHSxReeh4XB3M43963bA/X3yOyN4z5HaKYQAG+uWX3DH0MjnshjuDLbs0jJmnhefbxCbp2KiWqfFhY4NO+KZg+NZLsCuKBqD+uI39HkaCYrbACOfxrxj8lQ5w8HiKfMxURIlnOXmbyOg0QlOZ/Jbk4FcmHZkdHIvT/30muaxAzHm+wBimf4cV8BNY4jmAEp5Ad0nLFtI1cNbKqiGVkx4OtlzT72C6Rd/NPcdW16kebihc5VymZm/ZjBI9JCQr91R1cdtaagsqCpMKTQ7lXXok+uTj7ZAO7vH6F9YffFU/Mnsd8NOA7cBbbWnSKQ+ 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: dbf043da-c352-4291-6a2d-08d78d087513 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Dec 2019 09:12:56.3253 (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: Dc555ItGcZqHEUwCEem9Eu97Lc6gU9SNL19m3Yt0qrTI03/i38L4SQEjpa9Iq5R3GiJLcSb7dQ9Hp6+uLIFfIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB7042 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan Dram PLL is expected to be modified in ATF, so we should only provide recalc_rate hooks for the PLL. To avoid add more entries in the pll14xx driver, we could introduce imx_clk_hw_pll14xx_flags to pass flags. Peng Fan (3): clk: imx: pll14xx: avoid modify dram pll clk: imx: pll14xx: introduce imx_clk_hw_pll14xx_flags clk: imx: imx8m: use imx_clk_hw_pll14xx_flags for dram pll drivers/clk/imx/clk-imx8mm.c | 2 +- drivers/clk/imx/clk-imx8mn.c | 2 +- drivers/clk/imx/clk-pll14xx.c | 24 +++++++++++++++--------- drivers/clk/imx/clk.h | 17 +++++++++++++---- 4 files changed, 30 insertions(+), 15 deletions(-) --=20 2.16.4