e95d6d8b01
Changeset 23681e4791
("[PATCH] Driver core: allow struct device to have a dev_t")
added a /dev ABI for /sys/devices. Document it.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/bef678e68d1ac8ac504ed6e09f22105b787c877c.1632750608.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
Note:
|
|
This documents additional properties of any device beyond what
|
|
is documented in Documentation/admin-guide/sysfs-rules.rst
|
|
|
|
What: /sys/devices/*/of_node
|
|
Date: February 2015
|
|
Contact: Device Tree mailing list <devicetree@vger.kernel.org>
|
|
Description:
|
|
Any device associated with a device-tree node will have
|
|
an of_path symlink pointing to the corresponding device
|
|
node in /sys/firmware/devicetree/
|
|
|
|
What: /sys/devices/*/devspec
|
|
Date: October 2016
|
|
Contact: Device Tree mailing list <devicetree@vger.kernel.org>
|
|
Description:
|
|
If CONFIG_OF is enabled, then this file is present. When
|
|
read, it returns full name of the device node.
|
|
|
|
What: /sys/devices/*/obppath
|
|
Date: October 2016
|
|
Contact: Device Tree mailing list <devicetree@vger.kernel.org>
|
|
Description:
|
|
If CONFIG_OF is enabled, then this file is present. When
|
|
read, it returns full name of the device node.
|
|
|
|
What: /sys/devices/*/dev
|
|
Date: Jun 2006
|
|
Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
Description:
|
|
Major and minor numbers of the character device corresponding
|
|
to the device (in <major>:<minor> format).
|