Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1184700ybh; Mon, 13 Jul 2020 11:29:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPNVQxBK+i/KJOIBn55i9ksom1FrlMmNys15m4wSTH5QRebEaaG3E+oXCIEzxV0NOG2sLz X-Received: by 2002:a17:906:c14f:: with SMTP id dp15mr998763ejc.454.1594664975171; Mon, 13 Jul 2020 11:29:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594664975; cv=none; d=google.com; s=arc-20160816; b=WXWPZZh3Nej1S8xlp8kvVGA5wiZZr+SX2er9ODCPBty51AwMO9c8T22neBT7O3KUd7 CYbGJmhOrkUnkHxqkKhA8Mohmif2Vi4FAgfJYbhQMfXWPLFsW/74Hzq7m/Gvf6Qy9Mzi TwISM1dyNUcyIJhriuL9Umt/ym+qY5OLSawqSH4k2JYISZsS/WevoZAgrdhkx+JHmDS3 3Qy2XsKIKkTAl5fIAIq+IYRDLYZ7+UcBYZjGz7pH3pC0qk1fc72C/xU/I9cOkoQ7o2qH 1pC0hBpDYfpi808d4deAKjrNBrbn74n/TDyTyCr0NiKcLwyv191v91BK69nM3lM0AkvY 6CSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=exzPzBz5rQz6yIUMzfndVvT7Bt4rufTcgf1jSTFAjaU=; b=PYV9W8J9Ywr++Va1k/KihGfydei+z5qFMgP3izS07r29XPQaNoFsQNp/nsbKFmvk3F prnzq8FgP3u1nEed2OawTv+r510RtlbRQJWIOGQLMJ4AfkJGc8Icef/B2EWF4HDdgTcq HiCXIkaS3ClxfNxyTE6oUPJH8sLJHHGi+A8k5t8OLsixNTm02f/tquMc4uFW7Wq7/iex iDLCzls+I+5exJYc3LjFtGkF+tZhaf+fMg7+UgyE5LjdSkYoX+N3GLSFZWlantm2CxqA cI9jr3vyvovt4woH08HG50s8l5riKFjAmoGKvVW1vYOsSeRY0lzCsXrFywIVNwMuVTq1 gRqw== ARC-Authentication-Results: i=1; mx.google.com; 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 lx8si10070751ejb.415.2020.07.13.11.29.11; Mon, 13 Jul 2020 11:29:35 -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; 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 S1726477AbgGMS2h (ORCPT + 99 others); Mon, 13 Jul 2020 14:28:37 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:39842 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726058AbgGMS2g (ORCPT ); Mon, 13 Jul 2020 14:28:36 -0400 Received: by mail-io1-f67.google.com with SMTP id f23so14565713iof.6; Mon, 13 Jul 2020 11:28:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=exzPzBz5rQz6yIUMzfndVvT7Bt4rufTcgf1jSTFAjaU=; b=WvoJAVlGVQAUNKrA8YzN3PZiILhesDuMKo4jqH0SIQRVc0uKD01lz9s6XK7MApJLZG c1sFI4496/a2DjvkrAfv4TPkDmloUOt+omY93H8HQHybODGQ/WQDi1xGr1iv8FhQdrvA NEQgt7BXkzQA1GEXIkMdqjsNWxk+AbVcpcjxhhJtGsGwIyZynry5QppOdwalzq1vDU98 ZefP0oS47cH4HL1KAtBdkWMDr9Zs2LQRI96HKxn5R5z17so/2LDvIMHWVxW+DcKwLmVL eVvE97Q4IZRQUPOh7iQg+/h1YoGcv0ktDJp7GBkZSOfLpBgQ7i1xqfM0Qhm/P+7PURrq Hciw== X-Gm-Message-State: AOAM530lEzF5W+Ocgbu9T/8DclkGZZ8X1uEL6SRpC5juHTqX6+CWPzQ5 rNZsN7xPxAkcGvSaT0NVDl4E8kp9nw== X-Received: by 2002:a05:6638:11cb:: with SMTP id g11mr1566054jas.14.1594664915892; Mon, 13 Jul 2020 11:28:35 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id o16sm8451566ilt.59.2020.07.13.11.28.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 11:28:35 -0700 (PDT) Received: (nullmailer pid 499962 invoked by uid 1000); Mon, 13 Jul 2020 18:28:34 -0000 Date: Mon, 13 Jul 2020 12:28:34 -0600 From: Rob Herring To: Suman Anna Cc: Bjorn Andersson , Mathieu Poirier , Lokesh Vutla , Grzegorz Jaszczyk , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/6] dt-bindings: remoteproc: Add common TI SCI rproc bindings Message-ID: <20200713182834.GA494208@bogus> References: <20200612224914.7634-1-s-anna@ti.com> <20200612224914.7634-4-s-anna@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200612224914.7634-4-s-anna@ti.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 12, 2020 at 05:49:11PM -0500, 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 > --- > 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 > > 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: You can drop allOf now. > + - $ref: /schemas/types.yaml#/definitions/uint32-array > + - maxItems: 1 > + items: You don't need 'maxItems' or 1st 'items' here. > + 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 >