| Message ID | 20251031084101.701159-2-adriana@arista.com |
|---|---|
| State | New |
| Headers | show |
| Series | DMI: Scan for DMI table from DTS info | expand |
On Fri, 31 Oct 2025 at 09:41, adriana <adriana@arista.com> wrote: > > From: Adriana Nicolae <adriana@arista.com> > > Signed-off-by: Adriana Nicolae <adriana@arista.com> > --- > .../bindings/firmware/linux,smbios-table.yaml | 26 +++++++++++++++++++ > 1 file changed, 26 insertions(+) > create mode 100644 Documentation/devicetree/bindings/firmware/linux,smbios-table.yaml > > diff --git a/Documentation/devicetree/bindings/firmware/linux,smbios-table.yaml b/Documentation/devicetree/bindings/firmware/linux,smbios-table.yaml > new file mode 100644 > index 000000000000..b78d8ec6025f > --- /dev/null > +++ b/Documentation/devicetree/bindings/firmware/linux,smbios-table.yaml > @@ -0,0 +1,26 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright 2025 Arista Networks > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/firmware/linux,smbios-table.yaml# Should the file name reflect the property? I.e., linux,smbios3-table.yaml > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Memory location for SMBIOS table > + > +description: | > + This property is used in the /chosen node to pass the physical address > + of SMBIOS (System Management BIOS) or DMI (Desktop Management Interface) > + tables from firmware to the kernel. This is typically used on non-EFI > + platforms like ARM/ARM64. > + 'like ARM/ARM64' is both unnecessary and inaccurate, so better to drop it. > +maintainers: > + - Adriana Nicolae <adriana@arista.com> > + - Rob Herring <robh+dt@kernel.org> > + > +properties: > + linux,smbios3-table: > + $ref: /schemas/types.yaml#/definitions/uint64 > + description: > + The 64-bit physical address of the SMBIOSv3 entry point structure. > + > +additionalProperties: true > -- > 2.51.0 >
On Fri, 31 Oct 2025 at 09:52, Ard Biesheuvel <ardb@kernel.org> wrote: > > On Fri, 31 Oct 2025 at 09:41, adriana <adriana@arista.com> wrote: > > > > From: Adriana Nicolae <adriana@arista.com> > > > > Signed-off-by: Adriana Nicolae <adriana@arista.com> > > --- > > .../bindings/firmware/linux,smbios-table.yaml | 26 +++++++++++++++++++ > > 1 file changed, 26 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/firmware/linux,smbios-table.yaml > > > > diff --git a/Documentation/devicetree/bindings/firmware/linux,smbios-table.yaml b/Documentation/devicetree/bindings/firmware/linux,smbios-table.yaml > > new file mode 100644 > > index 000000000000..b78d8ec6025f > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/firmware/linux,smbios-table.yaml > > @@ -0,0 +1,26 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +# Copyright 2025 Arista Networks > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/firmware/linux,smbios-table.yaml# > > Should the file name reflect the property? I.e., linux,smbios3-table.yaml > And maybe the property should be called linux,smbios3-entrypoint? Sorry for the bikeshedding but this will be set in stone as soon as we deploy it so better to get it right the first time. > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Memory location for SMBIOS table > > + > > +description: | > > + This property is used in the /chosen node to pass the physical address > > + of SMBIOS (System Management BIOS) or DMI (Desktop Management Interface) > > + tables from firmware to the kernel. This is typically used on non-EFI > > + platforms like ARM/ARM64. > > + > > 'like ARM/ARM64' is both unnecessary and inaccurate, so better to drop it. > > > +maintainers: > > + - Adriana Nicolae <adriana@arista.com> > > + - Rob Herring <robh+dt@kernel.org> > > + > > +properties: > > + linux,smbios3-table: > > + $ref: /schemas/types.yaml#/definitions/uint64 > > + description: > > + The 64-bit physical address of the SMBIOSv3 entry point structure. > > + > > +additionalProperties: true > > -- > > 2.51.0 > >
diff --git a/Documentation/devicetree/bindings/firmware/linux,smbios-table.yaml b/Documentation/devicetree/bindings/firmware/linux,smbios-table.yaml new file mode 100644 index 000000000000..b78d8ec6025f --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/linux,smbios-table.yaml @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2025 Arista Networks +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/firmware/linux,smbios-table.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Memory location for SMBIOS table + +description: | + This property is used in the /chosen node to pass the physical address + of SMBIOS (System Management BIOS) or DMI (Desktop Management Interface) + tables from firmware to the kernel. This is typically used on non-EFI + platforms like ARM/ARM64. + +maintainers: + - Adriana Nicolae <adriana@arista.com> + - Rob Herring <robh+dt@kernel.org> + +properties: + linux,smbios3-table: + $ref: /schemas/types.yaml#/definitions/uint64 + description: + The 64-bit physical address of the SMBIOSv3 entry point structure. + +additionalProperties: true