Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3403994imu; Thu, 29 Nov 2018 22:56:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/WPRhLoz5342v7AudA5A7yBezAfukP1YTx/n0xQ5SWfvNpMngbAx0tT2D4r/Z4VN0Ot/MdI X-Received: by 2002:a17:902:3281:: with SMTP id z1mr4646408plb.296.1543560960187; Thu, 29 Nov 2018 22:56:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543560960; cv=none; d=google.com; s=arc-20160816; b=CqPD69Lm1EY23Ky2Cw/UFYbWGnFfo8TIx4QDkM9ZPPd+GrC9MN5Oo8y7G1TIiFJN2P x5/2AvCfAOE4P//srjSeU3F7g0kzyi30czG32cMOPh8RS1Y34di4odufBFCbRJMwoIgg 2N5QZxM+GsO+e0v+NcgqVvJYGVisy7nRKNTvo6swfQdX+TN8Jmy4Kiujpy0r3dc9YkPH YpcB6pnaqmXnrYb2BjzVGIkfHYsO1GD5uT9IPUoDCcmWmPSwXxKNyT7SuBPce9jEu/cG 73s2ttXdNiYgdjnlD9HjloxJ7VDttDIWLBzCtjWoOBoddAjBigOfgE7hmabPTPnzrn1/ SCbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=1lXBBwv4NN4mvT7Dldl1R3q9BjiaWJWe4/PYWu6QmEk=; b=1Gdakf5oArcskQ8q4eoMvHHrqDCATMCy9CpzPmRQTqf1qSsYSGlb1X+wD1y/RSgq1G 2i3DxX/xMEx+M460aYJ2Xctd0igSjOymJkoqsNmOwW0CIZtC0EsxPCLYmieCmtqk50Lm MeSENifwZENV4DYD46lhHkvBkq5PmDcEvOUehj9HMQeUkcSeyU0VP9n2hFai06HRqCwq 7KXQRwvTIgceoJDKnhgtbea52WQQ05yAkTJq3g4tcjuGJat+CWCrzsyJwfz+EGu8Jy7u xHepp1F5ytFJgLK2O1m2jEK2g7jMBl5DvnMOpjRWVrgOcnXQBUlCzcz+TZRBYPES1gru V/Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XcFTj9ha; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1-v6si4481252plb.153.2018.11.29.22.55.45; Thu, 29 Nov 2018 22:56:00 -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=@linaro.org header.s=google header.b=XcFTj9ha; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726930AbeK3SD1 (ORCPT + 99 others); Fri, 30 Nov 2018 13:03:27 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:36878 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeK3SD1 (ORCPT ); Fri, 30 Nov 2018 13:03:27 -0500 Received: by mail-pl1-f195.google.com with SMTP id b5so2332757plr.4 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=LSnQhFMmr7APFg3kMkHm2yMSM1z4c0ZZzx/KBNAxapXLFq973U6KyPsdG9ODbBt1Ry FgTC3iDU2zCv5xRfto2a5JokbiKeErvWlOlI2ysCZdYTYh2dq3sBqaOBK9cS+9th8QBe qVbpwUE8jNWI/m3+sKbCB7D1oottdnss+TAM6zxUsFBDTu/IyM/NA4q0CFjBmnDb0Zv9 emoSSEGAGLDAZ73cHz1DYsazdOT7UpLl0Yku5VJQZbZnlEYy6adOYsVQLvovogwEaIkE RPmKP9uAZe7S+gA3U/D3SuoRX6NKMqgxICnm3qSoQbJ3m26gCF2g00fdZv+iZ0tb7Hkt jPvA== X-Gm-Message-State: AA+aEWbxUzZvQhOhsspqmerHPCjYTJduoyNdJJ6TcOgONgtC9+OF/jDR ketimwA20wU4ww5MQ5XuJWSqzw== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, }, }, -- 2.18.0