Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4966133ybi; Tue, 30 Jul 2019 11:16:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQCZUk0wsQdlGXWGaMJJLR3iJFlbowikETGWQyiOiZLFxnOW/MTGuZv2tSFg/jCm3/S9XE X-Received: by 2002:a17:90a:c68c:: with SMTP id n12mr120212343pjt.29.1564510605447; Tue, 30 Jul 2019 11:16:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564510605; cv=none; d=google.com; s=arc-20160816; b=e7mELEpUcauI+2W7XEHObqL5Gn15Q6PGyaSsLqJUzJ0SQznjFb15YhSrBC9wlsuzJE EW0M6JsQShVpMSXM1hBeMkdenJFRmTZhN1UZAFUlnLLoNAeGjEUlaaPidI+GXPwdZF5z jLjucECJiE1zlH228nX+IYwIUHr1Py49YdnwtDMi7cdxPalqTTDtax9SUjedo5f+dzTv 2aDppEhk5mY51emGGlQEa50G6JEFWllbcwrP0hDLrUAfLTXWdkkuPlF6lC8tcWkim3g0 5WJV+HE3OR2CTi2TwudbNvMybFAdpn4YZR1lPQJ6ApChcnyvNz8lqRHy/0AiFgScUEWG ZCTw== 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:subject:to :from:cc:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=mnne8HxkQYHe1hsp9tyTFqKx/kwox+EaL9FZPw5xrLU=; b=IydWy1IyIGq1XVXjUtnEcX71OtOTgzVwtVV7YmdlAd1r8NocwHJXakXmC7rf1g0Iym tdEwgebZ93LgxEbieY+MUi9TxFEFGpSvRLsfWjyNif0UCO+tix+wA+ZbXQGv8HLmkTsa AGHbTY6fx9fILxuDdlN9AaOMxivN2yLwtVWlyPDy5awtUQhFQkHDvINJ+itRCoKtfSK2 Iul/wS5B7gG6RLbcmVQf7XYl2P1prv2NEXjFJ2YHu/WZsvM9mI++clheVjBYRr2yQv54 I1GytySAjRpzxEOhUcTEbyLrrgrWxf/uWYKl2+68Z9ARmSrf5S7HgjxTesAROi7msQZu cEXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PviEB+rS; 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 a9si30831006pfn.104.2019.07.30.11.16.30; Tue, 30 Jul 2019 11:16:45 -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=PviEB+rS; 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 S1731866AbfG3Rwd (ORCPT + 99 others); Tue, 30 Jul 2019 13:52:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:43318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731849AbfG3Rwc (ORCPT ); Tue, 30 Jul 2019 13:52:32 -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 B05ED206A2; Tue, 30 Jul 2019 17:52:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564509151; bh=mnne8HxkQYHe1hsp9tyTFqKx/kwox+EaL9FZPw5xrLU=; h=In-Reply-To:References:Cc:From:To:Subject:Date:From; b=PviEB+rSjDPmiHO/Yq0dWjVAOp2oJKwQX9me32xE8qnRaY4vcp6VXD9TaqQdYmTiz ln6GlNsOYWGOdRGyDiUhz2drXlXhkkcvjY0ACUNFUINHjE6tXDr653RDKRsPX2TMzK 1/lEHd5bTXmNCc2xx2tT19fNHCOEaM5YMIH1VuSo= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1564471375-6736-1-git-send-email-abel.vesa@nxp.com> References: <1564471375-6736-1-git-send-email-abel.vesa@nxp.com> Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List , Abel Vesa From: Stephen Boyd To: Abel Vesa , Anson Huang , Fabio Estevam , Guido Gunther , Mike Turquette , Sascha Hauer , Shawn Guo Subject: Re: [PATCH v3] clk: imx8mq: Mark AHB clock as critical User-Agent: alot/0.8.1 Date: Tue, 30 Jul 2019 10:52:30 -0700 Message-Id: <20190730175231.B05ED206A2@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-07-30 00:22:55) > 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: >=20 > 431bdd1df48e ("clk: imx8mq: Remove CLK_IS_CRITICAL flag for IMX8MQ_CLK_TM= U_ROOT") >=20 > 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. >=20 > But considering that AHB is actually a bus that has to be always on, we m= ark > 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. >=20 > Signed-off-by: Abel Vesa > Tested-by: Daniel Baluta > Fixes: 431bdd1df48e ("clk: imx8mq: Remove CLK_IS_CRITICAL flag for IMX8MQ= _CLK_TMU_ROOT") > --- >=20 Should I just apply this to clk-fixes branch?