Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / Documentation / ABI / testing / sysfs-devices-removable
1 What:           /sys/devices/.../removable
2 Date:           May 2021
3 Contact:        Rajat Jain <rajatxjain@gmail.com>
4 Description:
5                 Information about whether a given device can be removed from the
6                 platform by the user. This is determined by its subsystem in a
7                 bus / platform-specific way. This attribute is only present for
8                 devices that can support determining such information:
9
10                 "removable": device can be removed from the platform by the user
11                 "fixed":     device is fixed to the platform / cannot be removed
12                              by the user.
13                 "unknown":   The information is unavailable / cannot be deduced.
14
15                 Currently this is only supported by USB (which infers the
16                 information from a combination of hub descriptor bits and
17                 platform-specific data such as ACPI) and PCI (which gets this
18                 from ACPI / device tree).