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: 11092689 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 C21EE912 for ; Tue, 13 Aug 2019 17:05:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A45F12862C for ; Tue, 13 Aug 2019 17:05:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 97000286E0; Tue, 13 Aug 2019 17:05:37 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 285422862C for ; Tue, 13 Aug 2019 17:05:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726094AbfHMRFg (ORCPT ); Tue, 13 Aug 2019 13:05:36 -0400 Received: from inva021.nxp.com ([92.121.34.21]:57666 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725923AbfHMRFg (ORCPT ); Tue, 13 Aug 2019 13:05:36 -0400 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 Cc: Anson Huang , Michael Turquette , Dong Aisheng , Fabio Estevam , linux-clk@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org 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 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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(-)