Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3852676imj; Tue, 12 Feb 2019 05:53:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ82PDWWAgSM2ApEjlrHhk6UsQ+yXQA8X4NvQhmY08l00kE0U/jROTF98iwJmp5tBeeyale X-Received: by 2002:a17:902:2aa8:: with SMTP id j37mr4023447plb.226.1549979588207; Tue, 12 Feb 2019 05:53:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549979588; cv=none; d=google.com; s=arc-20160816; b=h2c2AR7UNMDUgMdzam8hG8A1W4wnrKP/0MF7Npg1YZxVgS8kDaVNqTMwOtr80C6Snj NAdLdUSIz1R0FY82juZ17Q6D/5Ol4Dd6k/byHNs3DOgFWqTCL2U+HSRT/2MDzBQc92fT nNhkgu2MuDzo0DcnIICCcDLOz2DchqXNh6d0gcMEjKXpvn/YmF1gF2aK5/bqrSGEZ2hU 8KwTkrPIMHzxvmV8AGBmTOw6lREjDDkT6vdWflMXUBNq9oUxbh/ACYWloLoQgwqUHc5h lM6WMWvYEhgD1x/601a853JZBnfG4nFDu8soV6Nm9Yp/Oou+avT5UJpqMJkJo5qAgMjm Qivg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=+MMTGyakUxrKAMS/rNVOdSGHfEsEZoI0h/Pz8wjueEI=; b=LWCCQNIIOJSbVUipr3OmKSNINTyov1g3Pb/DUVIVVlc49TVpnNZIvlArMcMMGxwzrY YmF2Rcw04QwE6HtVVJfWg9jPB1MKnv9Y8vgAJBm3lp5PcHIOXNTbcZyq9IlSA1meIr0I tJkpR8jB0JtwN/JQpg1jzgwUKXegnM/IKYlqL+6uBKHU6YxFqpKeFnG/kNhwjHTluFzn b5HMiBVScrXQsZTRPGIlITwx6zhYLi+oGiqqe3Kw+vOQrYfXj3s4Ip3ncK4AHbcgf8UD dGN7CRm8jllqbtKmDdcSwSN5wEV3ZJS6waPIOrqos4Tv7MMOVgV1EgVO/vnDso4eqaBb 2/Ng== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r10si11405275pgv.244.2019.02.12.05.52.51; Tue, 12 Feb 2019 05:53:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730084AbfBLNwV (ORCPT + 99 others); Tue, 12 Feb 2019 08:52:21 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:51887 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730034AbfBLNwQ (ORCPT ); Tue, 12 Feb 2019 08:52:16 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1CDpRQR020425; Tue, 12 Feb 2019 14:52:05 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2qhurj0jda-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 12 Feb 2019 14:52:05 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0D2DC66; Tue, 12 Feb 2019 13:52:03 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag4node2.st.com [10.75.127.11]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 86096512F; Tue, 12 Feb 2019 13:52:03 +0000 (GMT) Received: from localhost (10.75.127.49) by SFHDAG4NODE2.st.com (10.75.127.11) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 12 Feb 2019 14:52:02 +0100 From: To: Michael Turquette , Stephen Boyd , Maxime Coquelin , Alexandre Torgue CC: , , , , Gabriel Fernandez Subject: [PATCH 3/7] clk: stm32mp1: set ck_csi as critical clock Date: Tue, 12 Feb 2019 14:51:50 +0100 Message-ID: <20190212135154.2733-4-gabriel.fernandez@st.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20190212135154.2733-1-gabriel.fernandez@st.com> References: <20190212135154.2733-1-gabriel.fernandez@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG3NODE2.st.com (10.75.127.8) To SFHDAG4NODE2.st.com (10.75.127.11) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-12_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gabriel Fernandez ck_csi is used for IO compensation so it should be considered as "always-on" and kept on. Signed-off-by: Gabriel Fernandez --- drivers/clk/clk-stm32mp1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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[] = { /* 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, + RCC_OCENSETR, 4, 0), GATE_MP1(CK_HSI, "ck_hsi", "clk-hsi-div", 0, RCC_OCENSETR, 0, 0), GATE(CK_LSI, "ck_lsi", "clk-lsi", 0, RCC_RDLSICR, 0, 0), GATE(CK_LSE, "ck_lse", "clk-lse", 0, RCC_BDCR, 0, 0), -- 2.17.0