Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3780042pxt; Tue, 10 Aug 2021 11:08:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHNcGRTBa8OivjOCLZHcjVaVttVXAPCPUzT/c/pumhvlkDa91PuqR1FmauMxDjcUBql1XE X-Received: by 2002:a92:3f0b:: with SMTP id m11mr59178ila.265.1628618907808; Tue, 10 Aug 2021 11:08:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628618907; cv=none; d=google.com; s=arc-20160816; b=0hEe5TY6UfZhMWG31A9BswtnVZD3Sq+Aoru/Lur5/2tp46L/kCGXuQEqGQPy91oRF4 npLZYqT8DmLmkZQK3/9HFTEoisTI7ZQB4Rh+ySCJwJwpjt6VnjNfhnLklza1pyY4Q3yK PZCZox0BmZhadTaqY1pydVogOt6gr/tgVuTsGRBeMrt1w82I0v1SaNXgG74iX2xh5qcW f5aQAIUZHnEcom9gvmHvxFMNTrp0+WcfOCIaIjSAp5MDzI71eZzafUdQclQf9kl0kxQZ Hbr6Jywnkp9kvqP8mK5dFndJGubsS5dNCedok1eow4SJK6oLEYWuvOx2RG4+vowrvT6d 9INw== 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=O6oKfpq+92xnN3o8TZsu/BnQk7NHoYwPaMopS+Fm37I=; b=qG0iB2ROZkNOmutFQNT8mOBQbBSCoUo8gh8ilzLotIYnTwIK0+/4jyuVDII2VMtK31 d5Z5CWl5ZOV/RB5veE0Gby2rRc0df5NtgneRWWR+U43p2Zl3P4KqGoQEQE3iJLy+axVw pjtSrt73UMcbr332kRZo+LY0/ZIDSdv6ANeBROaWxmrhl1KUvDc1CB+KL4/Mq5lskFB4 f+ADJ0k3lUYc+NJ3BwM/cntU7QyX3W2nHjgC9K5cvEvGxrqGSCYR8fBx0GCilcZzzAX0 moUyiL2aOWFhdCU+/ojPENMtC/9zTsawpsGw/cbOC90Ssx32ZjQv/a+GMaWvfaepi3/x Ydmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Se3MbvS1; 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 b15si25777843ilv.151.2021.08.10.11.08.16; Tue, 10 Aug 2021 11:08:27 -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=Se3MbvS1; 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 S238392AbhHJSGl (ORCPT + 99 others); Tue, 10 Aug 2021 14:06:41 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:56558 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237985AbhHJSCe (ORCPT ); Tue, 10 Aug 2021 14:02:34 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1628618532; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=O6oKfpq+92xnN3o8TZsu/BnQk7NHoYwPaMopS+Fm37I=; b=Se3MbvS1PkBPg3EpWHsc14KaBLup6Waowt36BDizemhFeYwa3vGHWAaKdaIgV2BFMbXpnGZZ 1iD78xdq1p8BpAd3zlzIOxrkwnffwW78yQKt+psrjkohEW0ZMGBmXH92jUwU9Fgm+ZKdpNYV 54n32tyDqijxD7LguEgAfhkGt7U= 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-east-1.postgun.com with SMTP id 6112bf12b3873958f5ddc331 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 10 Aug 2021 18:01:54 GMT Sender: pillair=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id F38BCC4163F; Tue, 10 Aug 2021 18:01:52 +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 C54E3C2E860; Tue, 10 Aug 2021 18:01:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C54E3C2E860 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=pillair@codeaurora.org From: Rakesh Pillai To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, sibis@codeaurora.org, sboyd@kernel.org, mpubbise@codeaurora.org, Rakesh Pillai Subject: [PATCH v2 2/3] dt-bindings: remoteproc: qcom: Add SC7280 WPSS support Date: Tue, 10 Aug 2021 23:31:22 +0530 Message-Id: <1628618483-664-3-git-send-email-pillair@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1628618483-664-1-git-send-email-pillair@codeaurora.org> References: <1628618483-664-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 | 79 ++++++++++++++++++++-- 1 file changed, 74 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,hexagon-v56.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,hexagon-v56.yaml index 5f3558e..9ae433c6 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: @@ -26,25 +27,30 @@ properties: interrupts-extended: minItems: 5 - maxItems: 5 + maxItems: 6 interrupt-names: minItems: 5 - maxItems: 5 + maxItems: 6 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: - maxItems: 1 + minItems: 1 + maxItems: 2 + + power-domain-names: + minItems: 1 + maxItems: 2 resets: minItems: 1 @@ -92,6 +98,7 @@ required: - clocks - clock-names - power-domains + - power-domain-names - qcom,halt-regs - memory-region - qcom,smem-states @@ -129,6 +136,31 @@ allOf: compatible: contains: enum: + - qcom,sc7280-wpss-pil + then: + properties: + interrupts-extended: + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt + interrupt-names: + 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: @@ -211,6 +243,26 @@ allOf: power-domains: items: - description: CX power domain + power-domain-names: + items: + - const: cx + + - if: + properties: + compatible: + contains: + enum: + - qcom,sc7280-wpss-pil + then: + properties: + power-domains: + items: + - description: CX power domain + - description: MX power domain + power-domain-names: + items: + - const: cx + - const: mx - if: properties: @@ -244,6 +296,23 @@ 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 + examples: - | #include -- 2.7.4