From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760899AbdAKB0w (ORCPT ); Tue, 10 Jan 2017 20:26:52 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:36189 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754822AbdAKB0t (ORCPT ); Tue, 10 Jan 2017 20:26:49 -0500 From: Jacob Chen To: heiko@sntech.de, mturquette@baylibre.com, sboyd@codeaurora.org Cc: linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, zhangqing@rock-chips.com, zhengxing@rock-chips.com, Jacob Chen Subject: [PATCH] clk: rockchip: rk3288: make aclk_vio1_niu a critical clock Date: Wed, 11 Jan 2017 09:26:32 +0800 Message-Id: <1484097992-9118-1-git-send-email-jacob-chen@iotwrt.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org According to the pd blocks, VIO1_NIU is required by RGA,ISP and VOP1. Then at least one VIO_NIU should be turned on to supply eDP, HDMI, MIPI. If eDP,HDMI,MIPI is inited early than VOP or RGA is inited early than VOP1, system will hang. So make aclk_vio1_niu a critical clock and turn it on at all times. Signed-off-by: Jacob Chen --- drivers/clk/rockchip/clk-rk3288.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c index f071c24..59ee244 100644 --- a/drivers/clk/rockchip/clk-rk3288.c +++ b/drivers/clk/rockchip/clk-rk3288.c @@ -815,6 +815,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = { static const char *const rk3288_critical_clocks[] __initconst = { "aclk_cpu", "aclk_peri", + "aclk_vio1_niu", "hclk_peri", "pclk_pd_pmu", }; -- 2.7.4