From patchwork Wed Dec 26 12:52:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10743013 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4168A13A4 for ; Wed, 26 Dec 2018 12:52:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 22DE728885 for ; Wed, 26 Dec 2018 12:52:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 159922888B; Wed, 26 Dec 2018 12:52:53 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 EFD0528885 for ; Wed, 26 Dec 2018 12:52:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726713AbeLZMwv (ORCPT ); Wed, 26 Dec 2018 07:52:51 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:40122 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbeLZMwu (ORCPT ); Wed, 26 Dec 2018 07:52:50 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 207AF6037C; Wed, 26 Dec 2018 12:52:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828770; bh=9ZX127KRAPMnkAQirZ9Ho0EcLGtWDK8iOWK1RytxACA=; h=From:To:Cc:Subject:Date:From; b=AlcxvR1GwqVEYYiWGPCL0GrY+xoHXuGlbBH/1T5I5PltG0s1xcy94zOaZBAW4203q Srukg2UWt1oBCgxLHT3wOsYWV6AroelrkwGr+1dazboUlYicZxTK2uBwTJQtiDmbYk iPSOuWYUVjmO5RnDe2/CysaVizM/eEnrCFvxKaW8= Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 647A36037C; Wed, 26 Dec 2018 12:52:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828769; bh=9ZX127KRAPMnkAQirZ9Ho0EcLGtWDK8iOWK1RytxACA=; h=From:To:Cc:Subject:Date:From; b=MNoM/9OLq+udnwy8sW6SqtfW8eUxPgWhSj+cvkwR6wx/NSyqgi9rCiz9ckDBo5Tmd ZZI/sDnNhuIrmEyIvTkzbwjF5VMzCbo5kPQwOcNuwnJ1QjevybFDf/772yW3PlmsbE H+o815Ti2vo+vk2wYVblr8khwI+pfEJngIy9bTkk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 647A36037C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, andy.gross@linaro.org, david.brown@linaro.org, dianders@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, tsoni@codeaurora.org, clew@codeaurora.org, akdwived@codeaurora.org, mark.rutland@arm.com, linux-remoteproc@vger.kernel.org, evgreen@chromium.org, briannorris@chromium.org, sricharan@codeaurora.org, Sibi Sankar Subject: [PATCH v3 1/8] dt-bindings: soc: qcom: Add remote-pid binding for GLINK SMEM Date: Wed, 26 Dec 2018 18:22:22 +0530 Message-Id: <20181226125229.20149-1-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 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 Add missing qcom,remote-pid dt binding required for GLINK SMEM which specifies the remote endpoint of the GLINK edge. Fixes: 2b41d6c8e696 ("dt-bindings: soc: qcom: Extend GLINK to cover SMEM") Signed-off-by: Sibi Sankar Reviewed-by: Doug Anderson Reviewed-by: Rob Herring --- v3: * Fixed typo Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt index 0b8cc533ca83..587bb1ddc8cc 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt @@ -21,6 +21,11 @@ edge. Definition: should specify the IRQ used by the remote processor to signal this processor about communication related events +- qcom,remote-pid: + Usage: required for glink-smem + Value type: + Definition: specifies the identifier of the remote endpoint of this edge + - qcom,rpm-msg-ram: Usage: required for glink-rpm Value type: From patchwork Wed Dec 26 12:52:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10743017 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 867E9746 for ; Wed, 26 Dec 2018 12:53:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7366C28893 for ; Wed, 26 Dec 2018 12:53:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64AB428898; Wed, 26 Dec 2018 12:53:08 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 095E928885 for ; Wed, 26 Dec 2018 12:53:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726809AbeLZMw5 (ORCPT ); Wed, 26 Dec 2018 07:52:57 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:40320 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbeLZMw4 (ORCPT ); Wed, 26 Dec 2018 07:52:56 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 81F84606AC; Wed, 26 Dec 2018 12:52:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828775; bh=e1PRNBaeJZhC46aDr5VqcC4cmN87BuuloFWFWpL3Lec=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WnQWKHKt0kRBtvFgT27bPdYsJUIEfEyAJrCXF64ai2u36/oFVk+8fLEg4DP9Fkwqm q5Ixk6Z+6Wq68j4JMzf3hYEZwq6j7rYTUEojGgG8dXMSfJPsibihNx7Scloao+5F4E 8bNmTutpjxdiNSVlM3nz8Zy64X0Lz5NgsUnJpMiQ= Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id E7F09606AC; Wed, 26 Dec 2018 12:52:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828774; bh=e1PRNBaeJZhC46aDr5VqcC4cmN87BuuloFWFWpL3Lec=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NxgAaRnLOK5zr3bqxjMIJ2rUmHR80EzPTrHIY9vYAqeplxwy7yyI6oQHWYfX97Z7P wHTcWxGQvY5clLkXKVDoOFHSC8HZCbmxQMlATqAeUbtsD9MfTcqr43ENmGNQ83ZBLM HqNimWSGM9SHzRVJrsXMHY0QDAIu/2Xa3jNHl9nc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E7F09606AC Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, andy.gross@linaro.org, david.brown@linaro.org, dianders@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, tsoni@codeaurora.org, clew@codeaurora.org, akdwived@codeaurora.org, mark.rutland@arm.com, linux-remoteproc@vger.kernel.org, evgreen@chromium.org, briannorris@chromium.org, sricharan@codeaurora.org, Sibi Sankar Subject: [PATCH v3 2/8] dt-bindings: remoteproc: qcom: Add missing clocks for SDM845 Date: Wed, 26 Dec 2018 18:22:23 +0530 Message-Id: <20181226125229.20149-2-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181226125229.20149-1-sibis@codeaurora.org> References: <20181226125229.20149-1-sibis@codeaurora.org> MIME-Version: 1.0 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 Add missing clock bindings for Q6V5 MSS on SDM845 SoCs. Fixes: fb22022ff63d ("dt-bindings: remoteproc: Add Q6v5 Modem PIL binding for SDM845") Signed-off-by: Sibi Sankar --- v3: * Fixup dt-binding documentation as suggested by Doug .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt index 9ff5b0309417..20dd19f9ed99 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt @@ -39,13 +39,21 @@ on the Qualcomm Hexagon core. - clocks: Usage: required Value type: - Definition: reference to the iface, bus and mem clocks to be held on - behalf of the booting of the Hexagon core + Definition: reference to the clocks that match clock-names - clock-names: Usage: required Value type: - Definition: must be "iface", "bus", "mem" + Definition: The clocks needed depend on the compatible string: + qcom,ipq8074-wcss-pil: + no clock names required + qcom,q6v5-pil: + qcom,msm8916-mss-pil: + qcom,msm8974-mss-pil: + must be "iface", "bus", "mem", "xo" + qcom,sdm845-mss-pil: + must be "xo", "prng", "iface", "bus", "mem", "gpll0_mss", + "snoc_axi", "mnoc_axi" - resets: Usage: required From patchwork Wed Dec 26 12:52:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10743023 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DA79A1803 for ; Wed, 26 Dec 2018 12:53:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9FA228885 for ; Wed, 26 Dec 2018 12:53:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B568928898; Wed, 26 Dec 2018 12:53:08 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 6A89828885 for ; Wed, 26 Dec 2018 12:53:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726828AbeLZMxC (ORCPT ); Wed, 26 Dec 2018 07:53:02 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:40442 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbeLZMxC (ORCPT ); Wed, 26 Dec 2018 07:53:02 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1D8036071B; Wed, 26 Dec 2018 12:53:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828781; bh=v2Z376j5jNNFln58Dza5jU2IZNk28hyHiE15Ma52CSc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=noVPm+8rM164tHJGwBjzwKVWgI1VIhQNZiX1yr1ZK8DpNDT8hXhd8YuojVDkTGouj /qj0oRxef/xE09nbYPC2IxGMPGJIL047SI08hOdGDzPMaJ/bUQDmsSY2svdWpTXaMt /ZbMY9POw39eXo2IBcwhYPHkWQzADclKsmCLOyKo= Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 739BC60866; Wed, 26 Dec 2018 12:52:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828780; bh=v2Z376j5jNNFln58Dza5jU2IZNk28hyHiE15Ma52CSc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U8KYahmrjPZFLcaSbiozBNNY9v/2BHmt8yF2syBV/gtlH4DK+VNztf4+hjImSnbjn ibMrwib43OdyzUcil5rQyLJ9xdKTpXPvyFPiediIk5Q/WPo0laCyf4yUKoP7WnDeRM +YXFcmdJJ4yvn2XLPSLZPcIvnuInHggu9EJAHIgc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 739BC60866 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, andy.gross@linaro.org, david.brown@linaro.org, dianders@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, tsoni@codeaurora.org, clew@codeaurora.org, akdwived@codeaurora.org, mark.rutland@arm.com, linux-remoteproc@vger.kernel.org, evgreen@chromium.org, briannorris@chromium.org, sricharan@codeaurora.org, Sibi Sankar Subject: [PATCH v3 3/8] dt-bindings: remoteproc: qcom: Add missing clocks for MSM8996 Date: Wed, 26 Dec 2018 18:22:24 +0530 Message-Id: <20181226125229.20149-3-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181226125229.20149-1-sibis@codeaurora.org> References: <20181226125229.20149-1-sibis@codeaurora.org> MIME-Version: 1.0 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 Add missing clock bindings for Q6V5 MSS on MSM8996 SoCs. Fixes: 9f058fa2efb1 ("remoteproc: qcom: Add support for mss remoteproc on msm8996") Signed-off-by: Sibi Sankar --- v3: * Fixup dt-binding documentation as suggested by Doug Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt index 20dd19f9ed99..af8788783e2b 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt @@ -51,6 +51,9 @@ on the Qualcomm Hexagon core. qcom,msm8916-mss-pil: qcom,msm8974-mss-pil: must be "iface", "bus", "mem", "xo" + qcom,msm8996-mss-pil: + must be "xo", "pnoc", "qdss", "iface", "bus", "mem", + "gpll0_mss_clk", "snoc_axi", "mnoc_axi" qcom,sdm845-mss-pil: must be "xo", "prng", "iface", "bus", "mem", "gpll0_mss", "snoc_axi", "mnoc_axi" From patchwork Wed Dec 26 12:52:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10743027 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 07C0813BF for ; Wed, 26 Dec 2018 12:53:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8EE328885 for ; Wed, 26 Dec 2018 12:53:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DBF242888A; Wed, 26 Dec 2018 12:53:09 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 939182888A for ; Wed, 26 Dec 2018 12:53:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726863AbeLZMxI (ORCPT ); Wed, 26 Dec 2018 07:53:08 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:40662 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbeLZMxH (ORCPT ); Wed, 26 Dec 2018 07:53:07 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9D8806086A; Wed, 26 Dec 2018 12:53:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828786; bh=1mZ72arEKaqVzAN3IMBbKENt28j7g662fNIfi7TjRBA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gySDj7wzswNWVJ1CEQWLxNeaIPIGLtQvHkagmIm0Z8H/NHAwXYusyhFcQFzI42Nd6 4ED4mPiOqm09PNWAPGrcUeQ6HimMRWTMF8dWb9s77zy75YBN6meSG1da8GsUGjbWiV 12BrFC/8IgPIYribf5Xem5JbFhqonMjxR4sjV3aw= Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id F32B66043F; Wed, 26 Dec 2018 12:53:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828785; bh=1mZ72arEKaqVzAN3IMBbKENt28j7g662fNIfi7TjRBA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IgSRADb9+BogW3B5ZUY1okbkgKYCdTjynXDQ4DVpFWLpRQDH9ob3i5JnM1ojYXgwX VL0hcy998IRHvEfr1jow2gEd+w9CZOrBxIRHAlPh1DkQtQkfANaV+Mkj4fjJtsfJXe tscm4G/2q05Suv0ZMC4Q1975SinVZk6Gnhg65KlU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org F32B66043F Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, andy.gross@linaro.org, david.brown@linaro.org, dianders@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, tsoni@codeaurora.org, clew@codeaurora.org, akdwived@codeaurora.org, mark.rutland@arm.com, linux-remoteproc@vger.kernel.org, evgreen@chromium.org, briannorris@chromium.org, sricharan@codeaurora.org, Sibi Sankar Subject: [PATCH v3 4/8] remoteproc: qcom: q6v5-mss: Add missing clocks for MSM8996 Date: Wed, 26 Dec 2018 18:22:25 +0530 Message-Id: <20181226125229.20149-4-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181226125229.20149-1-sibis@codeaurora.org> References: <20181226125229.20149-1-sibis@codeaurora.org> MIME-Version: 1.0 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 Proxy vote for QDSS clock and remove vote on handover interrupt to provide MSS PBL with access to STM hardware registers during boot. Add "snoc_axi" and "mnoc_axi" to the active clock list. Fixes: 9f058fa2efb1 ("remoteproc: qcom: Add support for mss remoteproc on msm8996") Signed-off-by: Sibi Sankar --- drivers/remoteproc/qcom_q6v5_mss.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index 01be7314e176..2f12901dd1a7 100644 --- a/drivers/remoteproc/qcom_q6v5_mss.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -1398,6 +1398,7 @@ static const struct rproc_hexagon_res msm8996_mss = { .proxy_clk_names = (char*[]){ "xo", "pnoc", + "qdss", NULL }, .active_clk_names = (char*[]){ @@ -1405,6 +1406,8 @@ static const struct rproc_hexagon_res msm8996_mss = { "bus", "mem", "gpll0_mss_clk", + "snoc_axi", + "mnoc_axi", NULL }, .need_mem_protection = true, From patchwork Wed Dec 26 12:52:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10743029 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3A99B746 for ; Wed, 26 Dec 2018 12:53:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28CCD28885 for ; Wed, 26 Dec 2018 12:53:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D47B28893; Wed, 26 Dec 2018 12:53:20 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 AA58428885 for ; Wed, 26 Dec 2018 12:53:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726885AbeLZMxO (ORCPT ); Wed, 26 Dec 2018 07:53:14 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:40888 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbeLZMxN (ORCPT ); Wed, 26 Dec 2018 07:53:13 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A7F8C6095F; Wed, 26 Dec 2018 12:53:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828792; bh=cLG1ZimMYHpTKMCrox7Z4fjGdOa82Ors1l1PLl31pLY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JG/UYYxfB5C3DvZWzWsYOOTy9P+z90sXCrVSBj+mdoKZDGRkDoBfAxmtOA53j5v3I gVZL/Z5/meFOIhwGzzr3ugfh073NLSmRTI6eDKF5N5gDdmKbsIUCcNrDR/Jq3mBCVV bfcvmgphCLomvqa8+GNXKc10Yha1ghn1vs+Voxmk= Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 826F860918; Wed, 26 Dec 2018 12:53:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828791; bh=cLG1ZimMYHpTKMCrox7Z4fjGdOa82Ors1l1PLl31pLY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FB5QhZ3bhWasf6KGsF3jqrmtYWVS3S0J1s3z7xz3CD5LV4cN7NfoRRwfAd5uCcTgV bP11ZXZyNY7Qp1oOUDx4YDzN3q+jUo6zqR9HxSf+wfGjoUM+fQkmsXfdptKPJioGRG 3d3XYzvAeGgehRnDqHnWZELngO41p6Rodd/G2MH8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 826F860918 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, andy.gross@linaro.org, david.brown@linaro.org, dianders@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, tsoni@codeaurora.org, clew@codeaurora.org, akdwived@codeaurora.org, mark.rutland@arm.com, linux-remoteproc@vger.kernel.org, evgreen@chromium.org, briannorris@chromium.org, sricharan@codeaurora.org, Sibi Sankar Subject: [PATCH v3 5/8] dt-bindings: remoteproc: qcom: Fixup regulator dependencies Date: Wed, 26 Dec 2018 18:22:26 +0530 Message-Id: <20181226125229.20149-5-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181226125229.20149-1-sibis@codeaurora.org> References: <20181226125229.20149-1-sibis@codeaurora.org> MIME-Version: 1.0 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 Fixup regulator supply dependencies for Q6V5 MSS on MSM996 SoCs. Fixes: 9f058fa2efb1 ("remoteproc: qcom: Add support for mss remoteproc on msm8996") Signed-off-by: Sibi Sankar Reviewed-by: Rob Herring --- v3: * Fixup dt-binding documentation as suggested by Doug .../bindings/remoteproc/qcom,q6v5.txt | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt index af8788783e2b..65713de70be5 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt @@ -76,6 +76,19 @@ on the Qualcomm Hexagon core. must be "mss_restart", "pdc_reset" for the modem sub-system on SDM845 SoCs +For the compatible strings below the following supplies are required: + "qcom,q6v5-pil" + "qcom,msm8916-mss-pil", +- cx-supply: +- mx-supply: +- pll-supply: + Usage: required + Value type: + Definition: reference to the regulators to be held on behalf of the + booting of the Hexagon core + +For the compatible string below the following supplies are required: + "qcom,msm8974-mss-pil" - cx-supply: - mss-supply: - mx-supply: @@ -85,6 +98,14 @@ on the Qualcomm Hexagon core. Definition: reference to the regulators to be held on behalf of the booting of the Hexagon core +For the compatible string below the following supplies are required: + "qcom,msm8996-mss-pil" +- pll-supply: + Usage: required + Value type: + Definition: reference to the regulators to be held on behalf of the + booting of the Hexagon core + - qcom,smem-states: Usage: required Value type: From patchwork Wed Dec 26 12:52:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10743033 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C5624746 for ; Wed, 26 Dec 2018 12:53:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B42BC28885 for ; Wed, 26 Dec 2018 12:53:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A78C628893; Wed, 26 Dec 2018 12:53:22 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 4266428885 for ; Wed, 26 Dec 2018 12:53:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726919AbeLZMxV (ORCPT ); Wed, 26 Dec 2018 07:53:21 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:41064 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbeLZMxV (ORCPT ); Wed, 26 Dec 2018 07:53:21 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3383E6085C; Wed, 26 Dec 2018 12:53:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828800; bh=m2harrAruvoIwJgyWOU2j61qrypAn4/Kl22r5YLZg7I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jxzcuE17OC7iS0+SFxVqfe4LI6LrQ7n32CwHPPcAjTwtYvXDUDtjQ2mBau6e6xMvL r9PQkK2nPRSvD3gMyvjzUv82MU8Cmg48cCFcKNpClk46QKz+SYcx4L4VuhXKYNjH8b AtQ8AoBkL9uEQAeugtOamvHMaTaHf3Et97kbzJ+c= Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 186DC6085C; Wed, 26 Dec 2018 12:53:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828797; bh=m2harrAruvoIwJgyWOU2j61qrypAn4/Kl22r5YLZg7I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=anrFwJtDHGybr44iR23oBaKPKKr7rdvAyPJQ0+wrAJyfSrCJ+YCinr7ferKEsYmme AL2awa3Zm76Lw9Bk4BC8RvMS8GJtLOzBRJcUbtsO4uGP0kWf9FazxL04L/7UTyxNSf GXfKoW0H1U38faYwUPTxeH9tKmH365XHFIkyXRjY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 186DC6085C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, andy.gross@linaro.org, david.brown@linaro.org, dianders@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, tsoni@codeaurora.org, clew@codeaurora.org, akdwived@codeaurora.org, mark.rutland@arm.com, linux-remoteproc@vger.kernel.org, evgreen@chromium.org, briannorris@chromium.org, sricharan@codeaurora.org, Sibi Sankar Subject: [PATCH v3 6/8] remoteproc: qcom: q6v5-mss: Add missing regulator for MSM8996 Date: Wed, 26 Dec 2018 18:22:27 +0530 Message-Id: <20181226125229.20149-6-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181226125229.20149-1-sibis@codeaurora.org> References: <20181226125229.20149-1-sibis@codeaurora.org> MIME-Version: 1.0 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 Add proxy vote for pll supply on MSM8996 SoC. Fixes: 9f058fa2efb1 ("remoteproc: qcom: Add support for mss remoteproc on msm8996") Signed-off-by: Sibi Sankar --- drivers/remoteproc/qcom_q6v5_mss.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index 2f12901dd1a7..f80b17b16e98 100644 --- a/drivers/remoteproc/qcom_q6v5_mss.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -1395,6 +1395,13 @@ static const struct rproc_hexagon_res sdm845_mss = { static const struct rproc_hexagon_res msm8996_mss = { .hexagon_mba_image = "mba.mbn", + .proxy_supply = (struct qcom_mss_reg_res[]) { + { + .supply = "pll", + .uA = 100000, + }, + {} + }, .proxy_clk_names = (char*[]){ "xo", "pnoc", From patchwork Wed Dec 26 12:52:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10743039 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F2D3F13BF for ; Wed, 26 Dec 2018 12:53:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2DC428885 for ; Wed, 26 Dec 2018 12:53:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D6E3D28893; Wed, 26 Dec 2018 12:53:28 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 8A66128885 for ; Wed, 26 Dec 2018 12:53:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726953AbeLZMx1 (ORCPT ); Wed, 26 Dec 2018 07:53:27 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:41228 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbeLZMx1 (ORCPT ); Wed, 26 Dec 2018 07:53:27 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CD119609C2; Wed, 26 Dec 2018 12:53:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828806; bh=8Oeuk8ihqHvmR04Bd6mTtyu2QPCp3ZK2yq/bTxNoHAY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BVzAX0hbs0QI/KyjoyiNod02pM2kaAHmJb8GOislk+6oERWL5velbXOjPIYPigk68 9FrGqOrlDr1ys1oyzVGjAJg9GvnrH8YZslOe9uIOGrF5Xs3rgjRVy6pKhZAoypXUkx vI9OG49ALRTgrqHgstBUvElA1hctw6TmPUTdbgGI= Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 079DD609B4; Wed, 26 Dec 2018 12:53:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828803; bh=8Oeuk8ihqHvmR04Bd6mTtyu2QPCp3ZK2yq/bTxNoHAY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fWoOnzbrh2GQuOwqrhPJ0PxRJme3MMm4dCJGjXFBy2jBNkyRT4alnlH7YipyE6ckT F/2epbbDyOICnqFvF3l1aZTLxIsszHMyxh+CuImf2wTGX7ouR6RL+E4uAZDigBTIE8 Y48UZfZiXSwicqaasN1VWcJqPRcVrbqAz6HwBS/A= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 079DD609B4 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, andy.gross@linaro.org, david.brown@linaro.org, dianders@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, tsoni@codeaurora.org, clew@codeaurora.org, akdwived@codeaurora.org, mark.rutland@arm.com, linux-remoteproc@vger.kernel.org, evgreen@chromium.org, briannorris@chromium.org, sricharan@codeaurora.org, Sibi Sankar Subject: [PATCH v3 7/8] dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5 Date: Wed, 26 Dec 2018 18:22:28 +0530 Message-Id: <20181226125229.20149-7-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181226125229.20149-1-sibis@codeaurora.org> References: <20181226125229.20149-1-sibis@codeaurora.org> MIME-Version: 1.0 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 Add power-domain bindings for Q6V5 MSS on MSM8996 and SDM845 SoCs. Signed-off-by: Sibi Sankar Reviewed-by: Rob Herring --- v3: * Fixup dt-binding documentation as suggested by Doug * Dropping Rob's Reviewed-by due to documentation style change v2: * Add load_state power-domain * List cx and mx power-domains for MSM8996 .../bindings/remoteproc/qcom,q6v5.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt index 65713de70be5..17ecaae5e5e0 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt @@ -106,6 +106,25 @@ For the compatible string below the following supplies are required: Definition: reference to the regulators to be held on behalf of the booting of the Hexagon core +- power-domains: + Usage: required + Value type: + Definition: reference to power-domains that match power-domain-names + +- power-domain-names: + Usage: required + Value type: + Definition: The power-domains needed depend on the compatible string: + qcom,q6v5-pil: + qcom,ipq8074-wcss-pil: + qcom,msm8916-mss-pil: + qcom,msm8974-mss-pil: + no power-domain names required + qcom,msm8996-mss-pil: + must be "cx", "mx" + qcom,sdm845-mss-pil: + must be "cx", "mx", "mss", "load_state" + - qcom,smem-states: Usage: required Value type: From patchwork Wed Dec 26 12:52:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10743041 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 21BCA746 for ; Wed, 26 Dec 2018 12:53:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F65628885 for ; Wed, 26 Dec 2018 12:53:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 033D728893; Wed, 26 Dec 2018 12:53:36 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 7834628885 for ; Wed, 26 Dec 2018 12:53:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726975AbeLZMxe (ORCPT ); Wed, 26 Dec 2018 07:53:34 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:41402 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbeLZMxe (ORCPT ); Wed, 26 Dec 2018 07:53:34 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id ABBC9609D4; Wed, 26 Dec 2018 12:53:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828812; bh=aBFBhtHLVe4b4p8gWbD9bK9/rB1XI1ZqqpT/Zn8sPdk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mtIUy31IYttvNSUChf9okNcJv01O5ZxP1Hj+0slBHsJdS19+M04eJS6fwULpuxxhx W5XX9JDKbfvqKKvAymo70y0SNDVnMT1bXLJN0wBZioZNkUDd3hQxvLKEGTMXwOBznq R2CsGEgTDP/e/hIuKVu07Yv6VilAY1z0pSjw2q2w= Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 10D8F609CD; Wed, 26 Dec 2018 12:53:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545828809; bh=aBFBhtHLVe4b4p8gWbD9bK9/rB1XI1ZqqpT/Zn8sPdk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T5xr6XuiwG8S2jFIV3K3mg9nxrVuYrDFYc5AqdBIAviZH3n7p0p3+6eoS2YgJ/Qdi JZjuqy3yl7gCSbvVrBjffu/UweA99Nv+7zgIsYGfqpTab12qZavUqPLisvZe4MnE1k oKRUXqujJyURY/9IYL8x/I9jxVYYNfqp0+saCvzM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 10D8F609CD Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, andy.gross@linaro.org, david.brown@linaro.org, dianders@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, tsoni@codeaurora.org, clew@codeaurora.org, akdwived@codeaurora.org, mark.rutland@arm.com, linux-remoteproc@vger.kernel.org, evgreen@chromium.org, briannorris@chromium.org, sricharan@codeaurora.org, Sibi Sankar Subject: [PATCH v3 8/8] arm64: dts: qcom: sdm845: Add Q6V5 MSS node Date: Wed, 26 Dec 2018 18:22:29 +0530 Message-Id: <20181226125229.20149-8-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181226125229.20149-1-sibis@codeaurora.org> References: <20181226125229.20149-1-sibis@codeaurora.org> MIME-Version: 1.0 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 This patch adds Q6V5 MSS remoteproc node for SDM845 SoCs. Signed-off-by: Sibi Sankar Reviewed-by: Douglas Anderson --- v3: * with shutdown-ack irq redesign make it mandatory, merge multiple patches into a single one v2: * Fixed style changes * Added missing clocks in the dt-bindings * Split mss remoteproc node into a number of patches This patch depends on the following bindings: https://patchwork.kernel.org/patch/10662089/ - mba/mpss reserved regions https://patchwork.kernel.org/patch/10657325/ - pdc reset node https://patchwork.kernel.org/patch/10740127/ - rpmhpd dt bindings https://patchwork.kernel.org/patch/10740109/ - rpmhpd dt node https://patchwork.kernel.org/patch/10678301/ - AOP QMP dt bindings https://patchwork.kernel.org/patch/10742083/ - shutdown-irq binding arch/arm64/boot/dts/qcom/sdm845.dtsi | 60 ++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 5da9fa1feb8a..db17216a5bce 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1366,6 +1366,66 @@ }; }; + remoteproc@4080000 { + compatible = "qcom,sdm845-mss-pil"; + reg = <0x04080000 0x408>, <0x04180000 0x48>; + reg-names = "qdsp6", "rmb"; + + interrupts-extended = + <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack", + "shutdown-ack"; + + clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, + <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>, + <&gcc GCC_BOOT_ROM_AHB_CLK>, + <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>, + <&gcc GCC_MSS_SNOC_AXI_CLK>, + <&gcc GCC_MSS_MFAB_AXIS_CLK>, + <&gcc GCC_PRNG_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "bus", "mem", "gpll0_mss", + "snoc_axi", "mnoc_axi", "prng", "xo"; + + qcom,smem-states = <&modem_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + resets = <&aoss_reset AOSS_CC_MSS_RESTART>, + <&pdc_reset PDC_MODEM_SYNC_RESET>; + reset-names = "mss_restart", "pdc_reset"; + + qcom,halt-regs = <&tcsr_mutex_regs + 0x23000 0x25000 0x24000>; + + power-domains = <&aoss_qmp_pd AOSS_QMP_LS_MODEM>, + <&rpmhpd SDM845_CX>, + <&rpmhpd SDM845_MX>, + <&rpmhpd SDM845_MSS>; + power-domain-names = "load_state", "cx", "mx", "mss"; + + mba { + memory-region = <&mba_region>; + }; + + mpss { + memory-region = <&mpss_region>; + }; + + glink-edge { + interrupts = ; + label = "modem"; + qcom,remote-pid = <1>; + mboxes = <&apss_shared 12>; + mbox-names = "mpss_smem"; + }; + }; + usb_1_hsphy: phy@88e2000 { compatible = "qcom,sdm845-qusb2-phy"; reg = <0x88e2000 0x400>;