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: 9092971 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C99ECBF29F for ; Fri, 13 May 2016 18:44:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 066992013A for ; Fri, 13 May 2016 18:44:43 +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 396D620125 for ; Fri, 13 May 2016 18:44:42 +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 1b1I3P-0005sS-Dl; Fri, 13 May 2016 18:43:15 +0000 Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b1I3M-0005or-6Y for linux-arm-kernel@lists.infradead.org; Fri, 13 May 2016 18:43:12 +0000 Received: by mail-pa0-x229.google.com with SMTP id qo8so503721pab.1 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=kbzLRmjMO7eMOBh1LQa9NVSaBOeQVS7iXbsMEvcSfNjbJxOyHknfx7TDE7RvRmyopi rnUnlbk4UIvPYqj7cIEv2w7s/n/F1YJ1RmtUtppk47EYyay5MTmaY6ECv6tHiNlgOm35 eWZqHHLaI0Is10wSiFlFTIRifoUWylGAULf744FpJJlNMMT40GcaQqcItrXxT5QckyaW lG5vqhReLOGbCwaabnpuAeHOu0GFK3NqQSS5GxJ0NiYWv10z69sFxsK1gZln8Z3j+CZP jJW6RUU141KtrBH5AG06fXYgTXhA/CaKskVI0uKCH74sn2KNFVt+vMdD94EpmT5JEsi7 neVw== X-Gm-Message-State: AOPr4FWtIsKfo24p98iFjDxUXeY6uGa4OGKeAaSQIrAhVGmIg1R5g0/zn0/5KYW+3AYQu0tb 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_290872_AC9E23AB X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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=unavailable 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",