Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1867351pxb; Thu, 16 Sep 2021 18:25:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyH6zUCMeE93MBD6ZzuLL4WJj6Kf79whyItqqsGsoFWHWSWmUfNWz6wB2yJQHB7MENz1Gm4 X-Received: by 2002:a92:c70a:: with SMTP id a10mr6110712ilp.109.1631841906359; Thu, 16 Sep 2021 18:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631841906; cv=none; d=google.com; s=arc-20160816; b=mCl56q7Ft03egz+JzEaY2qvhtCxplcm/uNzqzHLR3dzf/c9vVmwSZ+AqO8DO/X3YxG V6lIvf+bvJs3H5WI4kl2/qPNKCAnbekGD55YcDmPUMNXe0HdMGE/r8sxXChIvqd/fSfY zVDiuUuNMjpnr3eA2PKSu9l9bvMwZx651/gE12xm5dM7A10cUFqWBop/X5vNYfzKBJhb wBsG90jsr3BcLSCvm4WzEJqEgdj7t41Eu7EMfVhSISlwA3F1S8puJtr3Gja9STDqOR1L +LHMdZE+nOMUa4/I7Bz9RbJWtJPW6a8Tv+Zf5cqa8Ar3pg7nHPs12fifKRBmE5ypAfMY yc5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=5uJxVVTc/lbclgjf/w3rh+bkr6B1ffaroF3YrcjwPW4=; b=i/mt80xzdIlcGqyHnPlmBo1r/3RRfbJsYh/BIAihoyu/PA/6CIuVgD1klFewZ9KuaG zqUApPmWwMecGxCxxmmKeY5HZbIY+XGcGV6YKS0gCWHAsh+8eSce72spBXgbcKy6oFdo HsGBfj4dPS3h0/ncxJJOPFMbnTqwyMuCDAKswbIEOOz0mZEdahFfKDtEaG87IZZJe8du i/zB9yaz8lRMt78NMsFEMnQdZfuxAnDff429HQBeSIM0i4tkzVZkFZFsLAD8nUW0mN3h 9rBoL1XzjrlZo4lr5KeMOcWpk5qz8AzzCA0tKFjGC5ekRMwv9U/h209nONUMxiZQNJ+Q 7/hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=lSEuXBka; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si3977659iln.116.2021.09.16.18.24.54; Thu, 16 Sep 2021 18:25:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=lSEuXBka; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345262AbhIPRKd (ORCPT + 99 others); Thu, 16 Sep 2021 13:10:33 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:49483 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344268AbhIPQ5x (ORCPT ); Thu, 16 Sep 2021 12:57:53 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1631811393; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=5uJxVVTc/lbclgjf/w3rh+bkr6B1ffaroF3YrcjwPW4=; b=lSEuXBkaDsx+Y3GAuFCpbEzub+pb2I3rmcpVNPIo/47dIbiTP5HIeAjYH7tApRkJD7Cp5MTt Lzs98plpN8iLawKDuFw+MxmVXTeX9u/F6cMAiYUpbsInxFGN2LA7LaTNru2V9MVM7pvP+sSm AnnC8YCfXh0mMxDUu1q3c5ZOmRo= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-west-2.postgun.com with SMTP id 61437736648642cc1cd56210 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 16 Sep 2021 16:56:22 GMT Sender: pillair=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 07A26C35A18; Thu, 16 Sep 2021 16:56:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from pillair-linux.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pillair) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1FD75C359F1; Thu, 16 Sep 2021 16:56:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 1FD75C359F1 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: Rakesh Pillai To: agross@kernel.org, bjorn.andersson@linaro.org, ohad@wizery.com, mathieu.poirier@linaro.org, robh+dt@kernel.org, p.zabel@pengutronix.de Cc: swboyd@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, sibis@codeaurora.org, mpubbise@codeaurora.org, kuabhs@chromium.org, Rakesh Pillai Subject: [PATCH v3 2/3] dt-bindings: remoteproc: qcom: Add SC7280 WPSS support Date: Thu, 16 Sep 2021 22:25:52 +0530 Message-Id: <1631811353-503-3-git-send-email-pillair@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1631811353-503-1-git-send-email-pillair@codeaurora.org> References: <1631811353-503-1-git-send-email-pillair@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add WPSS PIL loading support for SC7280 SoCs. Signed-off-by: Rakesh Pillai --- .../bindings/remoteproc/qcom,hexagon-v56.yaml | 88 +++++++++++++++++++++- 1 file changed, 86 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,hexagon-v56.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,hexagon-v56.yaml index 051da43..5674602 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,hexagon-v56.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,hexagon-v56.yaml @@ -17,6 +17,7 @@ properties: compatible: enum: - qcom,qcs404-cdsp-pil + - qcom,sc7280-wpss-pil - qcom,sdm845-adsp-pil reg: @@ -43,14 +44,14 @@ properties: - const: stop-ack clocks: - minItems: 7 + minItems: 3 maxItems: 8 description: List of phandles and clock specifier pairs for the Hexagon, per clock-names below. clock-names: - minItems: 7 + minItems: 3 maxItems: 8 power-domains: @@ -58,6 +59,11 @@ properties: items: - description: CX power domain + power-domain-names: + minItems: 1 + items: + - const: cx + resets: minItems: 1 maxItems: 2 @@ -78,6 +84,10 @@ properties: Phandle reference to a syscon representing TCSR followed by the three offsets within syscon for q6, modem and nc halt registers. + qcom,qmp: + $ref: /schemas/types.yaml#/definitions/phandle + description: Reference to the AOSS side-channel message RAM. + qcom,smem-states: $ref: /schemas/types.yaml#/definitions/phandle-array description: States used by the AP to signal the Hexagon core @@ -117,6 +127,33 @@ allOf: compatible: contains: enum: + - qcom,sc7280-wpss-pil + then: + properties: + interrupts-extended: + maxItems: 6 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt + interrupt-names: + maxItems: 6 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: shutdown-ack + + - if: + properties: + compatible: + contains: + enum: - qcom,sdm845-adsp-pil then: properties: @@ -192,6 +229,25 @@ allOf: compatible: contains: enum: + - qcom,sc7280-wpss-pil + then: + properties: + power-domains: + maxItems: 2 + items: + - description: CX power domain + - description: MX power domain + power-domain-names: + maxItems: 2 + items: + - const: cx + - const: mx + + - if: + properties: + compatible: + contains: + enum: - qcom,sdm845-adsp-pil then: properties: @@ -219,6 +275,34 @@ allOf: items: - const: restart + - if: + properties: + compatible: + contains: + enum: + - qcom,sc7280-wpss-pil + then: + properties: + resets: + items: + - description: AOSS restart + - description: PDC SYNC + reset-names: + items: + - const: restart + - const: pdc_sync + + - if: + properties: + compatible: + contains: + enum: + - qcom,sdm845-adsp-pil + - qcom,qcs404-cdsp-pil + then: + properties: + qcom,qmp: false + examples: - | #include -- 2.7.4