From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80708C433E3 for ; Tue, 21 Jul 2020 15:54:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 622B12077D for ; Tue, 21 Jul 2020 15:54:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595346856; bh=7YwE6zmlolnXrIDvIovVwCoGjPItA6t4+svrJdYth50=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=fUFblYliGBM0A0p2wO82k3C7tUn7Xk+PePpBjovjH9cdkaWdgTX+d4BEnGYTStkF+ P46mmZkFRJDmflJek+ZBzQR9kJs9ZW9zICxtE5gVQFvpIjcZfO2cDjoqnAoPxc+lJ0 98oJmfIJBjMCF4jJfxYB3G4QJ5wVux4wHn6jFAhI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728064AbgGUPyN (ORCPT ); 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-Google-Smtp-Source: ABdhPJxAzM/2DwnEuB4r4A7OI1g6uyx9kfxGkiJ8IopPkvBszfpb9C0ul1jz71QKkma5Db/cDeh3Y6zvX2E0GJ+/ELE= 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-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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 > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8E00C433E5 for ; Tue, 21 Jul 2020 15:55:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9407920714 for ; Tue, 21 Jul 2020 15:55:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KgMXcrFD"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Iz3vmYbw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9407920714 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=R4XPbn4yDBQpFwmgkSfCcjjrTALnSxscEnV7JKcS89U=; b=KgMXcrFD2X45rLiGonbHqMTtV Med6/Ky9B54VoEtVcXfeL5/Z0KV95qcv4MXolNdNY4T1K7RWmCcGAGHY2RQV9bVwPjdtoYDDtRPJE w52vGfCiryVuO00SXOMcl2wi84O5TH/N4FqjGvKV2+n5F8NuJy9jvRjGYcOjXYYRoDuWvsZ4rx/Og FgMG2kU5NvP2H8ne/zoJCfMFec95auzgNakf+WErsBCry9Pe1GFFZXGj1hb24VJMoC/TeBzJk2WnQ /oRgXOEllASahOaNbzuMZ2AlGkgfGgltonP7Az2hedHcPWYEz8McNA1Du+Sou5pWi6hKJa/Zt3SBU 7dy57XR6A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxuat-0008Ne-CE; Tue, 21 Jul 2020 15:54:15 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxuaq-0008MP-Rg for linux-arm-kernel@lists.infradead.org; Tue, 21 Jul 2020 15:54:13 +0000 Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) (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 5BD392073A for ; 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-f53.google.com with SMTP id t12so4008278ooc.10 for ; Tue, 21 Jul 2020 08:54:11 -0700 (PDT) X-Gm-Message-State: AOAM530eSzWOQi3HooDOKgnUJ5+OZsvZCuriypuKaxf3PM20r3wKazzK skFtF+c7pXz1JyRdLvpkTqBhfDfAUk+TkVYRuQ== X-Google-Smtp-Source: ABdhPJxAzM/2DwnEuB4r4A7OI1g6uyx9kfxGkiJ8IopPkvBszfpb9C0ul1jz71QKkma5Db/cDeh3Y6zvX2E0GJ+/ELE= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_115413_039254_6FA6AB8F X-CRM114-Status: GOOD ( 21.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Mathieu Poirier , "open list:REMOTE PROCESSOR \(REMOTEPROC\) SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Bjorn Andersson , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel