Skip to content

Commit 9a499e0

Browse files
a-wairobherring
authored andcommitted
Add new 'chassis-type' root node property
ACPI-based systems generally provide DMI data allowing userspace software to identify the form-factor of the running system. Such information can be useful (for example, in order to implement different behavior on a desktop and on a smartphone) but is not readily available on DT-based systems. This patch proposes adding a new optional property to the root node, allowing a way to specify the system form factor. The new property is named `chassis-type`, using the same values as systemd's hostnamed. Signed-off-by: Arnaud Ferraris <[email protected]>
1 parent 963c5fa commit 9a499e0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

source/chapter3-devicenodes.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,17 @@ are descendants. The full path to the root node is ``/``.
5252
``compatible = "fsl,mpc8572ds"``
5353
``serial-number`` O ``<string>`` Specifies a string representing the device's
5454
serial number.
55+
``chassis-type`` OR ``<string>`` Specifies a string that identifies the form-factor
56+
of the system. The property value can be one of:
57+
58+
* ``"desktop"``
59+
* ``"laptop"``
60+
* ``"convertible"``
61+
* ``"server"``
62+
* ``"tablet"``
63+
* ``"handset"``
64+
* ``"watch"``
65+
* ``"embedded"``
5566
Usage legend: R=Required, O=Optional, OR=Optional but Recommended, SD=See Definition
5667
===========================================================================================
5768

0 commit comments

Comments
 (0)