From patchwork Fri Aug 21 18:10:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 7053481 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 AD985C05AC for ; Fri, 21 Aug 2015 18:13:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C191E203F4 for ; Fri, 21 Aug 2015 18:13:30 +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 B645B203F1 for ; Fri, 21 Aug 2015 18:13:29 +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 1ZSqmH-0000v8-VT; Fri, 21 Aug 2015 18:10:57 +0000 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZSqmE-0000tZ-Kl; Fri, 21 Aug 2015 18:10:55 +0000 Received: by wijp15 with SMTP id p15so26151215wij.0; Fri, 21 Aug 2015 11:10:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=/rsXRFQTg9KEXzRzR9izmjMt3cLBndIj0vHNAkDWjXE=; b=Lh6qrFFYeINDiZh3yLTZ/Cq//UTp594SR+sgyK2B3YmTvz8GpLD0ZNFnxy25aS5fSm k+NvCS4hxTmArXvhXgpVnE351QJN11oKd+qZ19fnVK21WD/2mpGhgjwZfz2OTsce5e1q +5Zh8Zlscv2exX2eqG2UI974QohgBAb1N/7F6GyEaYNu8CUJYQK50QKqV0AoIkO8rWrT fZTH3lL20mEV/oPzgpfDFXB6P6HCG+T2gOPTMvz3FREW6kEihCayJ3NRT2dwrucB9KYk m6DyXhr/hefNdv4G+9/gQzkVYdh+1PS7msYz9UwFvpcYUnGst3tj3whe6SIWMN4Uif9E baKQ== X-Received: by 10.180.215.8 with SMTP id oe8mr3555044wic.0.1440180631723; Fri, 21 Aug 2015 11:10:31 -0700 (PDT) Received: from localhost.localdomain (i19-les01-ntr-176-186-2-137.sfr.lns.abo.bbox.fr. [176.186.2.137]) by smtp.gmail.com with ESMTPSA id k2sm3941738wif.4.2015.08.21.11.10.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 21 Aug 2015 11:10:30 -0700 (PDT) From: Romain Perier To: heiko@sntech.de Subject: [PATCH] clk: rockchip: Add pclk_peri to critical clocks on RK3066/RK3188 Date: Fri, 21 Aug 2015 18:10:27 +0000 Message-Id: <1440180627-4566-1-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150821_111054_826168_2D5D4007 X-CRM114-Status: UNSURE ( 9.26 ) 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: linux-rockchip@lists.infradead.org, mturquette@baylibre.com, 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=-4.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 Clocks for bank GPIO3 and GPIO4 are supplied by pclk_peri. These clocks need to stay on, otherwise pinctrl hangs the system when the driver is probed. Signed-off-by: Romain Perier Tested-by: Michael Niewoehner --- drivers/clk/rockchip/clk-rk3188.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c index f63a642..596be81 100644 --- a/drivers/clk/rockchip/clk-rk3188.c +++ b/drivers/clk/rockchip/clk-rk3188.c @@ -717,6 +717,7 @@ static const char *const rk3188_critical_clocks[] __initconst = { "aclk_peri", "hclk_peri", "pclk_cpu", + "pclk_peri", }; static void __init rk3188_common_clk_init(struct device_node *np)