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=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, 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 1520CC433DB for ; Fri, 5 Mar 2021 20:41:01 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 9052564FEA for ; Fri, 5 Mar 2021 20:41:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9052564FEA 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QpuP/y4Wj73NDuTbv8NTk3lax0ovrFgHALrheTjo/zw=; b=VdpQka/0Zurnv9Q9FalHgtmg9 YBmGqIQ6Q2l9p8v32TXb6rpE2nDfeczNPAOxz6w3ETObARkKW+urf92ftSkSsfA2CsQ45v8V9LbuJ 6tFlT/oU+2ork4LOA0d9DpKhc8OBE2hhtGqdL3KttkE2Mg/VjuQ2nhnDHKh5xrX/rGpNCF+kEBoI6 xh615vD7ij2W8mLA39utMSEelvaO3VLRxfch1+0kF6RGm3IiDcBLtbe2vSr49gz8YyNmpBMgMaSE3 IPvnToD2U9GFQfzX6YvlMe503xvjk4GqivkDtPIseIMIKWrF2VaIVR2kZ1j+hSbetRQxuAfunkeAV dRWXEBfjA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lIHDy-00GPL7-UM; Fri, 05 Mar 2021 20:39:03 +0000 Received: from mail-oi1-f171.google.com ([209.85.167.171]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lIHDo-00GPJL-O0 for linux-arm-kernel@lists.infradead.org; Fri, 05 Mar 2021 20:38:55 +0000 Received: by mail-oi1-f171.google.com with SMTP id z126so3920210oiz.6 for ; Fri, 05 Mar 2021 12:38:52 -0800 (PST) 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=5Uv2fBsdzVzAjrkZscaxWC7WQeabh4APOPETOERYi/I=; b=gq112Qb31agErD3MRmmR+X9/kZCpl6+qiCz6BYH4ROfLQNrpOhN+06HQfzMJu78vxX preYwDfqkNeaL7Z070A/iBdCc2vJdW8wx+Bm9Ipu6diYiqpbCr5raU4s6lOM71DwJJGu 1CagkH75w+uVAI+qz81c8HvoblzuFGoVUDybbv1l69EELKncmyGSCTbA3u9Pa3bZs1lA o8egHQ/w4NA/UrUBqPSurrqmtcnLzPGBps375psoNZQHPgCNz+4CgAwfJOcKRBqAYGRq SGomM6qjsYQfzp/rivSH1ROvrHulHtMIoOAryRMiim9XYscjlcEFQjWy0xvjRAl/aesT Xydw== X-Gm-Message-State: AOAM531zZdIU/cdrIADs0wzeNbac6FmHYZDS5+ebkEb/fCJcCL1qvY2c I2TeAhJEdl3seT1iWKoEXA== X-Google-Smtp-Source: ABdhPJzzpNKS6xGg7OHNDAzJY160AxS0PJb9i0/5L1J0+7iQqrqMCku2u/Ura0ufM5ACxWmsy/9msg== X-Received: by 2002:aca:c792:: with SMTP id x140mr8470741oif.86.1614976731709; Fri, 05 Mar 2021 12:38:51 -0800 (PST) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id t6sm789926otc.49.2021.03.05.12.38.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Mar 2021 12:38:50 -0800 (PST) Received: (nullmailer pid 606466 invoked by uid 1000); Fri, 05 Mar 2021 20:38:49 -0000 Date: Fri, 5 Mar 2021 14:38:49 -0600 From: Rob Herring To: Sudeep Holla Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Trilok Soni , arve@android.com, Andrew Walbran , David Hartley , Achin Gupta , Jens Wiklander , Arunachalam Ganapathy , Marc Bonnici Subject: Re: [PATCH v4 1/7] dt-bindings: Arm: Add Firmware Framework for Armv8-A (FF-A) binding Message-ID: <20210305203849.GA585154@robh.at.kernel.org> References: <20210212154614.38604-1-sudeep.holla@arm.com> <20210212154614.38604-2-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210212154614.38604-2-sudeep.holla@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210305_203852_981785_9DD33B33 X-CRM114-Status: GOOD ( 28.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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, Feb 12, 2021 at 03:46:08PM +0000, Sudeep Holla wrote: > Since the FF-A v1.0 specification doesn't list the UUID of all the > partitions in the discovery API, we need to specify the UUID of the > partitions that need to be accessed by drivers within the kernel. > > This binding to provide the list of partitions that kernel drivers > may need to access. > > Signed-off-by: Sudeep Holla > --- > .../devicetree/bindings/arm/arm,ffa.yaml | 58 +++++++++++++++++++ > 1 file changed, 58 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/arm,ffa.yaml > > Hi Rob, > > Sorry to send the same version again just to keep the driver review progress. > I am still exploring on how to add "format: uuid" support in the dt-schemas. > I am seeing errors as format is used in some of the audio/video DT bindings. > I get errors for all those files, may be I need to use $format, initial > trial to do that also failed. Other bindings shouldn't affect you. The meta-schema and maybe the fixups are probably the issue. It's something I need to fix. > Regarding other comment, I had replied earlier[1] as why we need to keep > separate DT nodes for each partitions. That's fine. It's the other users like TF-A that I'm now more concerned about... > [1] https://lore.kernel.org/linux-arm-kernel/20210113100011.bnn75jogx22cgkk4@bogus/ > > Regards, > Sudeep > > > diff --git a/Documentation/devicetree/bindings/arm/arm,ffa.yaml b/Documentation/devicetree/bindings/arm/arm,ffa.yaml > new file mode 100644 > index 000000000000..a014a5801c34 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/arm,ffa.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/arm,ffa.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Arm Firmware Framework for Arm v8-A (in-kernel users) > + > +maintainers: > + - Sudeep Holla > + > +description: | > + Firmware frameworks implementing partition according to the FF-A > + specification defined by ARM document number ARM DEN 0077A ("Arm Firmware > + Framework for Arm v8-A") [0], providing services to be used by other > + partitions. > + > + [0] https://developer.arm.com/docs/den0077/latest > + > +properties: > + $nodename: > + const: ffa > + > + compatible: > + oneOf: > + - const: arm,ffa-1.0 > + > +patternProperties: > + "^ffa_partition[0-9]+$": '^ffa-partition-[0-9a-f]+$' > + type: object > + description: One or more child nodes, each describing an FFA partition. > + properties: > + $nodename: > + const: ffa_partition > + > + compatible: > + oneOf: Don't need oneOf. > + - const: arm,ffa-1.0-partition > + > + uuid: > + $ref: '/schemas/types.yaml#definitions/string' > + description: | > + The 128-bit UUID [2] of the service implemented by this partition. > + > + [2] https://tools.ietf.org/html/rfc4122 > + > +additionalProperties: false > + > +examples: > + - | > + ffa { > + compatible = "arm,ffa-1.0"; > + > + ffa_partition0 { > + compatible = "arm,ffa-1.0-partition"; > + uuid = "12345678-9abc-def0-1234-56789abcdef0"; > + }; > + }; > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel