From patchwork Tue Mar 7 02:22:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 9608039 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9371560414 for ; Tue, 7 Mar 2017 03:30:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81B3A28445 for ; Tue, 7 Mar 2017 03:30:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 764E42832D; Tue, 7 Mar 2017 03:30:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DE452832D for ; Tue, 7 Mar 2017 03:30:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754643AbdCGC5W (ORCPT ); Mon, 6 Mar 2017 21:57:22 -0500 Received: from mout.gmx.net ([212.227.17.20]:49705 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754463AbdCGC4E (ORCPT ); Mon, 6 Mar 2017 21:56:04 -0500 Received: from localhost.localdomain ([88.153.7.12]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MMGWH-1cdd5332D7-00801k; Tue, 07 Mar 2017 03:24:00 +0100 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= To: linux-arm-msm@vger.kernel.org Cc: Bjorn Andersson , Andy Gross , David Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Subject: [PATCH v2 1/2] ARM: dts: msm8974: Hook up adsp-pil's xo clock Date: Tue, 7 Mar 2017 03:22:00 +0100 Message-Id: <20170307022201.24563-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-Provags-ID: V03:K0:OoniX/QxSqvfUL5l+apyBjbgboPGD1Y86dbcBRIXkwCMhZ/Vgnk NAdni0gYUpYt0iQ3LCmFr+DF5v1uVS0itA1ZWRwL6lxFm3omf4IGuIZfFG1c8jtehwoC3S3 QYf3k0/0Osscy61d126fBmckV8vqlwysy7MEnjeHIs2cvJ2MSuv+CpHyKtAaD4sAjpfDka8 pjDj92B7gd5LyXBSjbrug== X-UI-Out-Filterresults: notjunk:1; V01:K0:BOVJeShHqgU=:Xk2qf3Scb7+oUZ0ZYIZukG 46TfxiWvvkErsvDqpWgGtfxAzviXlwCe+2G5tAKApcUVvn2JWgeEdWF4xHxn56rQUJOnteU6O j55rWm8dSjVXN2SXguJJFtN97WQ1CS73ZSRydx1T6wqNxZ4JXUiwtQSxmRZrgFqHDXVUdfJTv SoTbpzbojV954LZZf8ji5vwjqae+vO2PDiDFl5EG0ZWbG9K9+fS6u6NGN36AlbWjX2eT/Csvu q6QMcpvVa2Ax8gXVVI4vyCkqLFlbtftzkShlZL4jMoWHeb9NwaH4cwwD+ybZzZJiSHygfnt+T WnOa+UAJ+0f5ygX564zyTXUrmFEiNPZWE6nwo31H73orZBgFxh+4mOXTWNBdxjPVp9EXvhAcZ AUv9u0Tcj2SHdbbg192oT0gW/K6rxj9yiNiNxCRCWS+Aw/YBl0j8o+pzzhzgfAwVna09bkpfz oxTJm92Q43hytXn+3hUzdbPS4xY04QHFbhynP2aiSdc7cniVAJspHFemVwC5xLGZooyImyq3r Y4djgUF15NDrqk9EjDCuShBaPHAjadZ/3fGOsPlC0uNxA1mPoBo55mokoBnKBb7Vj71UeFxzy hALlMFulemFk4lc2PKTovAjCnDH0x4n+MKtsVl/Q0s39X7GdDZR60QhywHHN3ye0sF/5Yue2y M2RoZjJgiVPXgwmqNyujd/Luec4Le0PGd+W/viYW68GiLpigY0gHHpHJYsBtsSutj2Zag3am8 iR3EJ5ZVUUTcUSoQZ9EXTIDssGjCku04JRjW+XwoDDy0PjlHFqATIlx7CutaiIs5hMNQ7j507 fAFpoMQ Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Without this patch (and with CONFIG_QCOM_ADSP_PIL), I get this error: [ 0.711529] qcom_adsp_pil adsp-pil: failed to get xo clock [ 0.711540] remoteproc remoteproc0: releasing adsp-pil With this patch, adsp-pil can initialize correctly. Signed-off-by: Jonathan Neuschäfer Reviewed-by: Bjorn Andersson --- v2: * Add Bjorn Andersson's R-b --- arch/arm/boot/dts/qcom-msm8974.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index d3e1a61b8671..cccd8cba8872 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -250,6 +250,9 @@ cx-supply = <&pm8841_s2>; + clocks = <&xo_board>; + clock-names = "xo"; + memory-region = <&adsp_region>; qcom,smem-states = <&adsp_smp2p_out 0>;