From patchwork Fri Dec 28 18:53:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10744611 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 91BE813AD for ; Fri, 28 Dec 2018 18:53:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FC0628B92 for ; Fri, 28 Dec 2018 18:53:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6CD3728BA8; Fri, 28 Dec 2018 18:53:24 +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 E9BE228B92 for ; Fri, 28 Dec 2018 18:53:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727975AbeL1SxX (ORCPT ); Fri, 28 Dec 2018 13:53:23 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:58106 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726098AbeL1SxX (ORCPT ); Fri, 28 Dec 2018 13:53:23 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E7A7A607C6; Fri, 28 Dec 2018 18:53:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023202; bh=I0YOiRYPU9cMm9CE7tw0dqP156rQwU3Y4aa5AvbNQzk=; h=From:To:Cc:Subject:Date:From; b=FICDzroG6jl9vFD2ZrDWNrfPV5enCpCYkM3fB6gjywlTuaraCBsph3V+MhkfW4gt4 esvP8kKuFJc2MHsY3+X/V5+cmHGYnHoqQXmpa2RKcByzXySAzKzuDNT4taJM4d8tJT sl+a1nRhnlvgy3zfXvioeZ3xnS8NOZJmzPOPTix8= 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 BADFC60452; Fri, 28 Dec 2018 18:53:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023202; bh=I0YOiRYPU9cMm9CE7tw0dqP156rQwU3Y4aa5AvbNQzk=; h=From:To:Cc:Subject:Date:From; b=FICDzroG6jl9vFD2ZrDWNrfPV5enCpCYkM3fB6gjywlTuaraCBsph3V+MhkfW4gt4 esvP8kKuFJc2MHsY3+X/V5+cmHGYnHoqQXmpa2RKcByzXySAzKzuDNT4taJM4d8tJT sl+a1nRhnlvgy3zfXvioeZ3xnS8NOZJmzPOPTix8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org BADFC60452 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 v4 1/8] dt-bindings: soc: qcom: Add remote-pid binding for GLINK SMEM Date: Sat, 29 Dec 2018 00:23:00 +0530 Message-Id: <20181228185307.25645-1-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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 Fri Dec 28 18:53:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10744615 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 D44F513BF for ; Fri, 28 Dec 2018 18:53:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C54D728B92 for ; Fri, 28 Dec 2018 18:53:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B927428BA6; Fri, 28 Dec 2018 18:53:34 +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 6093628B92 for ; Fri, 28 Dec 2018 18:53:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730722AbeL1Sx3 (ORCPT ); Fri, 28 Dec 2018 13:53:29 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:58270 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730708AbeL1Sx3 (ORCPT ); Fri, 28 Dec 2018 13:53:29 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CA1886089D; Fri, 28 Dec 2018 18:53:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023207; bh=Z99cb797szcBohEz/E/I94UChw52QC1xSm71ao79i6k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aJi0mP9qUZb5rL+4OeU10DMFia42DvE1tKrgyqxAp5EJnPRNd1F66MeFBGA4UtO1y NG3jE7Htt9oiii+OJEI2jAMYnlkdOyWv90HIAxSyV4tEmkVSBOMfuSyquAjzzyP7ZA OLNcWb/Gv0mKmP3/lzWCBn3knBKamzYhBxfkUBdc= 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 AE6766076A; Fri, 28 Dec 2018 18:53:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023207; bh=Z99cb797szcBohEz/E/I94UChw52QC1xSm71ao79i6k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aJi0mP9qUZb5rL+4OeU10DMFia42DvE1tKrgyqxAp5EJnPRNd1F66MeFBGA4UtO1y NG3jE7Htt9oiii+OJEI2jAMYnlkdOyWv90HIAxSyV4tEmkVSBOMfuSyquAjzzyP7ZA OLNcWb/Gv0mKmP3/lzWCBn3knBKamzYhBxfkUBdc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AE6766076A 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 v4 2/8] dt-bindings: remoteproc: qcom: Add missing clocks for SDM845 Date: Sat, 29 Dec 2018 00:23:01 +0530 Message-Id: <20181228185307.25645-2-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181228185307.25645-1-sibis@codeaurora.org> References: <20181228185307.25645-1-sibis@codeaurora.org> MIME-Version: 1.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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 Reviewed-by: Rob Herring --- v4: * Re-order clocks for consistency as suggested by Rob 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..d645c8db29fd 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 "iface", "bus", "mem", "xo", "gpll0_mss", + "snoc_axi", "mnoc_axi", "prng" - resets: Usage: required From patchwork Fri Dec 28 18:53:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10744639 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 B1EDE14DE for ; Fri, 28 Dec 2018 18:54:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A6CA828A51 for ; Fri, 28 Dec 2018 18:54:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9AB6628BA5; Fri, 28 Dec 2018 18:54:11 +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 5497328B92 for ; Fri, 28 Dec 2018 18:54:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387673AbeL1Sxe (ORCPT ); Fri, 28 Dec 2018 13:53:34 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:58424 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730708AbeL1Sxd (ORCPT ); Fri, 28 Dec 2018 13:53:33 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DA6C460928; Fri, 28 Dec 2018 18:53:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023212; bh=trK+FuE3Vv1F+Jmo4DamEkK3zfr/Io5WNEeixDkEk6E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pKkDc2BCIWi7JIo/3BBlU2XatpDaw4T24FB3Bx5mgwNnSneaD+nwrU5GIX0TvzXVi zXXsKTaLUKdRampob3MZfCHarD4UlgM/8ZrY3PnEXnnZ8HQ609sW1hrD7JEOsZbxQp oWEu5enaaIsHsL6jOYdodIIGdocuuM9lqISBSqAM= 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 A2D6F60854; Fri, 28 Dec 2018 18:53:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023212; bh=trK+FuE3Vv1F+Jmo4DamEkK3zfr/Io5WNEeixDkEk6E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pKkDc2BCIWi7JIo/3BBlU2XatpDaw4T24FB3Bx5mgwNnSneaD+nwrU5GIX0TvzXVi zXXsKTaLUKdRampob3MZfCHarD4UlgM/8ZrY3PnEXnnZ8HQ609sW1hrD7JEOsZbxQp oWEu5enaaIsHsL6jOYdodIIGdocuuM9lqISBSqAM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A2D6F60854 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 v4 3/8] dt-bindings: remoteproc: qcom: Add missing clocks for MSM8996 Date: Sat, 29 Dec 2018 00:23:02 +0530 Message-Id: <20181228185307.25645-3-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181228185307.25645-1-sibis@codeaurora.org> References: <20181228185307.25645-1-sibis@codeaurora.org> MIME-Version: 1.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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 Reviewed-by: Rob Herring --- v4: * Re-order clocks for consistency as suggested by Rob 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 d645c8db29fd..bba3d6be71c0 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 "iface", "bus", "mem", "xo", "gpll0_mss", + "snoc_axi", "mnoc_axi", "pnoc", "qdss" qcom,sdm845-mss-pil: must be "iface", "bus", "mem", "xo", "gpll0_mss", "snoc_axi", "mnoc_axi", "prng" From patchwork Fri Dec 28 18:53:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10744625 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 7BFD213BF for ; Fri, 28 Dec 2018 18:53:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DE041FFE4 for ; Fri, 28 Dec 2018 18:53:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60F24287E5; Fri, 28 Dec 2018 18:53:51 +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 1417A287E5 for ; Fri, 28 Dec 2018 18:53:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387690AbeL1Sxj (ORCPT ); Fri, 28 Dec 2018 13:53:39 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:58564 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730708AbeL1Sxi (ORCPT ); Fri, 28 Dec 2018 13:53:38 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id AC1CF6090F; Fri, 28 Dec 2018 18:53:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023217; bh=Q7v+I1gWGliGjE+4TGw2e1iqjmJbt9o/vo0veKtibts=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A72jnZ9LjVD+9MFHLIRUgmGNcH4FRHXWRUGe7CJQhAxWE9n2QVUkcfUX02hCevfgO Pf4Uj6FJthrUE8O/eR9RwBUNUCwheTl2UqAsVudVSdC6CxE+YKGt5yQdg7gCihlTsz KfYyDfLjnG+CuWrMQABeE+k6aXLzGkSghOmwXZjk= 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 9187D6090F; Fri, 28 Dec 2018 18:53:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023217; bh=Q7v+I1gWGliGjE+4TGw2e1iqjmJbt9o/vo0veKtibts=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A72jnZ9LjVD+9MFHLIRUgmGNcH4FRHXWRUGe7CJQhAxWE9n2QVUkcfUX02hCevfgO Pf4Uj6FJthrUE8O/eR9RwBUNUCwheTl2UqAsVudVSdC6CxE+YKGt5yQdg7gCihlTsz KfYyDfLjnG+CuWrMQABeE+k6aXLzGkSghOmwXZjk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9187D6090F 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 v4 4/8] remoteproc: qcom: q6v5-mss: Add missing clocks for MSM8996 Date: Sat, 29 Dec 2018 00:23:03 +0530 Message-Id: <20181228185307.25645-4-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181228185307.25645-1-sibis@codeaurora.org> References: <20181228185307.25645-1-sibis@codeaurora.org> MIME-Version: 1.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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. Rename "gpll0_mss_clk" to "gpll0_mss" for consistency across SoCs. Fixes: 9f058fa2efb1 ("remoteproc: qcom: Add support for mss remoteproc on msm8996") Signed-off-by: Sibi Sankar --- v4: * Rename "gpll0_mss_clk" to "gpll0_mss" for consistency across SoCs drivers/remoteproc/qcom_q6v5_mss.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index 01be7314e176..cb5f0d3ac6a3 100644 --- a/drivers/remoteproc/qcom_q6v5_mss.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -1398,13 +1398,16 @@ static const struct rproc_hexagon_res msm8996_mss = { .proxy_clk_names = (char*[]){ "xo", "pnoc", + "qdss", NULL }, .active_clk_names = (char*[]){ "iface", "bus", "mem", - "gpll0_mss_clk", + "gpll0_mss", + "snoc_axi", + "mnoc_axi", NULL }, .need_mem_protection = true, From patchwork Fri Dec 28 18:53:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10744623 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 4CD7313AD for ; Fri, 28 Dec 2018 18:53:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40B871FFE4 for ; Fri, 28 Dec 2018 18:53:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 336C728B92; Fri, 28 Dec 2018 18:53:51 +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 D616F1FFE4 for ; Fri, 28 Dec 2018 18:53:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387711AbeL1Sxo (ORCPT ); Fri, 28 Dec 2018 13:53:44 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:58716 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730616AbeL1Sxn (ORCPT ); Fri, 28 Dec 2018 13:53:43 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D0A2E6095F; Fri, 28 Dec 2018 18:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023222; bh=2EPEud+h4vvmNJ3dE8l6uhsXQYLrPFt+1iO+XhjSYBM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iO1uFNTJWeEpC7gAXCaJ9nHqwU5cn2Z7dbNraHvu8W9oCVN4YxpT/d+NvTjEa0fWJ vsa5xKSKVrk9kOG7PKTMsWUfzvhXXfkAr/9y+T6ghi2nsa8YJ9v/qtzZiqW1RsxHbo pvJw+L4tU/+KQHGocsfL+5CnG2WgJHxURdwL3UJI= 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 8DA5160960; Fri, 28 Dec 2018 18:53:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023222; bh=2EPEud+h4vvmNJ3dE8l6uhsXQYLrPFt+1iO+XhjSYBM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iO1uFNTJWeEpC7gAXCaJ9nHqwU5cn2Z7dbNraHvu8W9oCVN4YxpT/d+NvTjEa0fWJ vsa5xKSKVrk9kOG7PKTMsWUfzvhXXfkAr/9y+T6ghi2nsa8YJ9v/qtzZiqW1RsxHbo pvJw+L4tU/+KQHGocsfL+5CnG2WgJHxURdwL3UJI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8DA5160960 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 v4 5/8] dt-bindings: remoteproc: qcom: Fixup regulator dependencies Date: Sat, 29 Dec 2018 00:23:04 +0530 Message-Id: <20181228185307.25645-5-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181228185307.25645-1-sibis@codeaurora.org> References: <20181228185307.25645-1-sibis@codeaurora.org> MIME-Version: 1.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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 bba3d6be71c0..9db371da4897 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 Fri Dec 28 18:53:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10744627 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 1F85E13BF for ; Fri, 28 Dec 2018 18:53:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10E051FFE4 for ; Fri, 28 Dec 2018 18:53:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 01C8C28A51; Fri, 28 Dec 2018 18:53:58 +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 A13E11FFE4 for ; Fri, 28 Dec 2018 18:53:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387728AbeL1Sxv (ORCPT ); Fri, 28 Dec 2018 13:53:51 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:58856 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729518AbeL1Sxv (ORCPT ); Fri, 28 Dec 2018 13:53:51 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 839356089D; Fri, 28 Dec 2018 18:53:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023229; bh=nXqXSVS+S0cLwPhK2/YFXv8lxAPRU+Xfj+pkdqN+AoA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nFVr+IboGIPRPklOobIvmmw74EEkISUw4PLqCAzg0w4aeZhiR+UjqwV8Oym+B5emJ RK2ZC1rS/Wd4PeST2Bxsm6ospWoFINdpZiALpru+I0J2+76NyfiL7Cx9qmcd/cJhwz xGVGkWOYjGxOO2Hg1d09zPdWdai+4BfU3u/e03uY= 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 87FAC60988; Fri, 28 Dec 2018 18:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023227; bh=nXqXSVS+S0cLwPhK2/YFXv8lxAPRU+Xfj+pkdqN+AoA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kEqrle5Xy8DhJ7TjK1ZNGrzehXDJjv900UuFc4Oe8Rmhcj0vq1ff8kEBhumhefMC9 s6J+A+gr0nFbHoYkBaG7n4RIWNjpZH9LYAQolViBjESjisiuXkLmhPbqXHH8atdt2m 6Ulspq4Xcbr097kk0FCxWkVMjA7ckwn0any9Jzc0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 87FAC60988 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 v4 6/8] remoteproc: qcom: q6v5-mss: Add missing regulator for MSM8996 Date: Sat, 29 Dec 2018 00:23:05 +0530 Message-Id: <20181228185307.25645-6-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181228185307.25645-1-sibis@codeaurora.org> References: <20181228185307.25645-1-sibis@codeaurora.org> MIME-Version: 1.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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 cb5f0d3ac6a3..c86dc40cfb8c 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 Fri Dec 28 18:53:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10744635 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 F3D3B14DE for ; Fri, 28 Dec 2018 18:54:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7E9C28A51 for ; Fri, 28 Dec 2018 18:54:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC37928B92; Fri, 28 Dec 2018 18:54:10 +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 8FB5128BA5 for ; Fri, 28 Dec 2018 18:54:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387743AbeL1Sx6 (ORCPT ); Fri, 28 Dec 2018 13:53:58 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:59048 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729518AbeL1Sx5 (ORCPT ); Fri, 28 Dec 2018 13:53:57 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7DD3460995; Fri, 28 Dec 2018 18:53:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023236; bh=Fyh26KhyuUxC3ve0+iV5fsOf+MawcTHfGm8YKfNYBZw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Gb0lntBU3CpwOYuzGYh4uOUFbqjQxyAaJUExekBcbsNC6M71S7YPLwhSRVMSPxjky cZfJF7p+nja7dWfSj4NZ78HgS/xZ/y4G31Kt+8DcoAop5+1UZ6W3v8MdYa0nAj7rAj NXvjwL3kXpv0+MDMCv2TrozOvVx5OOjjwaz194FQ= 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 C56FB6083C; Fri, 28 Dec 2018 18:53:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023232; bh=Fyh26KhyuUxC3ve0+iV5fsOf+MawcTHfGm8YKfNYBZw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LRP1lSJs64qfpVw4fELYzQtUk9qu1GafT+UjV6xXLkVDG1q5l22XfDw1IneNtle5I s9J71KcRpUgqeaLspZ1RHEWVnxeaD7vi9SY7mZ4ncH9cMLWPHDUcYzdTyVWd/f9XGZ Gc2GQ1bT1TEHktstyzISp72zEoIq0kJSmkR9rMTc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C56FB6083C 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 v4 7/8] dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5 Date: Sat, 29 Dec 2018 00:23:06 +0530 Message-Id: <20181228185307.25645-7-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181228185307.25645-1-sibis@codeaurora.org> References: <20181228185307.25645-1-sibis@codeaurora.org> MIME-Version: 1.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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 9db371da4897..36e91c9d76e0 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 Fri Dec 28 18:53:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 10744631 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 2913914DE for ; Fri, 28 Dec 2018 18:54:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1DBE528A51 for ; Fri, 28 Dec 2018 18:54:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F12CF287E5; Fri, 28 Dec 2018 18:54:07 +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 96C1328A51 for ; Fri, 28 Dec 2018 18:54:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387758AbeL1SyB (ORCPT ); Fri, 28 Dec 2018 13:54:01 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:59180 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387756AbeL1SyA (ORCPT ); Fri, 28 Dec 2018 13:54:00 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9373A60989; Fri, 28 Dec 2018 18:53:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023239; bh=aBFBhtHLVe4b4p8gWbD9bK9/rB1XI1ZqqpT/Zn8sPdk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bMOn4hHFErqwFoyV9dvyx4VJLyTERx14kEY3+Cct1rg3JJPsRE/HG+8OYSCIKvFhu eR+k2LEd0JGRDl9K7cEOTjbQ2vfrP3YqUo08Wl8XUU5VMd5HrOfIYbj3fqYwm4kfsU ceffNF2RJWDkIDT24grXfTwcvlnECTjlG7ilc+xQ= 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 326AA609C2; Fri, 28 Dec 2018 18:53:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546023237; bh=aBFBhtHLVe4b4p8gWbD9bK9/rB1XI1ZqqpT/Zn8sPdk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rd6FAKUIrRF0Okn526sdJJTb0eqABUPaenC1MhLyTfzovNNNs9Dk481xTBDNrgNl1 UZEzFGoFfscy7LZhnJg8sszRI26/3lT7NJCtaYGWI0zPtadbsjg3WaOrV6QBIBFCzS LdOmO7LJ2dtjNFOPhO8hwaX2G/2IvdKd+fXsPq+4= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 326AA609C2 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 v4 8/8] arm64: dts: qcom: sdm845: Add Q6V5 MSS node Date: Sat, 29 Dec 2018 00:23:07 +0530 Message-Id: <20181228185307.25645-8-sibis@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181228185307.25645-1-sibis@codeaurora.org> References: <20181228185307.25645-1-sibis@codeaurora.org> MIME-Version: 1.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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>;