Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp1216917ybh; Sat, 3 Aug 2019 20:51:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9uYgOufHvKVGIJLRfzmMr6HKEYk1H/mffWdQ83p1kKGplySmp/B6WLq6avvRX6SZ+ufJ1 X-Received: by 2002:a65:6850:: with SMTP id q16mr95646629pgt.423.1564890703752; Sat, 03 Aug 2019 20:51:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564890703; cv=none; d=google.com; s=arc-20160816; b=aYD6hA67qv5w+cwxlZzH+ASvhF4WLD6QI27Kz/g+XueheNwizltPHxK3jIQeALyroS vflCwwsEQ7/PojIANMHmyVkxR2LddNduVl2ivTc0v//vZF4M74xjQXVfgFnuNr5Is6Sp U/xDEPtp9IaGxdnWq/GRjkWxM0lI1KU9L3ChpVhhuE3wAGEnNmCUfq0phddi25jDZS9O 3y9R/VxdNEqlti8dC0ySzpgr7mk9ka3r8Bhbl8ePsAudIMBJ4HtAmdrEevVFtcz800kf IOZzcJkhp7cNBHUY4L5SiIHIEj8ocyfEdu0HYe1BzUWkTnsfgo9mAXnNLPwROgPIUPZj miYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=81sgXzwPofiIoZeGT/T16+DiWd4jwZQzPInxrLPJzWM=; b=kKLJgzOtI+UP3W/lH12dRhPHZdlxaMfQziu/rbvNcI0tgXpyAwuo6/Lc3IPsxdezsc Tcl+8W0Kp9RSRkr3ol8+ZepEW2p8k5kCkec0fh4MGVDDklZRyV5gN8KLnKXZpcOhnL+0 MSbjBo0JX5O6jNSlcbUE2NZkwoqm6W24Yin+B2I1Gw96+jn6rM2IKCMgazobwCn7yAui JHxIuDvW2fJCNBcbrP7UOMTKFZ4EbEmzq9phqXYBXwUvDmd7snwYxMPuXb8bLCfR6gz/ E061gLlz9jucfqzUuLCilQf29Esh2JGjTaey3OuVBLaj4QwM0p1VbNfZjKd9FT2ejv5l yk5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=h8lOkzoJ; 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 d5si36055121plo.396.2019.08.03.20.51.28; Sat, 03 Aug 2019 20:51:43 -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=h8lOkzoJ; 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 S1727894AbfHCPEo (ORCPT + 99 others); Sat, 3 Aug 2019 11:04:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:60854 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725844AbfHCPEo (ORCPT ); Sat, 3 Aug 2019 11:04:44 -0400 Received: from X250.getinternet.no (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 013F6206C1; Sat, 3 Aug 2019 15:04:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564844683; bh=ZtnQiHcTsMI4Da/gZ9Elzfs6xppHV2apA6OfklfbEJM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h8lOkzoJfFXGZDwMchIHpOc6AQo8qhjpkejNS5dA0LNgWnClZe/2sk04GzEYdg5AK dXFkrgALO3S2hGAXZLdq256kTh3n9cZXeBnjSsLmqFYLR1ZlsnBsXNIUXb8+PhTgmk HxOIDtoDO6/IDwmHa/2RuUlaD2kxDtC2eE2DS6ug= Date: Sat, 3 Aug 2019 17:04:36 +0200 From: Shawn Guo To: Abel Vesa Cc: Mike Turquette , Stephen Boyd , Sascha Hauer , Fabio Estevam , Guido Gunther , Anson Huang , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List Subject: Re: [PATCH v3] clk: imx8mq: Mark AHB clock as critical Message-ID: <20190803150432.GP8870@X250.getinternet.no> References: <1564471375-6736-1-git-send-email-abel.vesa@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1564471375-6736-1-git-send-email-abel.vesa@nxp.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 30, 2019 at 10:22:55AM +0300, Abel Vesa wrote: > Initially, the TMU_ROOT clock was marked as critical, which automatically > made the AHB clock to stay always on. Since the TMU_ROOT clock is not > marked as critical anymore, following commit: > > 431bdd1df48e ("clk: imx8mq: Remove CLK_IS_CRITICAL flag for IMX8MQ_CLK_TMU_ROOT") The commit ID is not stable before the commit actually lands mainline. I could possibly rebase the branch. > > all the clocks that derive from ipg_root clock (and implicitly ahb clock) > would also have to enable, along with their own gate, the AHB clock. > > But considering that AHB is actually a bus that has to be always on, we mark > it as critical in the clock provider driver and then all the clocks that > derive from it can be controlled through the dedicated per IP gate which > follows after the ipg_root clock. > > Signed-off-by: Abel Vesa > Tested-by: Daniel Baluta > Fixes: 431bdd1df48e ("clk: imx8mq: Remove CLK_IS_CRITICAL flag for IMX8MQ_CLK_TMU_ROOT") Dropped commit ID above and Fixes tag here, and applied the patch. Thanks for the fixing. Shawn