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=-8.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 4333BC32750 for ; Tue, 13 Aug 2019 17:05:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1EA3A20840 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 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(-) -- 2.17.1