From patchwork Fri Nov 30 06:52:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 10705813 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CEF3214BD for ; Fri, 30 Nov 2018 06:55:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5EBDE2F9BF for ; Fri, 30 Nov 2018 06:55:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 531062F9E2; Fri, 30 Nov 2018 06:55:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04DF92F9CA for ; Fri, 30 Nov 2018 06:55:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726870AbeK3SD1 (ORCPT ); Fri, 30 Nov 2018 13:03:27 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:44268 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726562AbeK3SD1 (ORCPT ); Fri, 30 Nov 2018 13:03:27 -0500 Received: by mail-pl1-f194.google.com with SMTP id k8so2315422pls.11 for ; Thu, 29 Nov 2018 22:55:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1lXBBwv4NN4mvT7Dldl1R3q9BjiaWJWe4/PYWu6QmEk=; b=XcFTj9hapUZivbByBp+FD7jxmeWfRUAMp/ToZLCmLbXsJPLjUwyfDdfyJlmCoCIGe7 jCHgNGeDW1IJCIRBcBeNFML0CuT565zOIFrYFkElH3VvZfzbsgTx8d2ySyqwLjDeENXv +Dmkg2sCRQu9dKaPbRxjMy+rrvktsYAX/uHTM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1lXBBwv4NN4mvT7Dldl1R3q9BjiaWJWe4/PYWu6QmEk=; b=UGqoU4XqW+RZU3c37bHtnQriaDxnLW2sPiv3fL3752GhtlkX3pC2JTp1X76b7ahMDS Uo1ytMDE5zAl7rChbf9sbG/zhJAsXT/2FeRV/4ahfRJsy9/NFzXOYgZkYJyAOcdJpWyQ C6yVBmnTlQhUUNcP+Fq4JieubTFWnTKD6tCc+IWCVjWHukeZ1Ii9yq/g2KfdvQxSnC3k x31jubQgSx1QBOfuerkwRoUJuSAZ33JSGj6QpvnU/VgGYDNjTA5WfYe6yCdWG2XC4BWs EXARE3GH0AzMoqfzgm+/Cc2ScnBU5i38EiutqaPN94Dn6WH+G/AReoel9zfmgYd97eLa pESA== X-Gm-Message-State: AA+aEWb8d2mBqPg2DWw67ZkV95fbSdo0PBhFwrFsxWu/J4CH13OP1Gt4 5VVync2VVJBAcGD8U021x6ug8g== X-Google-Smtp-Source: AFSGD/V6yf51aBNRvFwAD3eXu8Hi4sjLSQbmwk3E6S9VakVMCjoah/o77ItVlMgQwQYNtaagQy9e+Q== X-Received: by 2002:a17:902:e18c:: with SMTP id cd12mr4270754plb.279.1543560909910; Thu, 29 Nov 2018 22:55:09 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id w128sm5859175pfw.79.2018.11.29.22.55.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 22:55:09 -0800 (PST) From: Bjorn Andersson To: Michael Turquette , Stephen Boyd Cc: Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Marc Gonzalez , Amit Kucheria Subject: [PATCH 1/3] clk: qcom: gcc-msm8998: Mark hmss_dvm and lpass_at critical Date: Thu, 29 Nov 2018 22:52:57 -0800 Message-Id: <20181130065259.26497-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181130065259.26497-1-bjorn.andersson@linaro.org> References: <20181130065259.26497-1-bjorn.andersson@linaro.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Keep the two clocks enabled, so that the platform passes clk_disable_unused(). Signed-off-by: Bjorn Andersson --- drivers/clk/qcom/gcc-msm8998.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm8998.c index 9f0ae403d5f5..d89f8e7c2a59 100644 --- a/drivers/clk/qcom/gcc-msm8998.c +++ b/drivers/clk/qcom/gcc-msm8998.c @@ -1972,6 +1972,7 @@ static struct clk_branch gcc_hmss_dvm_bus_clk = { .enable_mask = BIT(0), .hw.init = &(struct clk_init_data){ .name = "gcc_hmss_dvm_bus_clk", + .flags = CLK_IS_CRITICAL, .ops = &clk_branch2_ops, }, }, @@ -2015,6 +2016,7 @@ static struct clk_branch gcc_lpass_at_clk = { .enable_mask = BIT(0), .hw.init = &(struct clk_init_data){ .name = "gcc_lpass_at_clk", + .flags = CLK_IS_CRITICAL, .ops = &clk_branch2_ops, }, },