From patchwork Fri Jun 12 22:49:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 187879 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp800989ilo; Fri, 12 Jun 2020 15:50:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpYnmRC+Uiqhm2X1Ejcm6iPqvr9rZfPPfirhrJjsMObx4zi6f+EMXxj8Pcd5pnNZ2N/riy X-Received: by 2002:a05:6402:b21:: with SMTP id bo1mr13234276edb.169.1592002208847; Fri, 12 Jun 2020 15:50:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592002208; cv=none; d=google.com; s=arc-20160816; b=RPCtQxvwn+/ZTXV4wVKmSDHhTVD9uMm4D+jaYYhrQ99KSkKlK8Vpmogf8dIuHPRrnW LtsINPTc9ptXzQoSd/MgXbYOLcfK9bNGkorUCUDyjT/6HYH5GFuBO5e2X2MxSX9V8GJJ XAEZuVm8bcL+7C/lNn9PI5+Q3KvTcIUuMG4naEUTVQE3+UOiupa6LT/8RNC3Yi3UoKSN F0BwEisqqYLf+w2U2h6ljfYfcMH7ZoGiWFsPqXp5wZCPTwQ/rtGOpNi/cD5kGqcyAlle kVX52qFZf+WfWhH3SX1vg/RqnJ02hWNpQd660Bb8JMaWPIKsF5bS/OyTUdVZr4Lzg7M5 1+gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bNsry0vaH4LJP2i3TLuNDpE56+9ye4tE5chXV1/nxh0=; b=0FcH3eDtoW0kaWeGCVQpm6pZVA62r5hxGOd+rXPrW3ZOhambW5P9yB5d/1yLivUt8B 48lxZ4xDuPR6rEtIhXi6Li0odPhUW2IABy5b0lJGAdhDEj307x2Yx4KFuLwG3jxOCYcm alEoI8LS2fMGiS1Mu7BFJ6dAYMMkVCaZ1bX5oLSMVLHXD+xrKeEjmmwEMbP/BAYc+6xv /6P2kywfhOApDWjv2Avnl98GjXpfFpcRZJfXSFyk/eIXFUUjr9IMvNKZuof5hoYf33gc rJNd9GRjDgMxSlT0IJbRF0D05b7EDdx9iwd5Gd/w2IwULweR5QEnm11g8LFIXS9TjAFD d68g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JNzY4WDo; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u21si4265116edq.299.2020.06.12.15.50.08; Fri, 12 Jun 2020 15:50:08 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@ti.com header.s=ti-com-17Q1 header.b=JNzY4WDo; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726397AbgFLWti (ORCPT + 6 others); Fri, 12 Jun 2020 18:49:38 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:57696 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726347AbgFLWtg (ORCPT ); Fri, 12 Jun 2020 18:49:36 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05CMnUbT121066; Fri, 12 Jun 2020 17:49:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1592002170; bh=bNsry0vaH4LJP2i3TLuNDpE56+9ye4tE5chXV1/nxh0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=JNzY4WDoBVWJQ7w6WsbuN70cg0DpIsHxWcnV9K7+pPicXuCzI6q16PEH3kDgqRt89 oatV8csvpcgUV5N2B3gT2Gtf0pf4/1N7u35AQOTewe9sJToivT0ZJJ6hqo8DA4Dbex YnvhiilXphRrOjjSG05BLshAIix96NxgSGwT3xKo= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05CMnUiW046039; Fri, 12 Jun 2020 17:49:30 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Fri, 12 Jun 2020 17:49:29 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Fri, 12 Jun 2020 17:49:29 -0500 Received: from fllv0103.dal.design.ti.com (fllv0103.dal.design.ti.com [10.247.120.73]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05CMnTl2112276; Fri, 12 Jun 2020 17:49:29 -0500 Received: from localhost ([10.250.48.148]) by fllv0103.dal.design.ti.com (8.14.7/8.14.7) with ESMTP id 05CMnTMi062177; Fri, 12 Jun 2020 17:49:29 -0500 From: Suman Anna To: Bjorn Andersson , Rob Herring , Mathieu Poirier CC: Lokesh Vutla , Grzegorz Jaszczyk , , , , , Suman Anna Subject: [PATCH v3 3/6] dt-bindings: remoteproc: Add common TI SCI rproc bindings Date: Fri, 12 Jun 2020 17:49:11 -0500 Message-ID: <20200612224914.7634-4-s-anna@ti.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200612224914.7634-1-s-anna@ti.com> References: <20200612224914.7634-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add a bindings document that lists the common TI SCI properties used by the K3 R5F and DSP remoteproc devices. Signed-off-by: Suman Anna --- v3: New Patch refactoring out the common ti-sci-proc properties .../bindings/remoteproc/ti,k3-sci-proc.yaml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,k3-sci-proc.yaml -- 2.26.0 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/remoteproc/ti,k3-sci-proc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,k3-sci-proc.yaml new file mode 100644 index 000000000000..883b6e9b5282 --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/ti,k3-sci-proc.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/ti,k3-sci-proc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common TI K3 remote processor device bindings + +maintainers: + - Suman Anna + +description: | + The TI K3 family of SoCs usually have one or more remote processor sub-systems + like the dual-core R5F sub-system or a C66x or C71x DSP processor subsystem. + The device management of these remote processors is managed by a dedicated + System Processor, and the communication with that processor is managed through + the TI-SCI protocol. + + Each remote processor device node should define a common set of properties + that allows the System Processor firmware to perform the device management + such as powering the IPs, asserting/deasserting the resets for each of these + processors. + +properties: + ti,sci: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Should be a phandle to the TI-SCI System Controller node + + ti,sci-dev-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + Should contain the TI-SCI device id corresponding to the remote processor + core. Please refer to the corresponding System Controller documentation + for valid values. + + ti,sci-proc-ids: + description: Should contain a single tuple of . + allOf: + - $ref: /schemas/types.yaml#/definitions/uint32-array + - maxItems: 1 + items: + items: + - description: TI-SCI processor id for the remote processor device + - description: TI-SCI host id to which processor control + ownership should be transferred to + +required: + - ti,sci + - ti,sci-dev-id + - ti,sci-proc-ids