From patchwork Fri May 13 18:42:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 9092911 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 87E709F1C3 for ; Fri, 13 May 2016 18:43:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A740420251 for ; Fri, 13 May 2016 18:43:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D867F200CF for ; Fri, 13 May 2016 18:43:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b1I3O-0005sL-B2; Fri, 13 May 2016 18:43:14 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b1I3M-0005oq-6S for linux-rockchip@lists.infradead.org; Fri, 13 May 2016 18:43:12 +0000 Received: by mail-pa0-x22c.google.com with SMTP id xk12so43592136pac.0 for ; Fri, 13 May 2016 11:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=Z4f4bSmbbNf95XX1Or8RXTFDC2HWy6hF9ugOaH2gpXI=; b=H2stO6B/LbC6gjU2xo+riyoQYq5JOMf6zag1Ed4Bf/dwbfAx1yaAbeZn4Y72WhTbIU lubgz3/rmY4fzgkVy+t+omPHPY3VwPGsbiF9u0FdD5MBAXUvHnxuYuPg7ZPrYmrClMQh ZVa4AgXdrJxuchIf+LA3itLmCpfMTprZs1RZU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Z4f4bSmbbNf95XX1Or8RXTFDC2HWy6hF9ugOaH2gpXI=; b=TAIjNMHvQg5mXHBbi9guTxl+/H/MPfIwRb51ukh0imBt8Fx9oTVXErgulokeVKszoy 3mb+BzpAzgJDUPEq+S4K5+4ccGhoO4jpJNqL/rNrgaWkNJ8KKOmqWajZ+sBSRAZvLsC1 G7OiwrjbXfD9QDVti6I3EPSnh4W7pSCz1MmaR1Eld3DvHG6EpfxWD1vtSrtgiE2vi+Fa 2y6MMabopNx4NoCIoiqx7KZXlQFRK6vpfE6cXzXjfmHNADDKKVTVZSxDaEoioeuticaJ d4MzWpiuX1ZNzFiG/Dqju6U2E3uXDfvmEsbknZN98rC0wKNClOjO99arOksOVZ+puBh8 76tg== X-Gm-Message-State: AOPr4FWrIeeNT+nyvupJhKsyhZF9KMwj7mqO3HYYRI4qEgOY8WXPdx4JHzsHx2FX/CXh5q48 X-Received: by 10.66.221.167 with SMTP id qf7mr25364946pac.94.1463164971445; Fri, 13 May 2016 11:42:51 -0700 (PDT) Received: from ban.mtv.corp.google.com ([172.22.64.120]) by smtp.gmail.com with ESMTPSA id z9sm29060180pfa.84.2016.05.13.11.42.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 May 2016 11:42:50 -0700 (PDT) From: Brian Norris To: Michael Turquette , Stephen Boyd Subject: [PATCH 1/2] clk: rockchip: mark rk3399 GIC clocks as critical Date: Fri, 13 May 2016 11:42:16 -0700 Message-Id: <1463164937-91089-1-git-send-email-briannorris@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160513_114312_290818_1AA3606A X-CRM114-Status: UNSURE ( 8.02 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Xing Zheng , Brian Norris , linux-kernel@vger.kernel.org, Doug Anderson , linux-rockchip@lists.infradead.org, Brian Norris , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We never want to kill the GIC. Noticed when making other clock fixups, and seeing the newly-constructed clock tree try to disable cpll, where we had this parent structure: aclk_gic <------\ |--- aclk_gic_pre <-- cpll <-- pll_cpll aclk_gic_noc <--/ Signed-off-by: Brian Norris Reviewed-by: Douglas Anderson --- drivers/clk/rockchip/clk-rk3399.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c index 291543f52caa..145756c4f3c8 100644 --- a/drivers/clk/rockchip/clk-rk3399.c +++ b/drivers/clk/rockchip/clk-rk3399.c @@ -1466,6 +1466,8 @@ static struct rockchip_clk_branch rk3399_clk_pmu_branches[] __initdata = { static const char *const rk3399_cru_critical_clocks[] __initconst = { "aclk_cci_pre", + "aclk_gic", + "aclk_gic_noc", "pclk_perilp0", "pclk_perilp0", "hclk_perilp0",