Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29191006rwd; Wed, 5 Jul 2023 08:23:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlFDbPbqQSx2EqRaaKK9NtYYYHinhl/DtrFuCmvIMNpUXpLNtS+ORXhMVWH6ec2/03jcKhnm X-Received: by 2002:a05:6a20:8e1f:b0:12a:82a0:687e with SMTP id y31-20020a056a208e1f00b0012a82a0687emr20900581pzj.60.1688570619293; Wed, 05 Jul 2023 08:23:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688570619; cv=none; d=google.com; s=arc-20160816; b=ujMOoGzocc+s6vE8hd61NMsAc3sSxb8Zpgecq5Y35n2DnF0k+qztjQhPc5BQjyhgNX VbLB93M+ZQHuoVRAyO3XflpT1y1gwO9eS8GmVEgGipVrpOpqkoZRKrqSvIeG8tbceIvH kgUXQdQ/pxAwjz8H4gM7Z3w07GWEtGKwf8gT38kNOpC4zXN2yzr/9p46XSTGijsTykh4 URrXKFw/SMQcmnMdlQfYGgSOi85oIAVicuQxHTPDEoaZwo6nal7xpXGmam8H0e7KpUab b9Mqxya/N1C917wHyGGAO+vtNKtDYeZ60RLz7cvVMpzcdZ8SXYSMlINHx2oLUzufSytR /QTg== 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=ntZarFLbQTEYHZ+JV9iNacGsDRqKaLFk6VizJ748mjA=; fh=sKWwe/2O4UrmOjGzjDm4amrKGotHZcSJ5DdEd5OsvBQ=; b=pzxqwML+EqLqXPldaBkwM/3l5j1CzMW0Hu0SyEIIAnxGPW9T8pQ45fXfxc3/BDwM6A 1dzBNRqvPCR7YFiVjSxMie0FbdUqxUoruE0lxmmDQb0XOi7sYjMfuoSVux71lb2l4Sy9 NoPJ+WxI52lwc1cBNIXnBscn9NO1s1Fo2X7b1H/0qV4RpsbHEF/lNXiOzvlqIKN81dfw ZUHQdIbljuq6o51UnUvoFmUlNczYuen1VE4wAP86VFN//U+zXBpA8//mH/ximhGm2HS6 qgE8dxBKqd4bdUaS3eR9LG8eghkG6O+3fTHbHG8aYIW6PIFPZaX0US7NvYe8uI650LHf cgEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NEuKWqef; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q27-20020a056a0002bb00b0064d45bbba8csi20304050pfs.62.2023.07.05.08.23.23; Wed, 05 Jul 2023 08:23:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NEuKWqef; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232734AbjGEPGy (ORCPT + 99 others); Wed, 5 Jul 2023 11:06:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232572AbjGEPGx (ORCPT ); Wed, 5 Jul 2023 11:06:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66402131; Wed, 5 Jul 2023 08:06:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 03E676156A; Wed, 5 Jul 2023 15:06:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AAC1C433C8; Wed, 5 Jul 2023 15:06:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688569611; bh=9lnuLnPUp+a1W5bMi5dat9Uy2/HBvlSTBdYbVbval/8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NEuKWqef0mCE5VU9AYbWFNz2ctcq97QILdHxoXbSPPB5PK43juTCFaYlTHdpQxc4k 2TL9xEW8B0G3TKO9qdCBKgPOyar4v4pPoLlE+TOI0NVkV68hAZckdJZ/vQ2Q/jJ9mb TPQ1xAyjuQEgW2aiIRHYKOGA8s6C+OFEtxJ+ehZIubx0z619nW3B8yV5TB5qACf5Qq SrNG6L+UpLUiHKsRdy/J+WUB+LdGBzZ4SLrh1VcZ2Gwiixx6NWQXeYSxhx5fGoVvwK OtdUhHIPeuOSVpDTaT0HcrWcmt0gb/jMzchnEOdb6ZXL8rZTUzXEfi7uSkc6sZiuMj BOscOmuwxX24A== Date: Wed, 5 Jul 2023 16:06:45 +0100 From: Conor Dooley To: Yunhui Cui Cc: sunilvl@ventanamicro.com, ardb@kernel.org, palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, rminnich@gmail.com, mark.rutland@arm.com, lpieralisi@kernel.org, rafael@kernel.org, lenb@kernel.org, jdelvare@suse.com, yc.hung@mediatek.com, angelogioacchino.delregno@collabora.com, allen-kh.cheng@mediatek.com, pierre-louis.bossart@linux.intel.com, tinghan.shen@mediatek.com, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, geshijian@bytedance.com, weidong.wd@bytedance.com Subject: Re: [PATCH v3 4/4] dt-bindings: firmware: Document ffitbl binding Message-ID: <20230705-oblivious-unstuffed-8e028a5b243c@spud> References: <20230705114251.661-1-cuiyunhui@bytedance.com> <20230705114251.661-5-cuiyunhui@bytedance.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="P4Xlq9WyafqDDvSq" Content-Disposition: inline In-Reply-To: <20230705114251.661-5-cuiyunhui@bytedance.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --P4Xlq9WyafqDDvSq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey, On Wed, Jul 05, 2023 at 07:42:51PM +0800, Yunhui Cui wrote: > Add the description for ffitbl subnode. >=20 > Signed-off-by: Yunhui Cui > --- > .../devicetree/bindings/firmware/ffitbl.txt | 27 +++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 28 insertions(+) > create mode 100644 Documentation/devicetree/bindings/firmware/ffitbl.txt >=20 > diff --git a/Documentation/devicetree/bindings/firmware/ffitbl.txt b/Docu= mentation/devicetree/bindings/firmware/ffitbl.txt > new file mode 100644 > index 000000000000..c42368626199 > --- /dev/null > +++ b/Documentation/devicetree/bindings/firmware/ffitbl.txt Firstly, new dt-bindings need to be done in yaml, not in text form. Secondly, you didn't re-run get_maintainer.pl after adding this binding, so you have not CCed any of the other dt-binding maintainers nor the devicetree mailing list. > @@ -0,0 +1,27 @@ > +FFI(FDT FIRMWARE INTERFACE) driver > + > +Required properties: > + - entry : acpi or smbios root pointer, u64 > + - reg : acpi or smbios version, u32 Please go look at any other dt-binding (or the example schema) as to how these properties should be used. A "reg" certainly should not be being used to store the revision... Cheers, Conor. > + > +Some bootloaders, such as Coreboot do not support EFI, > +only devicetree and some arches do not have a reserved > +address segment. Add "ffitbl" subnode to obtain ACPI RSDP > +and SMBIOS entry. > +This feature is known as FDT Firmware Interface (FFI). > + > +Example: > + ffitbl { > + > + smbios { > + entry =3D ""; > + reg =3D < 0x03 >; > + > + } > + acpi { > + entry =3D ""; > + reg =3D < 0x06 >; > + > + } > + } > + > diff --git a/MAINTAINERS b/MAINTAINERS > index 9b886ef36587..008257e55062 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7874,6 +7874,7 @@ F: include/linux/efi*.h > FDT FIRMWARE INTERFACE (FFI) > M: Yunhui Cui cuiyunhui@bytedance.com > S: Maintained > +F: Documentation/devicetree/bindings/firmware/ffitbl.txt > F: drivers/firmware/ffi.c > F: include/linux/ffi.h > =20 > --=20 > 2.20.1 >=20 --P4Xlq9WyafqDDvSq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZKWHBAAKCRB4tDGHoIJi 0uB+AP0RwrTXNhCYkGKgzXI8nTOE4BWsGObrWS3ZfGAVVwXpbQEA5sW73BLXMhxe NvzIKstw2Fg1XPTYnUwWjsFH3hHbIg4= =IUHS -----END PGP SIGNATURE----- --P4Xlq9WyafqDDvSq--