From patchwork Tue Aug 13 17:05:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leonard Crestez X-Patchwork-Id: 11092701 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 22092912 for ; Tue, 13 Aug 2019 17:06:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0174528595 for ; Tue, 13 Aug 2019 17:06:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E5CBC286B9; Tue, 13 Aug 2019 17:06:00 +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 96E2428595 for ; Tue, 13 Aug 2019 17:06:00 +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: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=NJf8WKqVwuopRz4N7ZaRpFab+MuJ/l6iLkwuFK2C0KQ=; b=Xv4 AQYib2EJnizX+VGWenTGHYfCm1at7yptpSeVXrj4vaSHGEMrHEg55B2qt/AbFDju3pwDEf51qsANI WrYjcLHTHjbW8BVKFClOszDkX5jr8KC/BYyvcyP4LAIyR/wQtMMX7G6ahJP2w23uow53vuVxhmqAJ GkY9GrogmxyKdnKsIDiI5qSFjdUlBEqDqM+qq2rIkmR6P7t6+NON4wB1RElBUSaoE8SFHkdi/xinQ 2xTBNyPVkB66QRDLkzTzN/py1skgkDoNzGtVF60czjWDnQdOWOtDrxbre8OeQ6As4JDWzVH44H8VP QgIm6Lyp8c++TD/AJjGGaa5ecCL+Mug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hxaFE-00048U-3q; Tue, 13 Aug 2019 17:06:00 +0000 Received: from inva021.nxp.com ([92.121.34.21]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxaEq-0003vk-SR for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2019 17:05:40 +0000 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 0AF272007C5; Tue, 13 Aug 2019 19:05:35 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E87312007B0; Tue, 13 Aug 2019 19:05:34 +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 2F91D2060E; Tue, 13 Aug 2019 19:05:34 +0200 (CEST) From: Leonard Crestez To: Jacky Bai , Abel Vesa , Stephen Boyd , Shawn Guo Subject: [PATCH 0/4] clk: imx8m: Fix incorrect parents Date: Tue, 13 Aug 2019 20:05:27 +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-20190813_100537_059165_46E751DF X-CRM114-Status: UNSURE ( 5.53 ) 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 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 No checks are made to ensure the parents in the _sels arrays actually exist and it turns out that several are incorrect. I found the errors using a hack to clk core, is there a better way? Link: https://github.com/cdleonard/linux/commit/da32c2e76eb373e8a03aec905af2eef28a7997a7 Also add imx8mn GIC clock while we're at it because otherwise parent could get disabled and lock the system. Leonard Crestez (4): clk: imx8mq: Fix sys3 pll references clk: imx8mm: Fix incorrect parents clk: imx8mn: Fix incorrect parents clk: imx8mn: Add GIC clock drivers/clk/imx/clk-imx8mm.c | 8 +- drivers/clk/imx/clk-imx8mn.c | 19 ++-- drivers/clk/imx/clk-imx8mq.c | 112 +++++++++++------------ include/dt-bindings/clock/imx8mn-clock.h | 3 +- 4 files changed, 74 insertions(+), 68 deletions(-)