From patchwork Thu Dec 4 10:47:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5437331 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 89A2E9F319 for ; Thu, 4 Dec 2014 10:50:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CBFC02035C for ; Thu, 4 Dec 2014 10:50:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D83AD201CE for ; Thu, 4 Dec 2014 10:50:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753740AbaLDKuO (ORCPT ); Thu, 4 Dec 2014 05:50:14 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:64281 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753172AbaLDKth (ORCPT ); Thu, 4 Dec 2014 05:49:37 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NG200J4S0V6MM90@mailout4.w1.samsung.com>; Thu, 04 Dec 2014 10:52:18 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-51-54803c3e6d6f Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 4B.41.07834.E3C30845; Thu, 04 Dec 2014 10:49:34 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NG200AKX0QGVD40@eusync3.samsung.com>; Thu, 04 Dec 2014 10:49:34 +0000 (GMT) From: Krzysztof Kozlowski To: Mike Turquette , Sylwester Nawrocki , Tomasz Figa , Kukjin Kim , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Javier Martinez Canillas , Linus Walleij , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, Vivek Gautam , Kevin Hilman Cc: Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski Subject: [PATCH v3 3/3] ARM: dts: exynos5420: Add clock for audss pinctrl (fixing GPIO setup failure) Date: Thu, 04 Dec 2014 11:47:55 +0100 Message-id: <1417690075-13483-4-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1417690075-13483-1-git-send-email-k.kozlowski@samsung.com> References: <1417690075-13483-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPLMWRmVeSWpSXmKPExsVy+t/xq7p2Ng0hBh0bWSw2zljPajH/yDlW i7YrB9ktjv4usHj9wtCi//FrZounmx8zWZxtesNuMeXPciaLTY+vsVpsnv+H0eLyrjlsFjPO 72OyWHvkLrvF0wkX2SwOv2lntVi16w+jg6DH3+fXWTx2zrrL7rFpVSebx51re9g8Ni+p9+jb sorR4/MmuQD2KC6blNSczLLUIn27BK6MkwfVC36yV5x5sZm1gfE4WxcjJ4eEgInElge/mCBs MYkL99aDxYUEljJKTJou3cXIBWT3MUn0vOthBUmwCRhLbF6+hA0kISLwh1ni/sSvzCAOs8BR RonpvW/BRgkLpEt0vd/CDGKzCKhKvP7dxQhi8wq4S0x+O5UZYp2cxMljk8Gmcgp4SPz7dZEF YrW7xLdle9gmMPIuYGRYxSiaWppcUJyUnmuoV5yYW1yal66XnJ+7iRESyF92MC4+ZnWIUYCD UYmHd8HT+hAh1sSy4srcQ4wSHMxKIryMf4FCvCmJlVWpRfnxRaU5qcWHGJk4OKUaGHsC1+lM fLTO2KF3R+Un7YWmBgY31Sr+336qvt7KJ9oz/fMxjQ0vX4sV3XXt+8fgp/DwvaH+LKuDJdvE JqhPPeTiH/51k8uSQOYWnVbmetWkEyVlPGoC+xf01VtumFgdWHjhVw2D2QzuDzGaF29pKC07 f8SuoGOJcmnLT+7p5X5Ryi8k53pPVGIpzkg01GIuKk4EADkyOfdCAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, 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 The pinctrl for audio subsystem needs 'mau_epll' clock to be enabled in order to properly access memory during GPIO setup. After introducing runtime PM to pl330 DMA driver the 'mau_epll' was gated, because the "amba" clock was disabled and there were no more users of mau_epll. This lead to system hang just before probing i2s0 because samsung_pinmux_setup() tried to access memory from audss block which was gated. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5420-pinctrl.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi index ba686e40eac7..c0ca0da36ade 100644 --- a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi +++ b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi @@ -696,6 +696,9 @@ }; pinctrl@03860000 { + clocks = <&clock CLK_MAU_EPLL>; + clock-names = "block"; + gpz: gpz { gpio-controller; #gpio-cells = <2>;