From patchwork Wed Jul 24 19:17:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leonard Crestez X-Patchwork-Id: 11057515 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 1DAAA13A4 for ; Wed, 24 Jul 2019 19:17:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DB38285EC for ; Wed, 24 Jul 2019 19:17:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 01F752878F; Wed, 24 Jul 2019 19:17:27 +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 B1886285EC for ; Wed, 24 Jul 2019 19:17:27 +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=HtyYnSvk0vkzTJrjPq+RPBepZIlHE4jppzG98zjhZeo=; b=Tha NI+aTbATSYacaShRqcgQRRbHnUbiz30swh8iLMAeP60O5krUtDno+3nu2hLa3IYjQABdiHNqkTpLz uKPomrULP5BXpL5nY+qAzDHR95eZ+5QzTNoI9VGK2GaL354px/03Mds9ehyb0Jh2Moe6FZ2xXi/I5 4nolmQ7J8JilRTBwWs6YpgAfw4BDNFYWIZ+fKbf/pdwc4RpjTJ/a9LcYTzIi9t6pQ2KpRfjgVyVDx GdxJ9ZoKiBVt6dCOXAPcJtYhB1ez7kQEPklucYehyRorJu1a1kzSbZCdo8sldSrAnynsVgnuxpFyD rnCiKUMUPNKTt9EPE8vZDwebB78+m7A==; 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 1hqMlS-0000Rq-Az; Wed, 24 Jul 2019 19:17:26 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hqMlQ-0000Qu-6g for linux-arm-kernel@lists.infradead.org; Wed, 24 Jul 2019 19:17:25 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 7BC431A00DC; Wed, 24 Jul 2019 21:17:18 +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 6FB0E1A0067; Wed, 24 Jul 2019 21:17:18 +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 D943C205D8; Wed, 24 Jul 2019 21:17:17 +0200 (CEST) From: Leonard Crestez To: Shawn Guo , Daniel Baluta , Abel Vesa Subject: [PATCH] arm64: dts: imx8mm: Fix boot hang at clk init Date: Wed, 24 Jul 2019 22:17:15 +0300 Message-Id: <62d9c73aafcdc171edcd9e03fa81f451a42d5227.1563995813.git.leonard.crestez@nxp.com> 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-20190724_121724_380678_8BC2589E X-CRM114-Status: UNSURE ( 4.29 ) 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 , Jacky Bai , Stephen Boyd , 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 The assigned-clock-rates property is incorrect (shorter than assigned-clocks) and boot hangs becuause incorrect rates are assigned. Fix by inserting another <0> Fixes: df1703896a17 ("arm64: dts: imx8mm: Init rates and parents configs for clocks") Signed-off-by: Leonard Crestez --- Found in next-20190724 because that's when df1703896a17 was included. Perhaps this should be squashed? diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index c9a7c0054c5c..8737f833cf9c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -461,10 +461,11 @@ <&clk IMX8MM_SYS_PLL3>, <&clk IMX8MM_VIDEO_PLL1>; assigned-clock-parents = <&clk IMX8MM_SYS_PLL3_OUT>, <&clk IMX8MM_SYS_PLL1_800M>; assigned-clock-rates = <0>, + <0>, <400000000>, <750000000>, <594000000>; };