From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD90DC49ED6 for ; Wed, 11 Sep 2019 12:06:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 834CD2067B for ; Wed, 11 Sep 2019 12:06:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HRoBf6Pq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 834CD2067B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=aADZeoJh7qcAkx1EXxGncrm+e8XI7hKP8Fq61pltH6Y=; b=HRo Bf6Pq5JpquZ2lISnYJ6kS1Z8cOuZgmccdXfCOpc+0pyoHxWQ1LMF1KiOcY9USBMIUTCa6VZdrVZ60 4A+AtFzbW1aZj0kCT433rFVbWT/cYs1p/OZkqa9FmmnQuOmBfJTtXjEEOx19x2MD8r1LYO0KmymQB A85/sBDTJ/+rlz18ivf9gBWBuLwLLVY7Muq7BV0dGG/J6gUpJFcCNBOirXxB9jZjt9Ex6o39v9NXP nupfBpAKBrIY3zLJj8CXwevSNKRd58FebxdnsHwq/YBEJ7u1RNtaKjKJ81P8osRfhWyHkOzNThJS2 vouLyOxlPLSDBbHgewRrAzgSGLqn9lA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1i81NZ-00057O-2H; Wed, 11 Sep 2019 12:05:45 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1i81NQ-000505-Pj for linux-arm-kernel@lists.infradead.org; Wed, 11 Sep 2019 12:05:38 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D942A1A05A2; Wed, 11 Sep 2019 14:05:32 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id CC8311A0091; Wed, 11 Sep 2019 14:05:32 +0200 (CEST) Received: from fsr-ub1864-112.ea.freescale.net (fsr-ub1864-112.ea.freescale.net [10.171.82.98]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 2843D205DE; Wed, 11 Sep 2019 14:05:32 +0200 (CEST) From: Leonard Crestez To: Stephen Boyd , Shawn Guo , Jacky Bai , Abel Vesa Subject: [PATCH 0/3] clk: imx8m: Define gates for pll1/2 dividers Date: Wed, 11 Sep 2019 15:05:26 +0300 Message-Id: X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190911_050537_035482_7260AC34 X-CRM114-Status: UNSURE ( 5.04 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dong Aisheng , Anson Huang , Michael Turquette , linux-imx@nxp.com, kernel@pengutronix.de, Fabio Estevam , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org The fixed dividers for sys_pll1 and sys_pll2 on imx8m each have a gate attached but they're currently unused so they default to "always on". Add them to the clk tree for the sake of corectness. This could expose bugs where parent clocks were not correctly enabled. The new gates are added between the PLL and fixed dividers and new gates are enumerated at the end in dt-bindings. This should ensure compatibility, even though none of these fixed dividers are directly referenced by peripherals anyway. There are small differences on imx8mq because the PLL physical implementation is also different. Leonard Crestez (3): clk: imx8mq: Define gates for pll1/2 fixed dividers clk: imx8mm: Define gates for pll1/2 fixed dividers clk: imx8mn: Define gates for pll1/2 fixed dividers drivers/clk/imx/clk-imx8mm.c | 57 ++++++++++++++-------- drivers/clk/imx/clk-imx8mn.c | 57 ++++++++++++++-------- drivers/clk/imx/clk-imx8mq.c | 62 ++++++++++++++++-------- include/dt-bindings/clock/imx8mm-clock.h | 19 +++++++- include/dt-bindings/clock/imx8mn-clock.h | 19 +++++++- include/dt-bindings/clock/imx8mq-clock.h | 22 ++++++++- 6 files changed, 175 insertions(+), 61 deletions(-) -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel