Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2507944rdb; Mon, 12 Feb 2024 07:09:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXjtJYah5CapPj5piMDuHUtg6hc5K8Yk5TDZuEf6Km0aM9lxOX9nJgVGcopkfwc/uWngijyrpM/IiAnZjIbhMLqAkQCl+eEzZrtDoCyBg== X-Google-Smtp-Source: AGHT+IH/QUsFT4nHo0cbs6RGZs9ord30l83NTqmxd1lxxh/eSTbnR19y3KoDmv5ikNZgYEIRbTfB X-Received: by 2002:a2e:8047:0:b0:2cf:2781:8735 with SMTP id p7-20020a2e8047000000b002cf27818735mr4352036ljg.23.1707750572776; Mon, 12 Feb 2024 07:09:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707750572; cv=pass; d=google.com; s=arc-20160816; b=RqQFA3hcd6293q/uMoM4OrUQQAjbB4nCP9SyMHa0YRpi2jLv3g4XfzxQdwQhcY84cv 9dhZwp0QIkpZ2brryPImdm7qjgiNmciVnt6YZTBcCb5LMRAIx2VPCrHeFS487VqDgyjY YETP283iOx8832vL4HwrtxHicSSELoK6n999wfV97cuL+frMw3o6EpCtnhYFsK6BAb9p COIpYL8YYi3INO/7YmeC79+kNXX0LBcShj8k0ow6RYjxR1dfhzSsiXhjmylLrpdM/wec jRGcDrtMc4Gx5pY3WkZ/ey7WusQmVBjP9ijM8KEKKiDe3wIe9tVPBkvnAIDKit9Q93SJ 4iTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jSXMTzZ+/nTLM/6TRpbC/hTQpNF2mZpT9jj4rNMD9cY=; fh=/MfEHJgy7NQWaWsJTMd/6sJBLnAaPC8yampZMe7u1u8=; b=nLdYE+8iI54FnCoqccGR5XlJWZ5YklaN13SInJF7L93Rc0LxGMmucezOps7Nnrlfi9 6GOmFlFvhzqDI6+E6pDVTDil9JB4DTgKzDC/aSFjPWgrxzk49BnaKTit89Vn7K498dT1 k1Utvgkm5dMsE4DhMN60iLCgXQrNQaa26mqdmFYy3oJQJcsR2AqI0e1NS0NJEyeAmQ1j HM8I7/lRgzF+97nG4oi/UN8Kz2Ct60vcuBi1D+GSiWUy6OrKIQRuDY4yg5xOyQURDxLu zLBP44NBAgz3oSqP3CEQZl05ed9yINT+aH4gAv/Ggu4lkxPeISbvPbz/zW/7hejrcKrw 7NLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kAn74EIu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-61874-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61874-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCUMu1XfK6krvzXj0l0VyrR8kUmr9g+p56g9Eh1vdo98KgwdxYah6UaXu3Ju4OzLxLAG3B2ogrO7tTAERG+1PWzZAw285LPKaEzZPd0DGA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c14-20020a05640227ce00b00561a1c04c77si1450716ede.457.2024.02.12.07.09.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 07:09:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61874-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kAn74EIu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-61874-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61874-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5A1691F22550 for ; Mon, 12 Feb 2024 15:09:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7F573C092; Mon, 12 Feb 2024 15:09:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kAn74EIu" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1727E39FE2; Mon, 12 Feb 2024 15:09:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707750562; cv=none; b=UAbDXUFACfQ/6flIsKrkgs+/JDve1SPu59FVfbUZ/BgkxkcKsTZee6LXiHS1oAU40/J8+/IcFcvvuYEUThb19afDyCX6MU5jMH1kLRUOyOzNajx32XlHTb7uQ5SJTzPWXTVg1S0eq7JUiqMph1LWCAp0JW32plTX+axHQxSjoeY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707750562; c=relaxed/simple; bh=yAOkRRvjwv0S1+/IBcGtUlV6pwova0U+FDIhzivG/SI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cs9E3j0uhtaQVf27fmOwT6ofB2D8hSU1fJxf4fPe9xEljAOrvsiTO7gXQ3M1SGb4VIA+tsHtYzqy94pLFL9OKlTjE22mdotupsXhFCdQGviwdUGwa5TSHNaz06hVoA+GK2SaUKjqFKiGfRynXbcEOv7x6OBxFKAA+qtWsaUGXbA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kAn74EIu; arc=none smtp.client-ip=10.30.226.201 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240202-imx95-bbm-misc-v1-1-3cb743020933@nxp.com> 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 >