diff options
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/obsolete/sysfs-block-zram | 119 | ||||
-rw-r--r-- | Documentation/ABI/stable/sysfs-devices | 10 | ||||
-rw-r--r-- | Documentation/ABI/testing/configfs-usb-gadget-printer | 9 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-block-zram | 25 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-iio | 137 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-cxl | 2 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-led-flash | 80 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-net | 8 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-net-queues | 8 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-hid | 10 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff | 45 |
11 files changed, 441 insertions, 12 deletions
diff --git a/Documentation/ABI/obsolete/sysfs-block-zram b/Documentation/ABI/obsolete/sysfs-block-zram new file mode 100644 index 000000000000..720ea92cfb2e --- /dev/null +++ b/Documentation/ABI/obsolete/sysfs-block-zram | |||
@@ -0,0 +1,119 @@ | |||
1 | What: /sys/block/zram<id>/num_reads | ||
2 | Date: August 2015 | ||
3 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
4 | Description: | ||
5 | The num_reads file is read-only and specifies the number of | ||
6 | reads (failed or successful) done on this device. | ||
7 | Now accessible via zram<id>/stat node. | ||
8 | |||
9 | What: /sys/block/zram<id>/num_writes | ||
10 | Date: August 2015 | ||
11 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
12 | Description: | ||
13 | The num_writes file is read-only and specifies the number of | ||
14 | writes (failed or successful) done on this device. | ||
15 | Now accessible via zram<id>/stat node. | ||
16 | |||
17 | What: /sys/block/zram<id>/invalid_io | ||
18 | Date: August 2015 | ||
19 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
20 | Description: | ||
21 | The invalid_io file is read-only and specifies the number of | ||
22 | non-page-size-aligned I/O requests issued to this device. | ||
23 | Now accessible via zram<id>/io_stat node. | ||
24 | |||
25 | What: /sys/block/zram<id>/failed_reads | ||
26 | Date: August 2015 | ||
27 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
28 | Description: | ||
29 | The failed_reads file is read-only and specifies the number of | ||
30 | failed reads happened on this device. | ||
31 | Now accessible via zram<id>/io_stat node. | ||
32 | |||
33 | What: /sys/block/zram<id>/failed_writes | ||
34 | Date: August 2015 | ||
35 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
36 | Description: | ||
37 | The failed_writes file is read-only and specifies the number of | ||
38 | failed writes happened on this device. | ||
39 | Now accessible via zram<id>/io_stat node. | ||
40 | |||
41 | What: /sys/block/zram<id>/notify_free | ||
42 | Date: August 2015 | ||
43 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
44 | Description: | ||
45 | The notify_free file is read-only. Depending on device usage | ||
46 | scenario it may account a) the number of pages freed because | ||
47 | of swap slot free notifications or b) the number of pages freed | ||
48 | because of REQ_DISCARD requests sent by bio. The former ones | ||
49 | are sent to a swap block device when a swap slot is freed, which | ||
50 | implies that this disk is being used as a swap disk. The latter | ||
51 | ones are sent by filesystem mounted with discard option, | ||
52 | whenever some data blocks are getting discarded. | ||
53 | Now accessible via zram<id>/io_stat node. | ||
54 | |||
55 | What: /sys/block/zram<id>/zero_pages | ||
56 | Date: August 2015 | ||
57 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
58 | Description: | ||
59 | The zero_pages file is read-only and specifies number of zero | ||
60 | filled pages written to this disk. No memory is allocated for | ||
61 | such pages. | ||
62 | Now accessible via zram<id>/mm_stat node. | ||
63 | |||
64 | What: /sys/block/zram<id>/orig_data_size | ||
65 | Date: August 2015 | ||
66 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
67 | Description: | ||
68 | The orig_data_size file is read-only and specifies uncompressed | ||
69 | size of data stored in this disk. This excludes zero-filled | ||
70 | pages (zero_pages) since no memory is allocated for them. | ||
71 | Unit: bytes | ||
72 | Now accessible via zram<id>/mm_stat node. | ||
73 | |||
74 | What: /sys/block/zram<id>/compr_data_size | ||
75 | Date: August 2015 | ||
76 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
77 | Description: | ||
78 | The compr_data_size file is read-only and specifies compressed | ||
79 | size of data stored in this disk. So, compression ratio can be | ||
80 | calculated using orig_data_size and this statistic. | ||
81 | Unit: bytes | ||
82 | Now accessible via zram<id>/mm_stat node. | ||
83 | |||
84 | What: /sys/block/zram<id>/mem_used_total | ||
85 | Date: August 2015 | ||
86 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
87 | Description: | ||
88 | The mem_used_total file is read-only and specifies the amount | ||
89 | of memory, including allocator fragmentation and metadata | ||
90 | overhead, allocated for this disk. So, allocator space | ||
91 | efficiency can be calculated using compr_data_size and this | ||
92 | statistic. | ||
93 | Unit: bytes | ||
94 | Now accessible via zram<id>/mm_stat node. | ||
95 | |||
96 | What: /sys/block/zram<id>/mem_used_max | ||
97 | Date: August 2015 | ||
98 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
99 | Description: | ||
100 | The mem_used_max file is read/write and specifies the amount | ||
101 | of maximum memory zram have consumed to store compressed data. | ||
102 | For resetting the value, you should write "0". Otherwise, | ||
103 | you could see -EINVAL. | ||
104 | Unit: bytes | ||
105 | Downgraded to write-only node: so it's possible to set new | ||
106 | value only; its current value is stored in zram<id>/mm_stat | ||
107 | node. | ||
108 | |||
109 | What: /sys/block/zram<id>/mem_limit | ||
110 | Date: August 2015 | ||
111 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
112 | Description: | ||
113 | The mem_limit file is read/write and specifies the maximum | ||
114 | amount of memory ZRAM can use to store the compressed data. | ||
115 | The limit could be changed in run time and "0" means disable | ||
116 | the limit. No limit is the initial state. Unit: bytes | ||
117 | Downgraded to write-only node: so it's possible to set new | ||
118 | value only; its current value is stored in zram<id>/mm_stat | ||
119 | node. | ||
diff --git a/Documentation/ABI/stable/sysfs-devices b/Documentation/ABI/stable/sysfs-devices new file mode 100644 index 000000000000..43f78b88da28 --- /dev/null +++ b/Documentation/ABI/stable/sysfs-devices | |||
@@ -0,0 +1,10 @@ | |||
1 | # Note: This documents additional properties of any device beyond what | ||
2 | # is documented in Documentation/sysfs-rules.txt | ||
3 | |||
4 | What: /sys/devices/*/of_path | ||
5 | Date: February 2015 | ||
6 | Contact: Device Tree mailing list <devicetree@vger.kernel.org> | ||
7 | Description: | ||
8 | Any device associated with a device-tree node will have | ||
9 | an of_path symlink pointing to the corresponding device | ||
10 | node in /sys/firmware/devicetree/ | ||
diff --git a/Documentation/ABI/testing/configfs-usb-gadget-printer b/Documentation/ABI/testing/configfs-usb-gadget-printer new file mode 100644 index 000000000000..6b0714e3c605 --- /dev/null +++ b/Documentation/ABI/testing/configfs-usb-gadget-printer | |||
@@ -0,0 +1,9 @@ | |||
1 | What: /config/usb-gadget/gadget/functions/printer.name | ||
2 | Date: Apr 2015 | ||
3 | KernelVersion: 4.1 | ||
4 | Description: | ||
5 | The attributes: | ||
6 | |||
7 | pnp_string - Data to be passed to the host in pnp string | ||
8 | q_len - Number of requests per endpoint | ||
9 | |||
diff --git a/Documentation/ABI/testing/sysfs-block-zram b/Documentation/ABI/testing/sysfs-block-zram index a6148eaf91e5..2e69e83bf510 100644 --- a/Documentation/ABI/testing/sysfs-block-zram +++ b/Documentation/ABI/testing/sysfs-block-zram | |||
@@ -141,3 +141,28 @@ Description: | |||
141 | amount of memory ZRAM can use to store the compressed data. The | 141 | amount of memory ZRAM can use to store the compressed data. The |
142 | limit could be changed in run time and "0" means disable the | 142 | limit could be changed in run time and "0" means disable the |
143 | limit. No limit is the initial state. Unit: bytes | 143 | limit. No limit is the initial state. Unit: bytes |
144 | |||
145 | What: /sys/block/zram<id>/compact | ||
146 | Date: August 2015 | ||
147 | Contact: Minchan Kim <minchan@kernel.org> | ||
148 | Description: | ||
149 | The compact file is write-only and trigger compaction for | ||
150 | allocator zrm uses. The allocator moves some objects so that | ||
151 | it could free fragment space. | ||
152 | |||
153 | What: /sys/block/zram<id>/io_stat | ||
154 | Date: August 2015 | ||
155 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
156 | Description: | ||
157 | The io_stat file is read-only and accumulates device's I/O | ||
158 | statistics not accounted by block layer. For example, | ||
159 | failed_reads, failed_writes, etc. File format is similar to | ||
160 | block layer statistics file format. | ||
161 | |||
162 | What: /sys/block/zram<id>/mm_stat | ||
163 | Date: August 2015 | ||
164 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
165 | Description: | ||
166 | The mm_stat file is read-only and represents device's mm | ||
167 | statistics (orig_data_size, compr_data_size, etc.) in a format | ||
168 | similar to block layer statistics file format. | ||
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index 9a70c31619ea..3befcb19f414 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio | |||
@@ -253,6 +253,8 @@ What: /sys/bus/iio/devices/iio:deviceX/in_temp_offset | |||
253 | What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset | 253 | What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset |
254 | What: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset | 254 | What: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset |
255 | What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset | 255 | What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset |
256 | What: /sys/bus/iio/devices/iio:deviceX/in_magn_offset | ||
257 | What: /sys/bus/iio/devices/iio:deviceX/in_rot_offset | ||
256 | KernelVersion: 2.6.35 | 258 | KernelVersion: 2.6.35 |
257 | Contact: linux-iio@vger.kernel.org | 259 | Contact: linux-iio@vger.kernel.org |
258 | Description: | 260 | Description: |
@@ -296,6 +298,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale | |||
296 | What: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale | 298 | What: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale |
297 | What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale | 299 | What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale |
298 | What: /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale | 300 | What: /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale |
301 | What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_scale | ||
299 | KernelVersion: 2.6.35 | 302 | KernelVersion: 2.6.35 |
300 | Contact: linux-iio@vger.kernel.org | 303 | Contact: linux-iio@vger.kernel.org |
301 | Description: | 304 | Description: |
@@ -336,6 +339,7 @@ what /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale | |||
336 | what /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale | 339 | what /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale |
337 | What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale | 340 | What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale |
338 | What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale | 341 | What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale |
342 | What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale | ||
339 | KernelVersion: 2.6.35 | 343 | KernelVersion: 2.6.35 |
340 | Contact: linux-iio@vger.kernel.org | 344 | Contact: linux-iio@vger.kernel.org |
341 | Description: | 345 | Description: |
@@ -347,7 +351,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender | |||
347 | What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender | 351 | What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender |
348 | What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender | 352 | What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender |
349 | What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender | 353 | What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender |
350 | KernelVersion: 3.20 | 354 | KernelVersion: 4.0 |
351 | Contact: linux-iio@vger.kernel.org | 355 | Contact: linux-iio@vger.kernel.org |
352 | Description: | 356 | Description: |
353 | Gender of the user (e.g.: male, female) used by some pedometers | 357 | Gender of the user (e.g.: male, female) used by some pedometers |
@@ -358,7 +362,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender_available | |||
358 | What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender_available | 362 | What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender_available |
359 | What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender_available | 363 | What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender_available |
360 | What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender_available | 364 | What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender_available |
361 | KernelVersion: 3.20 | 365 | KernelVersion: 4.0 |
362 | Contact: linux-iio@vger.kernel.org | 366 | Contact: linux-iio@vger.kernel.org |
363 | Description: | 367 | Description: |
364 | Lists all available gender values (e.g.: male, female). | 368 | Lists all available gender values (e.g.: male, female). |
@@ -375,7 +379,7 @@ Description: | |||
375 | type. | 379 | type. |
376 | 380 | ||
377 | What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibweight | 381 | What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibweight |
378 | KernelVersion: 3.20 | 382 | KernelVersion: 4.0 |
379 | Contact: linux-iio@vger.kernel.org | 383 | Contact: linux-iio@vger.kernel.org |
380 | Description: | 384 | Description: |
381 | Weight of the user (in kg). It is needed by some pedometers | 385 | Weight of the user (in kg). It is needed by some pedometers |
@@ -612,6 +616,8 @@ Description: | |||
612 | a given event type is enabled a future point (and not those for | 616 | a given event type is enabled a future point (and not those for |
613 | whatever event was previously enabled). | 617 | whatever event was previously enabled). |
614 | 618 | ||
619 | What: /sys/.../events/in_accel_thresh_rising_value | ||
620 | What: /sys/.../events/in_accel_thresh_falling_value | ||
615 | What: /sys/.../events/in_accel_x_raw_thresh_rising_value | 621 | What: /sys/.../events/in_accel_x_raw_thresh_rising_value |
616 | What: /sys/.../events/in_accel_x_raw_thresh_falling_value | 622 | What: /sys/.../events/in_accel_x_raw_thresh_falling_value |
617 | What: /sys/.../events/in_accel_y_raw_thresh_rising_value | 623 | What: /sys/.../events/in_accel_y_raw_thresh_rising_value |
@@ -661,6 +667,24 @@ Description: | |||
661 | value is in raw device units or in processed units (as _raw | 667 | value is in raw device units or in processed units (as _raw |
662 | and _input do on sysfs direct channel read attributes). | 668 | and _input do on sysfs direct channel read attributes). |
663 | 669 | ||
670 | What: /sys/.../events/in_accel_scale | ||
671 | What: /sys/.../events/in_accel_peak_scale | ||
672 | What: /sys/.../events/in_anglvel_scale | ||
673 | What: /sys/.../events/in_magn_scale | ||
674 | What: /sys/.../events/in_rot_from_north_magnetic_scale | ||
675 | What: /sys/.../events/in_rot_from_north_true_scale | ||
676 | What: /sys/.../events/in_voltage_scale | ||
677 | What: /sys/.../events/in_voltage_supply_scale | ||
678 | What: /sys/.../events/in_temp_scale | ||
679 | What: /sys/.../events/in_illuminance_scale | ||
680 | What: /sys/.../events/in_proximity_scale | ||
681 | KernelVersion: 3.21 | ||
682 | Contact: linux-iio@vger.kernel.org | ||
683 | Description: | ||
684 | Specifies the conversion factor from the standard units | ||
685 | to device specific units used to set the event trigger | ||
686 | threshold. | ||
687 | |||
664 | What: /sys/.../events/in_accel_x_thresh_rising_hysteresis | 688 | What: /sys/.../events/in_accel_x_thresh_rising_hysteresis |
665 | What: /sys/.../events/in_accel_x_thresh_falling_hysteresis | 689 | What: /sys/.../events/in_accel_x_thresh_falling_hysteresis |
666 | What: /sys/.../events/in_accel_x_thresh_either_hysteresis | 690 | What: /sys/.../events/in_accel_x_thresh_either_hysteresis |
@@ -776,7 +800,7 @@ Description: | |||
776 | 800 | ||
777 | What: /sys/.../events/in_accel_x_thresh_rising_period | 801 | What: /sys/.../events/in_accel_x_thresh_rising_period |
778 | What: /sys/.../events/in_accel_x_thresh_falling_period | 802 | What: /sys/.../events/in_accel_x_thresh_falling_period |
779 | hat: /sys/.../events/in_accel_x_roc_rising_period | 803 | What: /sys/.../events/in_accel_x_roc_rising_period |
780 | What: /sys/.../events/in_accel_x_roc_falling_period | 804 | What: /sys/.../events/in_accel_x_roc_falling_period |
781 | What: /sys/.../events/in_accel_y_thresh_rising_period | 805 | What: /sys/.../events/in_accel_y_thresh_rising_period |
782 | What: /sys/.../events/in_accel_y_thresh_falling_period | 806 | What: /sys/.../events/in_accel_y_thresh_falling_period |
@@ -923,7 +947,7 @@ Description: | |||
923 | this type. | 947 | this type. |
924 | 948 | ||
925 | What: /sys/.../events/in_steps_change_en | 949 | What: /sys/.../events/in_steps_change_en |
926 | KernelVersion: 3.20 | 950 | KernelVersion: 4.0 |
927 | Contact: linux-iio@vger.kernel.org | 951 | Contact: linux-iio@vger.kernel.org |
928 | Description: | 952 | Description: |
929 | Event generated when channel passes a threshold on the absolute | 953 | Event generated when channel passes a threshold on the absolute |
@@ -932,7 +956,7 @@ Description: | |||
932 | in_steps_change_value. | 956 | in_steps_change_value. |
933 | 957 | ||
934 | What: /sys/.../events/in_steps_change_value | 958 | What: /sys/.../events/in_steps_change_value |
935 | KernelVersion: 3.20 | 959 | KernelVersion: 4.0 |
936 | Contact: linux-iio@vger.kernel.org | 960 | Contact: linux-iio@vger.kernel.org |
937 | Description: | 961 | Description: |
938 | Specifies the value of change threshold that the | 962 | Specifies the value of change threshold that the |
@@ -997,6 +1021,7 @@ What: /sys/.../iio:deviceX/scan_elements/in_incli_y_en | |||
997 | What: /sys/.../iio:deviceX/scan_elements/in_pressureY_en | 1021 | What: /sys/.../iio:deviceX/scan_elements/in_pressureY_en |
998 | What: /sys/.../iio:deviceX/scan_elements/in_pressure_en | 1022 | What: /sys/.../iio:deviceX/scan_elements/in_pressure_en |
999 | What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_en | 1023 | What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_en |
1024 | What: /sys/.../iio:deviceX/scan_elements/in_proximity_en | ||
1000 | KernelVersion: 2.6.37 | 1025 | KernelVersion: 2.6.37 |
1001 | Contact: linux-iio@vger.kernel.org | 1026 | Contact: linux-iio@vger.kernel.org |
1002 | Description: | 1027 | Description: |
@@ -1013,6 +1038,7 @@ What: /sys/.../iio:deviceX/scan_elements/in_timestamp_type | |||
1013 | What: /sys/.../iio:deviceX/scan_elements/in_pressureY_type | 1038 | What: /sys/.../iio:deviceX/scan_elements/in_pressureY_type |
1014 | What: /sys/.../iio:deviceX/scan_elements/in_pressure_type | 1039 | What: /sys/.../iio:deviceX/scan_elements/in_pressure_type |
1015 | What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_type | 1040 | What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_type |
1041 | What: /sys/.../iio:deviceX/scan_elements/in_proximity_type | ||
1016 | KernelVersion: 2.6.37 | 1042 | KernelVersion: 2.6.37 |
1017 | Contact: linux-iio@vger.kernel.org | 1043 | Contact: linux-iio@vger.kernel.org |
1018 | Description: | 1044 | Description: |
@@ -1064,6 +1090,7 @@ What: /sys/.../iio:deviceX/scan_elements/in_timestamp_index | |||
1064 | What: /sys/.../iio:deviceX/scan_elements/in_pressureY_index | 1090 | What: /sys/.../iio:deviceX/scan_elements/in_pressureY_index |
1065 | What: /sys/.../iio:deviceX/scan_elements/in_pressure_index | 1091 | What: /sys/.../iio:deviceX/scan_elements/in_pressure_index |
1066 | What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_index | 1092 | What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_index |
1093 | What: /sys/.../iio:deviceX/scan_elements/in_proximity_index | ||
1067 | KernelVersion: 2.6.37 | 1094 | KernelVersion: 2.6.37 |
1068 | Contact: linux-iio@vger.kernel.org | 1095 | Contact: linux-iio@vger.kernel.org |
1069 | Description: | 1096 | Description: |
@@ -1104,7 +1131,7 @@ Description: | |||
1104 | 1131 | ||
1105 | What: /sys/.../iio:deviceX/in_energy_input | 1132 | What: /sys/.../iio:deviceX/in_energy_input |
1106 | What: /sys/.../iio:deviceX/in_energy_raw | 1133 | What: /sys/.../iio:deviceX/in_energy_raw |
1107 | KernelVersion: 3.20 | 1134 | KernelVersion: 4.0 |
1108 | Contact: linux-iio@vger.kernel.org | 1135 | Contact: linux-iio@vger.kernel.org |
1109 | Description: | 1136 | Description: |
1110 | This attribute is used to read the energy value reported by the | 1137 | This attribute is used to read the energy value reported by the |
@@ -1113,7 +1140,7 @@ Description: | |||
1113 | 1140 | ||
1114 | What: /sys/.../iio:deviceX/in_distance_input | 1141 | What: /sys/.../iio:deviceX/in_distance_input |
1115 | What: /sys/.../iio:deviceX/in_distance_raw | 1142 | What: /sys/.../iio:deviceX/in_distance_raw |
1116 | KernelVersion: 3.20 | 1143 | KernelVersion: 4.0 |
1117 | Contact: linux-iio@vger.kernel.org | 1144 | Contact: linux-iio@vger.kernel.org |
1118 | Description: | 1145 | Description: |
1119 | This attribute is used to read the distance covered by the user | 1146 | This attribute is used to read the distance covered by the user |
@@ -1143,9 +1170,13 @@ Description: | |||
1143 | values should behave in the same way as a distance, i.e. lower | 1170 | values should behave in the same way as a distance, i.e. lower |
1144 | values indicate something is closer to the sensor. | 1171 | values indicate something is closer to the sensor. |
1145 | 1172 | ||
1173 | What: /sys/.../iio:deviceX/in_illuminance_input | ||
1174 | What: /sys/.../iio:deviceX/in_illuminance_raw | ||
1146 | What: /sys/.../iio:deviceX/in_illuminanceY_input | 1175 | What: /sys/.../iio:deviceX/in_illuminanceY_input |
1147 | What: /sys/.../iio:deviceX/in_illuminanceY_raw | 1176 | What: /sys/.../iio:deviceX/in_illuminanceY_raw |
1148 | What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw | 1177 | What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw |
1178 | What: /sys/.../iio:deviceX/in_illuminance_ir_raw | ||
1179 | What: /sys/.../iio:deviceX/in_illuminance_clear_raw | ||
1149 | KernelVersion: 3.4 | 1180 | KernelVersion: 3.4 |
1150 | Contact: linux-iio@vger.kernel.org | 1181 | Contact: linux-iio@vger.kernel.org |
1151 | Description: | 1182 | Description: |
@@ -1174,7 +1205,7 @@ Description: | |||
1174 | seconds. | 1205 | seconds. |
1175 | 1206 | ||
1176 | What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time | 1207 | What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time |
1177 | KernelVersion: 3.20 | 1208 | KernelVersion: 4.0 |
1178 | Contact: linux-iio@vger.kernel.org | 1209 | Contact: linux-iio@vger.kernel.org |
1179 | Description: | 1210 | Description: |
1180 | Number of seconds in which to compute speed. | 1211 | Number of seconds in which to compute speed. |
@@ -1236,7 +1267,7 @@ Description: | |||
1236 | Units after application of scale are m/s. | 1267 | Units after application of scale are m/s. |
1237 | 1268 | ||
1238 | What: /sys/.../iio:deviceX/in_steps_debounce_count | 1269 | What: /sys/.../iio:deviceX/in_steps_debounce_count |
1239 | KernelVersion: 3.20 | 1270 | KernelVersion: 4.0 |
1240 | Contact: linux-iio@vger.kernel.org | 1271 | Contact: linux-iio@vger.kernel.org |
1241 | Description: | 1272 | Description: |
1242 | Specifies the number of steps that must occur within | 1273 | Specifies the number of steps that must occur within |
@@ -1244,8 +1275,92 @@ Description: | |||
1244 | consumer is making steps. | 1275 | consumer is making steps. |
1245 | 1276 | ||
1246 | What: /sys/.../iio:deviceX/in_steps_debounce_time | 1277 | What: /sys/.../iio:deviceX/in_steps_debounce_time |
1247 | KernelVersion: 3.20 | 1278 | KernelVersion: 4.0 |
1248 | Contact: linux-iio@vger.kernel.org | 1279 | Contact: linux-iio@vger.kernel.org |
1249 | Description: | 1280 | Description: |
1250 | Specifies number of seconds in which we compute the steps | 1281 | Specifies number of seconds in which we compute the steps |
1251 | that occur in order to decide if the consumer is making steps. | 1282 | that occur in order to decide if the consumer is making steps. |
1283 | |||
1284 | What: /sys/bus/iio/devices/iio:deviceX/buffer/watermark | ||
1285 | KernelVersion: 4.2 | ||
1286 | Contact: linux-iio@vger.kernel.org | ||
1287 | Description: | ||
1288 | A single positive integer specifying the maximum number of scan | ||
1289 | elements to wait for. | ||
1290 | Poll will block until the watermark is reached. | ||
1291 | Blocking read will wait until the minimum between the requested | ||
1292 | read amount or the low water mark is available. | ||
1293 | Non-blocking read will retrieve the available samples from the | ||
1294 | buffer even if there are less samples then watermark level. This | ||
1295 | allows the application to block on poll with a timeout and read | ||
1296 | the available samples after the timeout expires and thus have a | ||
1297 | maximum delay guarantee. | ||
1298 | |||
1299 | What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_enabled | ||
1300 | KernelVersion: 4.2 | ||
1301 | Contact: linux-iio@vger.kernel.org | ||
1302 | Description: | ||
1303 | A read-only boolean value that indicates if the hardware fifo is | ||
1304 | currently enabled or disabled. If the device does not have a | ||
1305 | hardware fifo this entry is not present. | ||
1306 | The hardware fifo is enabled when the buffer is enabled if the | ||
1307 | current hardware fifo watermark level is set and other current | ||
1308 | device settings allows it (e.g. if a trigger is set that samples | ||
1309 | data differently that the hardware fifo does then hardware fifo | ||
1310 | will not enabled). | ||
1311 | If the hardware fifo is enabled and the level of the hardware | ||
1312 | fifo reaches the hardware fifo watermark level the device will | ||
1313 | flush its hardware fifo to the device buffer. Doing a non | ||
1314 | blocking read on the device when no samples are present in the | ||
1315 | device buffer will also force a flush. | ||
1316 | When the hardware fifo is enabled there is no need to use a | ||
1317 | trigger to use buffer mode since the watermark settings | ||
1318 | guarantees that the hardware fifo is flushed to the device | ||
1319 | buffer. | ||
1320 | |||
1321 | What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark | ||
1322 | KernelVersion: 4.2 | ||
1323 | Contact: linux-iio@vger.kernel.org | ||
1324 | Description: | ||
1325 | Read-only entry that contains a single integer specifying the | ||
1326 | current watermark level for the hardware fifo. If the device | ||
1327 | does not have a hardware fifo this entry is not present. | ||
1328 | The watermark level for the hardware fifo is set by the driver | ||
1329 | based on the value set by the user in buffer/watermark but | ||
1330 | taking into account hardware limitations (e.g. most hardware | ||
1331 | buffers are limited to 32-64 samples, some hardware buffers | ||
1332 | watermarks are fixed or have minimum levels). A value of 0 | ||
1333 | means that the hardware watermark is unset. | ||
1334 | |||
1335 | What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_min | ||
1336 | KernelVersion: 4.2 | ||
1337 | Contact: linux-iio@vger.kernel.org | ||
1338 | Description: | ||
1339 | A single positive integer specifying the minimum watermark level | ||
1340 | for the hardware fifo of this device. If the device does not | ||
1341 | have a hardware fifo this entry is not present. | ||
1342 | If the user sets buffer/watermark to a value less than this one, | ||
1343 | then the hardware watermark will remain unset. | ||
1344 | |||
1345 | What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_max | ||
1346 | KernelVersion: 4.2 | ||
1347 | Contact: linux-iio@vger.kernel.org | ||
1348 | Description: | ||
1349 | A single positive integer specifying the maximum watermark level | ||
1350 | for the hardware fifo of this device. If the device does not | ||
1351 | have a hardware fifo this entry is not present. | ||
1352 | If the user sets buffer/watermark to a value greater than this | ||
1353 | one, then the hardware watermark will be capped at this value. | ||
1354 | |||
1355 | What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_available | ||
1356 | KernelVersion: 4.2 | ||
1357 | Contact: linux-iio@vger.kernel.org | ||
1358 | Description: | ||
1359 | A list of positive integers specifying the available watermark | ||
1360 | levels for the hardware fifo. This entry is optional and if it | ||
1361 | is not present it means that all the values between | ||
1362 | hwfifo_watermark_min and hwfifo_watermark_max are supported. | ||
1363 | If the user sets buffer/watermark to a value greater than | ||
1364 | hwfifo_watermak_min but not equal to any of the values in this | ||
1365 | list, the driver will chose an appropriate value for the | ||
1366 | hardware fifo watermark level. | ||
diff --git a/Documentation/ABI/testing/sysfs-class-cxl b/Documentation/ABI/testing/sysfs-class-cxl index 3680364b4048..d46bba801aac 100644 --- a/Documentation/ABI/testing/sysfs-class-cxl +++ b/Documentation/ABI/testing/sysfs-class-cxl | |||
@@ -100,7 +100,7 @@ Description: read only | |||
100 | Hexadecimal value of the device ID found in this AFU | 100 | Hexadecimal value of the device ID found in this AFU |
101 | configuration record. | 101 | configuration record. |
102 | 102 | ||
103 | What: /sys/class/cxl/<afu>/cr<config num>/vendor | 103 | What: /sys/class/cxl/<afu>/cr<config num>/class |
104 | Date: February 2015 | 104 | Date: February 2015 |
105 | Contact: linuxppc-dev@lists.ozlabs.org | 105 | Contact: linuxppc-dev@lists.ozlabs.org |
106 | Description: read only | 106 | Description: read only |
diff --git a/Documentation/ABI/testing/sysfs-class-led-flash b/Documentation/ABI/testing/sysfs-class-led-flash new file mode 100644 index 000000000000..220a0270b47b --- /dev/null +++ b/Documentation/ABI/testing/sysfs-class-led-flash | |||
@@ -0,0 +1,80 @@ | |||
1 | What: /sys/class/leds/<led>/flash_brightness | ||
2 | Date: March 2015 | ||
3 | KernelVersion: 4.0 | ||
4 | Contact: Jacek Anaszewski <j.anaszewski@samsung.com> | ||
5 | Description: read/write | ||
6 | Set the brightness of this LED in the flash strobe mode, in | ||
7 | microamperes. The file is created only for the flash LED devices | ||
8 | that support setting flash brightness. | ||
9 | |||
10 | The value is between 0 and | ||
11 | /sys/class/leds/<led>/max_flash_brightness. | ||
12 | |||
13 | What: /sys/class/leds/<led>/max_flash_brightness | ||
14 | Date: March 2015 | ||
15 | KernelVersion: 4.0 | ||
16 | Contact: Jacek Anaszewski <j.anaszewski@samsung.com> | ||
17 | Description: read only | ||
18 | Maximum brightness level for this LED in the flash strobe mode, | ||
19 | in microamperes. | ||
20 | |||
21 | What: /sys/class/leds/<led>/flash_timeout | ||
22 | Date: March 2015 | ||
23 | KernelVersion: 4.0 | ||
24 | Contact: Jacek Anaszewski <j.anaszewski@samsung.com> | ||
25 | Description: read/write | ||
26 | Hardware timeout for flash, in microseconds. The flash strobe | ||
27 | is stopped after this period of time has passed from the start | ||
28 | of the strobe. The file is created only for the flash LED | ||
29 | devices that support setting flash timeout. | ||
30 | |||
31 | What: /sys/class/leds/<led>/max_flash_timeout | ||
32 | Date: March 2015 | ||
33 | KernelVersion: 4.0 | ||
34 | Contact: Jacek Anaszewski <j.anaszewski@samsung.com> | ||
35 | Description: read only | ||
36 | Maximum flash timeout for this LED, in microseconds. | ||
37 | |||
38 | What: /sys/class/leds/<led>/flash_strobe | ||
39 | Date: March 2015 | ||
40 | KernelVersion: 4.0 | ||
41 | Contact: Jacek Anaszewski <j.anaszewski@samsung.com> | ||
42 | Description: read/write | ||
43 | Flash strobe state. When written with 1 it triggers flash strobe | ||
44 | and when written with 0 it turns the flash off. | ||
45 | |||
46 | On read 1 means that flash is currently strobing and 0 means | ||
47 | that flash is off. | ||
48 | |||
49 | What: /sys/class/leds/<led>/flash_fault | ||
50 | Date: March 2015 | ||
51 | KernelVersion: 4.0 | ||
52 | Contact: Jacek Anaszewski <j.anaszewski@samsung.com> | ||
53 | Description: read only | ||
54 | Space separated list of flash faults that may have occurred. | ||
55 | Flash faults are re-read after strobing the flash. Possible | ||
56 | flash faults: | ||
57 | |||
58 | * led-over-voltage - flash controller voltage to the flash LED | ||
59 | has exceeded the limit specific to the flash controller | ||
60 | * flash-timeout-exceeded - the flash strobe was still on when | ||
61 | the timeout set by the user has expired; not all flash | ||
62 | controllers may set this in all such conditions | ||
63 | * controller-over-temperature - the flash controller has | ||
64 | overheated | ||
65 | * controller-short-circuit - the short circuit protection | ||
66 | of the flash controller has been triggered | ||
67 | * led-power-supply-over-current - current in the LED power | ||
68 | supply has exceeded the limit specific to the flash | ||
69 | controller | ||
70 | * indicator-led-fault - the flash controller has detected | ||
71 | a short or open circuit condition on the indicator LED | ||
72 | * led-under-voltage - flash controller voltage to the flash | ||
73 | LED has been below the minimum limit specific to | ||
74 | the flash | ||
75 | * controller-under-voltage - the input voltage of the flash | ||
76 | controller is below the limit under which strobing the | ||
77 | flash at full current will not be possible; | ||
78 | the condition persists until this flag is no longer set | ||
79 | * led-over-temperature - the temperature of the LED has exceeded | ||
80 | its allowed upper limit | ||
diff --git a/Documentation/ABI/testing/sysfs-class-net b/Documentation/ABI/testing/sysfs-class-net index beb8ec4dabbc..5ecfd72ba684 100644 --- a/Documentation/ABI/testing/sysfs-class-net +++ b/Documentation/ABI/testing/sysfs-class-net | |||
@@ -188,6 +188,14 @@ Description: | |||
188 | Indicates the interface unique physical port identifier within | 188 | Indicates the interface unique physical port identifier within |
189 | the NIC, as a string. | 189 | the NIC, as a string. |
190 | 190 | ||
191 | What: /sys/class/net/<iface>/phys_port_name | ||
192 | Date: March 2015 | ||
193 | KernelVersion: 4.0 | ||
194 | Contact: netdev@vger.kernel.org | ||
195 | Description: | ||
196 | Indicates the interface physical port name within the NIC, | ||
197 | as a string. | ||
198 | |||
191 | What: /sys/class/net/<iface>/speed | 199 | What: /sys/class/net/<iface>/speed |
192 | Date: October 2009 | 200 | Date: October 2009 |
193 | KernelVersion: 2.6.33 | 201 | KernelVersion: 2.6.33 |
diff --git a/Documentation/ABI/testing/sysfs-class-net-queues b/Documentation/ABI/testing/sysfs-class-net-queues index 5e9aeb91d355..0c0df91b1516 100644 --- a/Documentation/ABI/testing/sysfs-class-net-queues +++ b/Documentation/ABI/testing/sysfs-class-net-queues | |||
@@ -24,6 +24,14 @@ Description: | |||
24 | Indicates the number of transmit timeout events seen by this | 24 | Indicates the number of transmit timeout events seen by this |
25 | network interface transmit queue. | 25 | network interface transmit queue. |
26 | 26 | ||
27 | What: /sys/class/<iface>/queues/tx-<queue>/tx_maxrate | ||
28 | Date: March 2015 | ||
29 | KernelVersion: 4.1 | ||
30 | Contact: netdev@vger.kernel.org | ||
31 | Description: | ||
32 | A Mbps max-rate set for the queue, a value of zero means disabled, | ||
33 | default is disabled. | ||
34 | |||
27 | What: /sys/class/<iface>/queues/tx-<queue>/xps_cpus | 35 | What: /sys/class/<iface>/queues/tx-<queue>/xps_cpus |
28 | Date: November 2010 | 36 | Date: November 2010 |
29 | KernelVersion: 2.6.38 | 37 | KernelVersion: 2.6.38 |
diff --git a/Documentation/ABI/testing/sysfs-driver-hid b/Documentation/ABI/testing/sysfs-driver-hid index b6490e14fe83..48942cacb0bf 100644 --- a/Documentation/ABI/testing/sysfs-driver-hid +++ b/Documentation/ABI/testing/sysfs-driver-hid | |||
@@ -8,3 +8,13 @@ Description: When read, this file returns the device's raw binary HID | |||
8 | report descriptor. | 8 | report descriptor. |
9 | This file cannot be written. | 9 | This file cannot be written. |
10 | Users: HIDAPI library (http://www.signal11.us/oss/hidapi) | 10 | Users: HIDAPI library (http://www.signal11.us/oss/hidapi) |
11 | |||
12 | What: For USB devices : /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/country | ||
13 | For BT devices : /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/country | ||
14 | Symlink : /sys/class/hidraw/hidraw<num>/device/country | ||
15 | Date: February 2015 | ||
16 | KernelVersion: 3.19 | ||
17 | Contact: Olivier Gay <ogay@logitech.com> | ||
18 | Description: When read, this file returns the hex integer value in ASCII | ||
19 | of the device's HID country code (e.g. 21 for US). | ||
20 | This file cannot be written. | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff b/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff index 167d9032b970..b3f6a2ac5007 100644 --- a/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff +++ b/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff | |||
@@ -5,3 +5,48 @@ Contact: Michal Malý <madcatxster@gmail.com> | |||
5 | Description: Display minimum, maximum and current range of the steering | 5 | Description: Display minimum, maximum and current range of the steering |
6 | wheel. Writing a value within min and max boundaries sets the | 6 | wheel. Writing a value within min and max boundaries sets the |
7 | range of the wheel. | 7 | range of the wheel. |
8 | |||
9 | What: /sys/bus/hid/drivers/logitech/<dev>/alternate_modes | ||
10 | Date: Feb 2015 | ||
11 | KernelVersion: 4.1 | ||
12 | Contact: Michal Malý <madcatxster@gmail.com> | ||
13 | Description: Displays a set of alternate modes supported by a wheel. Each | ||
14 | mode is listed as follows: | ||
15 | Tag: Mode Name | ||
16 | Currently active mode is marked with an asterisk. List also | ||
17 | contains an abstract item "native" which always denotes the | ||
18 | native mode of the wheel. Echoing the mode tag switches the | ||
19 | wheel into the corresponding mode. Depending on the exact model | ||
20 | of the wheel not all listed modes might always be selectable. | ||
21 | If a wheel cannot be switched into the desired mode, -EINVAL | ||
22 | is returned accompanied with an explanatory message in the | ||
23 | kernel log. | ||
24 | This entry is not created for devices that have only one mode. | ||
25 | |||
26 | Currently supported mode switches: | ||
27 | Driving Force Pro: | ||
28 | DF-EX --> DFP | ||
29 | |||
30 | G25: | ||
31 | DF-EX --> DFP --> G25 | ||
32 | |||
33 | G27: | ||
34 | DF-EX <*> DFP <-> G25 <-> G27 | ||
35 | DF-EX <*--------> G25 <-> G27 | ||
36 | DF-EX <*----------------> G27 | ||
37 | |||
38 | DFGT: | ||
39 | DF-EX <*> DFP <-> DFGT | ||
40 | DF-EX <*--------> DFGT | ||
41 | |||
42 | * hid_logitech module must be loaded with lg4ff_no_autoswitch=1 | ||
43 | parameter set in order for the switch to DF-EX mode to work. | ||
44 | |||
45 | What: /sys/bus/hid/drivers/logitech/<dev>/real_id | ||
46 | Date: Feb 2015 | ||
47 | KernelVersion: 4.1 | ||
48 | Contact: Michal Malý <madcatxster@gmail.com> | ||
49 | Description: Displays the real model of the wheel regardless of any | ||
50 | alternate mode the wheel might be switched to. | ||
51 | It is a read-only value. | ||
52 | This entry is not created for devices that have only one mode. | ||