From patchwork Thu Nov 29 09:28:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 10704241 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 BB5E214E2 for ; Thu, 29 Nov 2018 09:29:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACC8A2E5F9 for ; Thu, 29 Nov 2018 09:29:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0E002E703; Thu, 29 Nov 2018 09:29:21 +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=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 95E5D2E5F9 for ; Thu, 29 Nov 2018 09:29:20 +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: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:In-Reply-To:References: List-Owner; bh=itn3KDVgVngy1LEOoTKGfX0TmOETjP3uVMjb7KMuWD0=; b=FDoH6APZfkdhtb w4nlDW60PJa3wr07O2Vss+ckVFiuQ9iO+RhGCnH5ECr+3Bgq/1JYZZ2DvTCfvkfTEZkCQX5mrSL8C z/h61olsYDwBXJMqUIF8uKN44oA0XeOjjTkXQVjsaDystxN1UBSbS2Hnx/tDuz5o1bnG7MRwqbMoA JiRtMaNal87kQHuvcVjIjzVE6lGnmLDFU8vHsibmqM+xMw7tBfOuQQe2vWgS2YRBS2+kbPpAQVQ+h IxfkJX8R9+wZo5CVQNlgs8iW/TOSVicPf5Y7onYkOV3+93ER6qRnJYRDHYm4DL2zALcwk+jvAaZLL IgHm3SToplUt654tL7nQ==; 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 1gSIdJ-0005KA-GS; Thu, 29 Nov 2018 09:29:17 +0000 Received: from mail-eopbgr60042.outbound.protection.outlook.com ([40.107.6.42] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gSIdF-0005Ij-Ra for linux-arm-kernel@lists.infradead.org; Thu, 29 Nov 2018 09:29:15 +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=y91WBRarPZ5lWIZo7sRzb3vQQPZgjIqHF5yPYfFNGA0=; b=IzKb82lX2iNf6LA1LRUO55l5ZohWJLw7vqmuUXg/bBzV3VdP/b1cTYsh7cSqxYjCrorWxWu4Ax086zt2GBPShL5LjS28votnkEe4m2OrOKzqgbhzBWCoOMktGdP0Go8k9UAAHs9l5cF5lHBY+EnLKgxfkmQG86vSaUdbr8vxBMo= Received: from AM6PR0402MB3654.eurprd04.prod.outlook.com (52.133.28.145) by AM6PR0402MB3560.eurprd04.prod.outlook.com (52.133.19.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.19; Thu, 29 Nov 2018 09:28:58 +0000 Received: from AM6PR0402MB3654.eurprd04.prod.outlook.com ([fe80::c46b:915c:7a03:123d]) by AM6PR0402MB3654.eurprd04.prod.outlook.com ([fe80::c46b:915c:7a03:123d%3]) with mapi id 15.20.1339.032; Thu, 29 Nov 2018 09:28:58 +0000 From: Abel Vesa To: Sascha Hauer , Lucas Stach , Aisheng DONG , Stephen Boyd Subject: [PATCH v14 0/5] Add i.MX8MQ clock driver Thread-Topic: [PATCH v14 0/5] Add i.MX8MQ clock driver Thread-Index: AQHUh8XkjJZ90goyKEOyM2phufHHyg== Date: Thu, 29 Nov 2018 09:28:32 +0000 Message-ID: <1543483640-4585-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: AM6PR06CA0032.eurprd06.prod.outlook.com (2603:10a6:20b:14::45) To AM6PR0402MB3654.eurprd04.prod.outlook.com (2603:10a6:209:19::17) 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-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR0402MB3560; 6:DHNf4i0MZFXWTGjD/Ss78TzNop/ayJS460VVEbHWSLcRJxUJUENVaFLZNxw9SsEDafKbIJT9S+UZ2M6/W4HhnF/SVIi7lHoZGiVRRpRfropmhrMPovq4dIBMMc2rmZBN74hVmkJGhB84xDD4ZyVPK+dSftXSf/s8NwBxDL8L+6IEPvYS5O+JULdlIkVMBr8kjFA4teTE4Fib3oyetvgbWpJ1M1ef5ZUdHfym+kLP0DEqIX59tuPA6AjjXhDB4GFt09WTBUbXvsHje7Dv112W0uIwItAkkE8pNO9cn1m5PCb1uhzK+RuiFN8chrBI77yKTzS9/D5WfmejM0M8J22NuVQbr8QK3tsiGb/7GOaP61NVOU/GKvliwn+mb8cfL94fM+wsV0z1HmIU62SFNYdmD+vGgeC4R6QMqxATAoLfmwX03P9FNtMkL5BDUqN3XjtPnx+3gMJMwFYg8/wbIOzjuw==; 5:eBhi8YQjBw+XhgwQqrU0zxuxrPWNa6iWTfcQIq7tmdeySCZsJLPQNXuDsZWvUPgWMRPWDxsriYVjWxnZevSQguCT/9jCjHeHNjRCxLZ1ci9VvK4ARvxOHMgKqeRuYZQI24q2K9MNOajXrCPiIj0/LfKo9V8DApTB/D3EFpc89E8=; 7:uEgO70zZt+mkSdHb9/EAH8ulxvBgDY73GzdQ3dA8x3dX8CI7/gvyuTwn3+2sq0+zHQoZDoHdFJ7rB72ljMWocN4GXaQLpGwSIXZyj5vN5WxAwxztJpmC7g7WLI0NlGBcVB8U04veYKbSBaX413OXNg== x-ms-office365-filtering-correlation-id: c8414fbf-04ec-4507-a0af-08d655dd0749 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:AM6PR0402MB3560; x-ms-traffictypediagnostic: AM6PR0402MB3560: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231453)(999002)(944501410)(52105112)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:AM6PR0402MB3560; BCL:0; PCL:0; RULEID:; SRVR:AM6PR0402MB3560; x-forefront-prvs: 0871917CDA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(396003)(39860400002)(376002)(346002)(199004)(189003)(4326008)(105586002)(6486002)(26005)(478600001)(966005)(97736004)(106356001)(3846002)(14454004)(44832011)(2906002)(2616005)(5660300001)(71200400001)(7416002)(71190400001)(316002)(66066001)(486006)(6506007)(81156014)(305945005)(7736002)(6436002)(25786009)(36756003)(81166006)(14444005)(6116002)(8936002)(110136005)(256004)(8676002)(476003)(6666004)(102836004)(54906003)(6512007)(6306002)(68736007)(99286004)(52116002)(186003)(386003)(86362001)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0402MB3560; H:AM6PR0402MB3654.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-microsoft-antispam-message-info: dq6qaRjKdV+Pi0uzyersP73ZmmJ6+mEnalIr4ph1yxV0YPYLvAFj7yiOOEvoURyWKFfFOfYCaaW6jJ+cUqDnHZVTPRNPf4lL9qDvZ5/38Vr1tv6+IBNxrxmVkkWVhX2q5sbODecg7cp6jsFB1/prFiwvslikP1uxnmakCm8ZwzmDX9dgYi3ltb/2R1KWx4Ct5QAB1IyHU8p3EsPS6I3XuLcjW09tnwlhnI+ZxU98MlRevL2iI4DNLe2vcJyvHmAxrU6ke3kp6zFWvbNxY9SA+V/9he1Rmib6JpwNiO05CUqsVN5CfZ4Q+baFzlOvew3udAkMCRdaze7O4fE+FH6fl8kl4j22NgUC5vV5yizhz6I= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c8414fbf-04ec-4507-a0af-08d655dd0749 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2018 09:28:32.3215 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3560 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181129_012913_888858_1531883E X-CRM114-Status: GOOD ( 11.68 ) 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: Mark Rutland , Rob Herring , Abel Vesa , "devicetree@vger.kernel.org" , Michael Turquette , "linux-kernel@vger.kernel.org" , Abel Vesa , dl-linux-imx , Fabio Estevam , Shawn Guo , "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 Here is a link to the 13th version: https://lkml.org/lkml/2018/11/13/1020 Changes since v13: * included changes suggested by Stephen Boyd Abel Vesa (2): clk: imx: Add imx composite clock clk: imx: Add clock driver for i.MX8MQ CCM Lucas Stach (3): dt-bindings: Add binding for i.MX8MQ CCM clk: imx: Add fractional PLL output clock clk: imx: Add SCCG PLL type .../devicetree/bindings/clock/imx8mq-clock.txt | 20 + drivers/clk/imx/Makefile | 6 +- drivers/clk/imx/clk-composite-8m.c | 178 +++++++ drivers/clk/imx/clk-frac-pll.c | 223 ++++++++ drivers/clk/imx/clk-imx8mq.c | 589 +++++++++++++++++++++ drivers/clk/imx/clk-sccg-pll.c | 256 +++++++++ drivers/clk/imx/clk.h | 64 +++ include/dt-bindings/clock/imx8mq-clock.h | 395 ++++++++++++++ 8 files changed, 1730 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/clock/imx8mq-clock.txt create mode 100644 drivers/clk/imx/clk-composite-8m.c create mode 100644 drivers/clk/imx/clk-frac-pll.c create mode 100644 drivers/clk/imx/clk-imx8mq.c create mode 100644 drivers/clk/imx/clk-sccg-pll.c create mode 100644 include/dt-bindings/clock/imx8mq-clock.h