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=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 7DBC7C7618B for ; Thu, 25 Jul 2019 09:51:03 +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 538F122C7B for ; Thu, 25 Jul 2019 09:51:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gkSYOKFO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 538F122C7B 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=OheiblKt/4MpVJiVu0zu1g7bzjcXKFPMAPL2xaZ67gs=; b=gkS YOKFOpiMGhYtgVUMRI4FzM9hJACrVJZNO3yLNn6yZUUhEMbl+og6U1E/WuDvKV8qJ78f5ROLpSlFH a3k+9/rrMIRX1XGvhNFsaTM3GSFOb4nnXJI0jRVUXm0YEma82OnlpE2pOJkhXWrWbIFafQ2v5mld4 s2Cc93Xuya041u0pXVxYW8BHQPydItwRh+StxaXExADJwoUJLNm7b4YPOG+aAaGSpvbF1y+ViNqe5 ocNEgp8XKk8Uf08pV9LWnbJtSVY5a73thiPTJA6504+l62G7zvqcc0e67nriQsjSrTQkvQ3qwwYQf etOpmeD/JgaUVJTVgLyIWUUEqL3VgWw==; 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 1hqaOs-0007Az-Cr; Thu, 25 Jul 2019 09:51:02 +0000 Received: from inva021.nxp.com ([92.121.34.21]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hqaOp-0007Ab-BS for linux-arm-kernel@lists.infradead.org; Thu, 25 Jul 2019 09:51:01 +0000 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 4B2FF20066C; Thu, 25 Jul 2019 11:50:56 +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 3CBE9200667; Thu, 25 Jul 2019 11:50:56 +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 6BD3E205E8; Thu, 25 Jul 2019 11:50:55 +0200 (CEST) From: Leonard Crestez To: Shawn Guo , Daniel Baluta , Abel Vesa Subject: [PATCH] arm64: dts: imx8mm: Fix boot hang at clk init Date: Thu, 25 Jul 2019 12:50:53 +0300 Message-Id: <718c781b77081d6974fd91d5dff7b0f8737757b0.1564048197.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-20190725_025059_527459_7E4F3221 X-CRM114-Status: UNSURE ( 6.08 ) 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, Li Jun 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 assigned-clock-rates property is incorrect (4 elements while assigned-clocks has length 5) and boot hangs while assigning some unexpected rates. Fix by inserting another <400000000>, the intention is to assign both IMX8MM_CLK_AUDIO_AHB and IMX8MM_CLK_IPG_AUDIO_ROOT 400mhz. Fixes: df1703896a17 ("arm64: dts: imx8mm: Init rates and parents configs for clocks") Signed-off-by: Leonard Crestez --- Changes since v1: * Insert and 400mhz instead of <0> Link to v1: https://patchwork.kernel.org/patch/11057515/ Should probably be squashed into df1703896a17 arch/arm64/boot/dts/freescale/imx8mm.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index c9a7c0054c5c..7bbdcebc6b57 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>, + <400000000>, <400000000>, <750000000>, <594000000>; }; -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel