Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp17243ybd; Tue, 25 Jun 2019 15:32:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHuUG08aelcClm07lSvwAiLnth+YKEVas7ru+hE5bFUwVLsowoTskcKaA4D31vl1mWK45S X-Received: by 2002:a17:90a:b104:: with SMTP id z4mr278118pjq.102.1561501971184; Tue, 25 Jun 2019 15:32:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561501971; cv=none; d=google.com; s=arc-20160816; b=k5uramhdGICU2ZCOSuNK+ffKvwywW+lUYfphW5fpR+P58Qj/7hslDoX8TqQdnUpiCi gMFlT+bMQhoJHkHRz0S3nbR91aAsI+uzTvCQvc8ykBWXK1kln26TcGFnhxa5qtuIKET1 p5YLTcHX54T/GL76Ez+VKOFmlrLfVt+E1JIyEAGASRvesqIvJadMmmMTG37OTWGT8VsF AFVQhewSc34TzVeXGV3hsC/nrS6wl8LtzS4w2VuEVJxS2t5eejdPrmp8lD2PsrGB9YGu MpgLcyEdM1LIkCMwJW50x2w/U8n3dVpWVpTd+l4+Q/3bJKP7ane8Xa/tYfjr4q3mZ3FH C02A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:user-agent:cc:subject :from:to:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=ZtD2nKsbZEAhJyg3+5hB4pPy2FB05L7UpbRsOHRsy1E=; b=T9TK8D4eJOKrrwwscyObdSORfHk9Y5P9Y2SHkc5vVMmxbKDdSqDbc/4httkomEMvAH /Pe65vLyYkQ3aYikr95V+ZtgT9Bkj/yenC+ZL6xHiC2FaZzCWQbFMdcnUC/Ib3NnaSqP ck4AfGLkal68yB+5UUDjh1iUVrpNggLjDCWfppW4xSDRx4jf8A2/8dDXSeH2gmu1VuQ8 wcT9PbBhCS56l65ughiJJiUVZt9PjT0rQUSbGMHcjTAKYwfIyEu5McKcXJj7qUJEiWqx 3OK6IH0HFeMblVtNV++MHtqzx3C46rTVkqQu3aIrRWhE/NVqXx/k/RZtMv1vHc7NMXXO m/VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uOThxdWI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y134si15859749pfc.285.2019.06.25.15.32.34; Tue, 25 Jun 2019 15:32:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uOThxdWI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726357AbfFYWcY (ORCPT + 99 others); Tue, 25 Jun 2019 18:32:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:38398 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbfFYWcY (ORCPT ); Tue, 25 Jun 2019 18:32:24 -0400 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3B8EC2053B; Tue, 25 Jun 2019 22:32:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561501943; bh=cSuQxxaq84YwOFPQHIHja20RlhSxafVamByUrHvRrDQ=; h=In-Reply-To:References:To:From:Subject:Cc:Date:From; b=uOThxdWIbQIHssS8dVd8WO2sv4HnWY9Krnf6kAdWBWn+vn4mff8AGaU7SXJfDPhQh R4W3J5zoId9HAY1DA6y3R2SF0uCSl/dNLEEHvscypDCrIjnWYyYi9IAO2n+zDnSwEJ 9POD0+D4ltW1DyG5nDqCpTX0MxTKdezfL79viuNE= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1561453316-11481-1-git-send-email-abel.vesa@nxp.com> References: <1561453316-11481-1-git-send-email-abel.vesa@nxp.com> To: Abel Vesa , Anson Huang , Fabio Estevam , Mike Turquette , Sascha Hauer , Shawn Guo From: Stephen Boyd Subject: Re: [PATCH] clk: imx8mq: Mark AHB clock as critical Cc: NXP Linux Team , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List , Abel Vesa User-Agent: alot/0.8.1 Date: Tue, 25 Jun 2019 15:32:22 -0700 Message-Id: <20190625223223.3B8EC2053B@mail.kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Abel Vesa (2019-06-25 02:01:56) > Keep the AHB clock always on since there is no driver to control it and > all the other clocks that use it as parent rely on it being always enable= d. >=20 > Signed-off-by: Abel Vesa > --- > drivers/clk/imx/clk-imx8mq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c > index 5fbc2a7..b48268b 100644 > --- a/drivers/clk/imx/clk-imx8mq.c > +++ b/drivers/clk/imx/clk-imx8mq.c > @@ -398,7 +398,7 @@ static int imx8mq_clocks_probe(struct platform_device= *pdev) > clks[IMX8MQ_CLK_NOC_APB] =3D imx8m_clk_composite_critical("noc_ap= b", imx8mq_noc_apb_sels, base + 0x8d80); > =20 > /* AHB */ > - clks[IMX8MQ_CLK_AHB] =3D imx8m_clk_composite("ahb", imx8mq_ahb_se= ls, base + 0x9000); > + clks[IMX8MQ_CLK_AHB] =3D imx8m_clk_composite_critical("ahb", imx8= mq_ahb_sels, base + 0x9000); Please add a comment into the code why it's critical. > clks[IMX8MQ_CLK_AUDIO_AHB] =3D imx8m_clk_composite("audio_ahb", i= mx8mq_audio_ahb_sels, base + 0x9100); > =20 > /* IPG */ > --=20 > 2.7.4 >=20