Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp831716ybh; Tue, 21 Jul 2020 08:57:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhq2Ijlc6I7VdJDc6OCSHA3BYi4riMQp3bNN1AbH7DfoqHT53yZoXQ20WTBjUSOaka3GgE X-Received: by 2002:a17:906:c1d8:: with SMTP id bw24mr25258193ejb.91.1595347021563; Tue, 21 Jul 2020 08:57:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595347021; cv=none; d=google.com; s=arc-20160816; b=XMo1bBLQEaCGVG7Lahtags4iBHATNbJo4ZFe8H19PcfxcXEDDBR1Kp6g33/3JgKyEe NCS8SaAWK3IN+tRJcNh6Ekk6XuXCul1hKM1PYtRxnV6AavSws4mjek5D/LK621SgghHT pBIkF0OpslntjwTsc3hgS4iC0yQ7nNkJqsgT85KoodFTjT58yswa/3qWhnbkOGbTRjHW xGboeeoSbDIs2mwUMbp8U/eXw4mq9Nm3v9UxvX9HkuyWX03/gxwPAJm3gkO61ezHz/eL xMQpUA2sXYSCltEHaxbA+sif+RbiY40/JAaTN2o785FaW6V5zzD0fZoYSb2Cjw/OLBc3 KXUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vYo4NIDxo7kd95rkSxJSGWkJ3ZmE1pEEGSYGT+dbeLE=; b=PU/ZaYt+GMoJrkPN8KzvcDchE7KNf1Dj6ZSlZT41HNxzaQ/JxAvsa+c5xVDzc2qmFM SKBYuuaUVBwx98yFVQSRl84otrffYYDxB3Bj9sAThVXRaxzPiNVJblelYaKsqlcGDpE3 EIjT8Wfi2vojDatRo2gEa4TyR3SgDwPC5pbIk36BN5n2T5rnKgYp9Nh3u6rrXGD5e3cj 39NSfr8/xPE0o63WIJ8KDjrkJ2bjbonRpxyUBB3W6J/VIPMVF0Pk15D96QyXN0cxBg8W Q+LRYdz1qQ1pNVb7b9cGidYiHZF7hMkw9XPFpKdne4iJJN4FvbDl6mQKr0YzPxspOYKJ yB8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Iz3vmYbw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hh3si12919991ejb.490.2020.07.21.08.56.37; Tue, 21 Jul 2020 08:57:01 -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=@kernel.org header.s=default header.b=Iz3vmYbw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728458AbgGUPyN (ORCPT + 99 others); Tue, 21 Jul 2020 11:54:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:40768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726029AbgGUPyM (ORCPT ); Tue, 21 Jul 2020 11:54:12 -0400 Received: from mail-oo1-f43.google.com (mail-oo1-f43.google.com [209.85.161.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5CEED2077D; Tue, 21 Jul 2020 15:54:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595346851; bh=7YwE6zmlolnXrIDvIovVwCoGjPItA6t4+svrJdYth50=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Iz3vmYbwKAknWwvSnAsWrx+kKYjVj+9BXEirJaOU0WEd69APuiYoNgOWkdVL4dehx 7LyjiRy/IEXxM5doRoqtBesB4/Z/bt+j6izRV6hpBBYQKSEEuwmO+kh1kQDES/PGm1 yOkFs0ipS/hmz7seHC1GeZSZuABUhnhMy+FXvy2E= Received: by mail-oo1-f43.google.com with SMTP id t6so4004575ooh.4; Tue, 21 Jul 2020 08:54:11 -0700 (PDT) X-Gm-Message-State: AOAM533I39dDrjEbqyNVQTOxwhLaRjTIJaF/pn8RNGVbWyqpTZNnazFW qAAdq1vEEPNFUSt68h53fxGmjBqQM67siU30xw== X-Received: by 2002:a4a:ae07:: with SMTP id z7mr24532077oom.25.1595346850730; Tue, 21 Jul 2020 08:54:10 -0700 (PDT) MIME-Version: 1.0 References: <20200717234800.9423-1-s-anna@ti.com> <20200717234800.9423-4-s-anna@ti.com> In-Reply-To: <20200717234800.9423-4-s-anna@ti.com> From: Rob Herring Date: Tue, 21 Jul 2020 09:53:58 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 3/6] dt-bindings: remoteproc: Add common TI SCI rproc bindings To: Suman Anna , Lokesh Vutla Cc: Bjorn Andersson , Mathieu Poirier , "open list:REMOTE PROCESSOR (REMOTEPROC) SUBSYSTEM" , devicetree@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 17, 2020 at 5:48 PM Suman Anna wrote: > > 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 > --- > v4: Addressed both of Rob's review comments on ti,sci-proc-ids property > v3: https://patchwork.kernel.org/patch/11602317/ > > .../bindings/remoteproc/ti,k3-sci-proc.yaml | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,k3-sci-proc.yaml > > 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..0dca2ffdbc48 > --- /dev/null > +++ b/Documentation/devicetree/bindings/remoteproc/ti,k3-sci-proc.yaml > @@ -0,0 +1,48 @@ > +# 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. These also apply on Lokesh's series converting ti,sci-int[ra] bindings. Please rework to use for both. > + > + ti,sci-proc-ids: > + description: Should contain a single tuple of . > + $ref: /schemas/types.yaml#/definitions/uint32-array > + 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 > -- > 2.26.0 >