Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp659347imj; Wed, 13 Feb 2019 15:09:52 -0800 (PST) X-Google-Smtp-Source: AHgI3IZoRLdTcdy2+uDVdDv8Dn7C/y9lLF876UiPgrl/GkRBgB3KxsEwMZ5T9TMnpF/ftQbAxGM6 X-Received: by 2002:a63:f241:: with SMTP id d1mr671040pgk.2.1550099392407; Wed, 13 Feb 2019 15:09:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550099392; cv=none; d=google.com; s=arc-20160816; b=Nvlo2q1qHQE+wy+9uhri6arUrgS+TpYfnGn+nKl8f7hdB6wBoX7wX07vu8nd2kvSaG w9Etg0Imxf7WtZkp3tYjK0v+Ki7vGdEHckN1pY3NEzvrMI//lOdiyia8XcjmiPgC17+i fCXuAsGsBCLWewqLEloCyuhZkCtZS3gOSD4imNd8VL8iX4UPJkVB1PdVYwArDnWMK2a9 tl0vrcEGPFETlKZ/V1fff4DzcZn2XFSWihJovUgrLmGVpeR0MmrKSinfrX3yacyHcpWQ 07MZkbWuXTcxvQRHxvfi3CigjedKDebDhNkEQuHJh20pNlODkcnsHGbxGhz/WR7W4ad7 33UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:from:cc:references:message-id :subject:user-agent:in-reply-to:to:content-transfer-encoding :mime-version:dkim-signature; bh=J16U3ryz4XPLDVgJD8FuwAWsfZSWyAJPtLt9h0zrJxQ=; b=QNDz2RKSeMuAWThmvimsPh2vmWacHx6XUE2TsI7kCJHI0O019xxO0zuomhvkTM8ka3 3xTPI6Qj/9OXVhPbL50bYNKuU//fVQwPVg8Nf6ILyfjn56VOwYXFkYoevQx1Xira36Qa cizujtjmg044igpsTEGWhiGsJ/fyQq/l4somYuXialy1fMwORCCvz0RZpU/1mJGkLIFB S9VvSsBJPlci3ef4RREeG98nsIh2kDGsBUpMwlgjiz9I75ZV4+g1eFhEQjMO6Gh9iFfs yKmeaoEi56BbHjwGQfGRmgGbjQrd0xA6X+r9XIN0+cB/OA1zKsz/VqrrKOz5nZtK7CJ4 J9MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OZtVXEWt; 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 62si359674plc.87.2019.02.13.15.09.36; Wed, 13 Feb 2019 15:09:52 -0800 (PST) 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=OZtVXEWt; 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 S2404514AbfBMRsP (ORCPT + 99 others); Wed, 13 Feb 2019 12:48:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:39872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729082AbfBMRsN (ORCPT ); Wed, 13 Feb 2019 12:48:13 -0500 Received: from localhost (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 F0DD82086C; Wed, 13 Feb 2019 17:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550080093; bh=LoGu4ZFpYnInUrsS0hVTMhsGX33lNGrwKZApfVSsGoQ=; h=To:In-Reply-To:Subject:References:Cc:From:Date:From; b=OZtVXEWthhNHNzk3YJ4HfieZLR7ZZmoreYaYOlnQx/uUCofvgJPajcFKISoAMcv7S w5BWbL8clOEhf8ZmfCbNMAVgF989LF70mDAnjpLCw9cae+Oa1lxOJOhM0BDa734+Rx rzjBTv5rI7vP2V1Wf3geijEcxn5TgA2jx8D/Ol1M= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Alexandre Torgue , Maxime Coquelin , Michael Turquette , gabriel.fernandez@st.com In-Reply-To: <20190212135154.2733-4-gabriel.fernandez@st.com> User-Agent: alot/0.8 Subject: Re: [PATCH 3/7] clk: stm32mp1: set ck_csi as critical clock Message-ID: <155008009213.115909.12905657780692674136@swboyd.mtv.corp.google.com> References: <20190212135154.2733-1-gabriel.fernandez@st.com> <20190212135154.2733-4-gabriel.fernandez@st.com> Cc: linux-clk@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Gabriel Fernandez From: Stephen Boyd Date: Wed, 13 Feb 2019 09:48:12 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting gabriel.fernandez@st.com (2019-02-12 05:51:50) > From: Gabriel Fernandez >=20 > ck_csi is used for IO compensation so it should be > considered as "always-on" and kept on. >=20 > Signed-off-by: Gabriel Fernandez > --- > drivers/clk/clk-stm32mp1.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c > index e72079de83f4..5b30e4eeca2c 100644 > --- a/drivers/clk/clk-stm32mp1.c > +++ b/drivers/clk/clk-stm32mp1.c > @@ -1661,7 +1661,8 @@ static const struct clock_config stm32mp1_clock_cfg= [] =3D { > =20 > /* External / Internal Oscillators */ > GATE_MP1(CK_HSE, "ck_hse", "clk-hse", 0, RCC_OCENSETR, 8, 0), > - GATE_MP1(CK_CSI, "ck_csi", "clk-csi", 0, RCC_OCENSETR, 4, 0), > + GATE_MP1(CK_CSI, "ck_csi", "clk-csi", CLK_IS_CRITICAL, Please add a comment to the code indicating this so we know why critical is here without reading git history.