Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4750699rdb; Tue, 12 Dec 2023 08:19:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGIPLb13ZULvMd+MEhfgsM0K4yZQVAINYGTW7bp+SVk5PoZdrd8DG88M2lotBTJp7FV7LGE X-Received: by 2002:a05:6a20:7f9b:b0:18f:97c:9272 with SMTP id d27-20020a056a207f9b00b0018f097c9272mr3921780pzj.87.1702397962600; Tue, 12 Dec 2023 08:19:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702397962; cv=none; d=google.com; s=arc-20160816; b=M+dFmUc46dK0/5AbYZjZyWDfCCLndb8sHFUDS7hZGh9MS5w/wek2+bbu/4+g/owqgv 15XoNQNrS+ounnkhamN31Q/ROu1GVIuO64X9HNZKtUlLuyFfm1nlLRxyU9BSMqe9N3zR DOyU6sz/T5L7dk21KV0n8kYhQSwdxbeokHgA3qJ6FEHgSq5FhqXRPvPTFWqQLD9oy08v sYWumJNpwI1WTshEyOw/lIHNU4tMqA8qCbpDwwDv5SAl145tw4m5tfFNEBEncE6EqVel K9m7Bu2iRBBG7769fjrJTNVG/C3HFZ49Mrg8ds7W84hcLq2rAnRVisHPjJ5yo7/Broyc TeCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=i6kkESvJNM+dY7KpwSTErlkkubV594qOhcm9Ed+7UO8=; fh=Pr4z5wpSht0TDyqH0gjQrzj1fNK3Ym7eqqIT/hh6TCE=; b=hPrt+U/DyEyEOmNBXpQf6yYruRgScMMpE/xsEU/2mYlpJnlKdr+wFuYae49VvCXUpG e9F/gXjF1GNTar8BGc8e7pA+/AGWAA2BcyLzsL6/p4LPX76qgJVtHffr/Z0/gtE0y5ec 0s+EJKmCyiDIMoPhP6j2bKEjyU2r2b2CiX4ar9J+HCNyl0HU67yXLaNklo439UeG655G N3wHNv6N0aQiEiMzOu1lc/DmgWM7sMmSHN/OS5ieY2/jnb18hthuhMJZpcAHj8nsnuhD ukbYgFedRxUxXcSfDJBWZ/KuVIpqL8itmWfeo+Kh80l8lOpQGhWr8byB5SB85BEsa4b6 Qogw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uY9B8bTG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id y19-20020a056a00191300b006cddefd2031si7916871pfi.37.2023.12.12.08.19.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:19:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uY9B8bTG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id CF2E0808EF6D; Tue, 12 Dec 2023 08:19:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232796AbjLLQS7 (ORCPT + 99 others); Tue, 12 Dec 2023 11:18:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235114AbjLLQSq (ORCPT ); Tue, 12 Dec 2023 11:18:46 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9182111 for ; Tue, 12 Dec 2023 08:18:49 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1AFC3C433C7; Tue, 12 Dec 2023 16:18:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702397929; bh=UYaXZrFDR/cy/SyqvoOFltStolzjOE3ACy1szjYwMKg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uY9B8bTGeoApiuOFnJoml3G+mhJpKS4M7gpksSdv8eIO/TM1Q/6bOcRWyWMql1eFy SFSeCAMH9JpJCXM3I0ZQNo4gx0/gx2mfxDSluDvRkLk7ceSrpAe5L6CjlFT/HPxtph HfgoyafWpBfd/J1Omjoral0LpYzL6JW3iO28+/0JJ9KBx4v0p72azZZQY5HaztlUHu pWK4DyLohwVfCqhS6MXNbDWZaY6VSla3fyzcjpCe6gogZ3E18mO3j/kgk8YSMePsKW Kbh3wNKfJpD5QNsv1A/S0h3Pk6fkNrtpg3bkzqjyA8fTJVeaslqC7RIDbwlQ621ews vP4J4lK7i8WLQ== Date: Tue, 12 Dec 2023 16:18:43 +0000 From: Conor Dooley To: Tomer Maimon Cc: arnd@arndb.de, pmenzel@molgen.mpg.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, avifishman70@gmail.com, tali.perry1@gmail.com, joel@jms.id.au, venture@google.com, yuenn@google.com, benjaminfair@google.com, j.neuschaefer@gmx.net, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] dt-bindings: soc: nuvoton: Add NPCM BPC Message-ID: <20231212-uncut-sixfold-9359b141b149@spud> References: <20231212100703.3374555-1-tmaimon77@gmail.com> <20231212100703.3374555-2-tmaimon77@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EKatXyW3mv8oRlRW" Content-Disposition: inline In-Reply-To: <20231212100703.3374555-2-tmaimon77@gmail.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 12 Dec 2023 08:19:20 -0800 (PST) --EKatXyW3mv8oRlRW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 12, 2023 at 12:07:01PM +0200, Tomer Maimon wrote: > Added device tree binding documentation for Nuvoton BMC NPCM BIOS Post > Code (BPC). >=20 > The NPCM BPC monitoring two configurable I/O addresses written by the > host on the bus. >=20 > Signed-off-by: Tomer Maimon > --- > .../soc/nuvoton/nuvoton,npcm-bpc.yaml | 63 +++++++++++++++++++ > 1 file changed, 63 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/nuvoton/nuvoton= ,npcm-bpc.yaml >=20 > diff --git a/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-b= pc.yaml b/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-bpc.ya= ml > new file mode 100644 > index 000000000000..30033cdac8f5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-bpc.yaml > @@ -0,0 +1,63 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/nuvoton/nuvoton,npcm-bpc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Nuvoton BMC NPCM BIOS Post Code (bpc) controller > + > +maintainers: > + - Tomer Maimon > + > +description: > + Nuvoton BMC NPCM BIOS Post Code (BPC) monitoring two configurable I/O > + addresses written by the host on the bus, the capture data stored in > + 128-word FIFO. > + > + NPCM BPC supports capture double words, when using capture > + double word only I/O address 1 is monitored. > + > +properties: > + compatible: > + enum: > + - nuvoton,npcm750-bpc > + - nuvoton,npcm845-bpc > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + nuvoton,monitor-ports: > + $ref: /schemas/types.yaml#/definitions/uint32-array > + description: > + Contain monitor I/O addresses on the bus, at least one monitor I/O > + address required. > + > + nuvoton,bpc-en-dwcapture: > + description: > + If present, Enable FIFO capture of the DWord address according to > + one address setting. This sounds like something you can either infer from the compatible or is determining software policy. A more detailed explanation/justification is required here. Thanks, Conor. > + type: boolean > + > +required: > + - compatible > + - reg > + - interrupts > + - nuvoton,monitor-ports > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + bpc: bpc@f0007040 { > + compatible =3D "nuvoton,npcm750-bpc"; > + reg =3D <0xf0007040 0x20>; > + interrupts =3D ; > + nuvoton,monitor-ports =3D <0x80>; > + }; > +... > --=20 > 2.34.1 >=20 >=20 --EKatXyW3mv8oRlRW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZXiH4wAKCRB4tDGHoIJi 0sLCAQDUf4LaNco4BW20mKaW2lH+BVibKLD9Jte4xNrK4aGvzQD+O4RM8COYi+g1 NthOdrrQn5Cf2XV545V37YT7QRKckAI= =Ch0H -----END PGP SIGNATURE----- --EKatXyW3mv8oRlRW--