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: 9092881 X-Patchwork-Delegate: sboyd@codeaurora.org Return-Path: X-Original-To: patchwork-linux-clk@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 5CBCA9F1C3 for ; Fri, 13 May 2016 18:42:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 73C9220251 for ; Fri, 13 May 2016 18:42:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8EC3D200CF for ; Fri, 13 May 2016 18:42:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752930AbcEMSmx (ORCPT ); Fri, 13 May 2016 14:42:53 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:35966 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752710AbcEMSmw (ORCPT ); Fri, 13 May 2016 14:42:52 -0400 Received: by mail-pa0-f53.google.com with SMTP id bt5so42919427pac.3 for ; Fri, 13 May 2016 11:42:52 -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=UTSkm5srFkAKvbEEyg3Skf0QGPBFlJ3cOjlEGgvXtARqUWDIrGWRb5wnm3NPto6+MO CH3Mi3nCV+qvRQHXhw0QHc6Pwa3c0bl3OF9hWs1F0iOEcPKiI1ZzsbJaMHx0MC4Zk4Aj Ui+EjIjMVlhyZquW9348LW2Etpdhn/8ajzL6wRObrB6qgIr5ca4m+KaLRvJPUVEl8YlN wdPZG6EY6GCiDQrFHhnrMPHxBNg1qwC5z2+Ebi0px9TfDPwjKyJ2CfSYjK70Eyewe1ID 45XT+JbQyTdvgC5FpcGIblLqAlClBNW/gtteeIAkC3KPUByeLYt3RXahxErXPq8jK2KE cyJg== X-Gm-Message-State: AOPr4FUW1W9/W+o8ZHVexi6M1zDik2D7TkADBAtPE5LR35FxpxNmzrqWhtAHJRhmgeM+5wKG 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 Cc: linux-clk@vger.kernel.org, Heiko Stuebner , , , , Doug Anderson , Brian Norris , Xing Zheng , Brian Norris 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 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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",