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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DA0E1C4829B for ; Mon, 12 Feb 2024 15:09:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=N0iDokubMd+SHidnpKijAuhfclKFH8mCGfbZLuUQOag=; b=EGxNfBtJkZCpL+ j4RbStiH4T7oPWKktJDdLOomTtSBFsKXIyLf7TWZfbvm/4pRrw8g8Pm6x4hbz8Z45nZauw6SJuuCr joH40UmHi1zqI4G5quiyXr8UYhp6fZozDFx7s8NkWSKYPBaFxN5SUivlI9vt3PxaOQVD++RZpsCy2 dk3gKv5EKxgz7v9/cZO2KbWamQWed02l9DozxKhVmBHvrqR1ZyKmXnZCjGoT6/Rg4OGcnB8G1Ge8E oQA1W7LQAeGtgdBVigSHPUQxojzB0EQNZ2+8vL/lw93Lttpknf5Pz6PQ1IoHyneskbFu25Hebi8KF ix3PsQZdiZihEXY+bN7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZXvz-00000005uTB-0uxo; Mon, 12 Feb 2024 15:09:27 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZXvw-00000005uSj-03g9 for linux-arm-kernel@lists.infradead.org; Mon, 12 Feb 2024 15:09:25 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 6110CCE1290; Mon, 12 Feb 2024 15:09:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B400C433C7; Mon, 12 Feb 2024 15:09:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707750561; bh=yAOkRRvjwv0S1+/IBcGtUlV6pwova0U+FDIhzivG/SI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kAn74EIu+LiKxryemabhTTWmxdG1H0OUYxtdtUk58L2JJvitUNU/cMpLvib/7e3ZF GyaJqLf6R4obxWHl4A0CKWxZ8v7s618EBSNbo2zgkcofKhrbkXvwfh76F5vSFpoDFx f7Sa0BwsgQH9IIRjrjhbDNvUOmyjJJI/DLQGMq1UNzwQ8MGGNgOE/dvxhlK3cQh+0D M/kzmJQ309gKGHseJLhnah/1om5lt8ZO4vUNLItyn9PUadYFPzLDKRuklI1uRN30r0 pIlGc6QAo328AEFxAzio0CfqAUQJU00ms9+dOggbBKjWvtMplKBzp4qqQB6pLi7UJ3 kqSSOTJlM9Mlg== Date: Mon, 12 Feb 2024 09:09:19 -0600 From: Rob Herring To: "Peng Fan (OSS)" Cc: Krzysztof Kozlowski , Conor Dooley , Sudeep Holla , Cristian Marussi , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: Re: [PATCH 1/5] dt-bindings: firmware: add i.MX SCMI Extension protocol Message-ID: <20240212150919.GA322668-robh@kernel.org> References: <20240202-imx95-bbm-misc-v1-0-3cb743020933@nxp.com> <20240202-imx95-bbm-misc-v1-1-3cb743020933@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240202-imx95-bbm-misc-v1-1-3cb743020933@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_070924_428763_E4FF093F X-CRM114-Status: GOOD ( 16.77 ) 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 02, 2024 at 02:34:39PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > Add i.MX SCMI Extension protocol BBM and MISC binding. No idea what BBM and MISC are. > > Signed-off-by: Peng Fan > --- > .../devicetree/bindings/firmware/nxp,scmi.yaml | 64 ++++++++++++++++++++++ > 1 file changed, 64 insertions(+) > > diff --git a/Documentation/devicetree/bindings/firmware/nxp,scmi.yaml b/Documentation/devicetree/bindings/firmware/nxp,scmi.yaml > new file mode 100644 > index 000000000000..00d6361bbbea > --- /dev/null > +++ b/Documentation/devicetree/bindings/firmware/nxp,scmi.yaml > @@ -0,0 +1,64 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +# Copyright 2024 NXP > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/firmware/nxp,scmi.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: i.MX System Control and Management Interface (SCMI) Protocol Extension > + > +maintainers: > + - Peng Fan > + > +allOf: > + - $ref: arm,scmi.yaml# > + > +properties: > + protocol@11: Wrong unit-address? > + $ref: 'arm,scmi.yaml#/$defs/protocol-node' > + unevaluatedProperties: false Description of what this protocol is needed. > + > + properties: > + reg: > + const: 0x81 > + > + protocol@13: > + $ref: 'arm,scmi.yaml#/$defs/protocol-node' > + unevaluatedProperties: false > + > + properties: > + reg: > + const: 0x84 > + > + wakeup-sources: Is this somehow generic? > + description: each entry consists of 2 integers and represents the source and edge What does 'edge' mean in this context? > + items: > + items: > + - description: the wakeup source > + - description: the wakeup edge Constraints? > + $ref: /schemas/types.yaml#/definitions/uint32-matrix > + > +additionalProperties: false > + > +examples: > + - | > + firmware { > + scmi { Need a compatible here so this actually gets tested. > + #address-cells = <1>; > + #size-cells = <0>; > + > + protocol@81 { > + reg = <0x81>; > + }; > + > + protocol@84 { > + reg = <0x84>; > + wakeup-sources = <6 1 > + 7 1 > + 8 1 > + 9 1 > + 10 1>; <> around each entry. e.g. "<6 1>" > + }; > + }; > + }; > +... > > -- > 2.37.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel