Skip to content

Commit 54ab6db

Browse files
author
Jonathan Corbet
committed
Merge tag 'v4.10-rc1' into docs-next
Linux 4.10-rc1
2 parents 217e2bf + 7ce7d89 commit 54ab6db

File tree

11,471 files changed

+712949
-237587
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

11,471 files changed

+712949
-237587
lines changed

CREDITS

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Linus
1010
----------
1111

12-
M: Matt Mackal
12+
N: Matt Mackal
1313
E: mpm@selenic.com
1414
D: SLOB slab allocator
1515

@@ -1910,7 +1910,7 @@ S: Ra'annana, Israel
19101910

19111911
N: Andi Kleen
19121912
E: andi@firstfloor.org
1913-
U: http://www.halobates.de
1913+
W: http://www.halobates.de
19141914
D: network, x86, NUMA, various hacks
19151915
S: Schwalbenstr. 96
19161916
S: 85551 Ottobrunn
@@ -2089,8 +2089,8 @@ D: ST Microelectronics SPEAr13xx PCI host bridge driver
20892089
D: Synopsys Designware PCI host bridge driver
20902090

20912091
N: Gabor Kuti
2092-
M: seasons@falcon.sch.bme.hu
2093-
M: seasons@makosteszta.sote.hu
2092+
E: seasons@falcon.sch.bme.hu
2093+
E: seasons@makosteszta.sote.hu
20942094
D: Original author of software suspend
20952095

20962096
N: Jaroslav Kysela
@@ -2775,6 +2775,10 @@ S: C/ Mieses 20, 9-B
27752775
S: Valladolid 47009
27762776
S: Spain
27772777

2778+
N: Peter Oruba
2779+
D: AMD Microcode loader driver
2780+
S: Germany
2781+
27782782
N: Jens Osterkamp
27792783
E: jens@de.ibm.com
27802784
D: Maintainer of Spidernet network driver for Cell
@@ -3945,8 +3949,6 @@ E: gwingerde@gmail.com
39453949
D: Ralink rt2x00 WLAN driver
39463950
D: Minix V2 file-system
39473951
D: Misc fixes
3948-
S: Geessinkweg 177
3949-
S: 7544 TX Enschede
39503952
S: The Netherlands
39513953

39523954
N: Lars Wirzenius

Documentation/00-INDEX

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,6 @@ driver-model/
152152
- directory with info about Linux driver model.
153153
early-userspace/
154154
- info about initramfs, klibc, and userspace early during boot.
155-
edac.txt
156-
- information on EDAC - Error Detection And Correction
157155
efi-stub.txt
158156
- How to use the EFI boot stub to bypass GRUB or elilo on EFI systems.
159157
eisa.txt

Documentation/ABI/stable/sysfs-devices

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,17 @@ Description:
88
Any device associated with a device-tree node will have
99
an of_path symlink pointing to the corresponding device
1010
node in /sys/firmware/devicetree/
11+
12+
What: /sys/devices/*/devspec
13+
Date: October 2016
14+
Contact: Device Tree mailing list <devicetree@vger.kernel.org>
15+
Description:
16+
If CONFIG_OF is enabled, then this file is present. When
17+
read, it returns full name of the device node.
18+
19+
What: /sys/devices/*/obppath
20+
Date: October 2016
21+
Contact: Device Tree mailing list <devicetree@vger.kernel.org>
22+
Description:
23+
If CONFIG_OF is enabled, then this file is present. When
24+
read, it returns full name of the device node.

Documentation/ABI/testing/sysfs-block

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,3 +235,45 @@ Description:
235235
write_same_max_bytes is 0, write same is not supported
236236
by the device.
237237

238+
What: /sys/block/<disk>/queue/write_zeroes_max_bytes
239+
Date: November 2016
240+
Contact: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
241+
Description:
242+
Devices that support write zeroes operation in which a
243+
single request can be issued to zero out the range of
244+
contiguous blocks on storage without having any payload
245+
in the request. This can be used to optimize writing zeroes
246+
to the devices. write_zeroes_max_bytes indicates how many
247+
bytes can be written in a single write zeroes command. If
248+
write_zeroes_max_bytes is 0, write zeroes is not supported
249+
by the device.
250+
251+
What: /sys/block/<disk>/queue/zoned
252+
Date: September 2016
253+
Contact: Damien Le Moal <damien.lemoal@hgst.com>
254+
Description:
255+
zoned indicates if the device is a zoned block device
256+
and the zone model of the device if it is indeed zoned.
257+
The possible values indicated by zoned are "none" for
258+
regular block devices and "host-aware" or "host-managed"
259+
for zoned block devices. The characteristics of
260+
host-aware and host-managed zoned block devices are
261+
described in the ZBC (Zoned Block Commands) and ZAC
262+
(Zoned Device ATA Command Set) standards. These standards
263+
also define the "drive-managed" zone model. However,
264+
since drive-managed zoned block devices do not support
265+
zone commands, they will be treated as regular block
266+
devices and zoned will report "none".
267+
268+
What: /sys/block/<disk>/queue/chunk_sectors
269+
Date: September 2016
270+
Contact: Hannes Reinecke <hare@suse.com>
271+
Description:
272+
chunk_sectors has different meaning depending on the type
273+
of the disk. For a RAID device (dm-raid), chunk_sectors
274+
indicates the size in 512B sectors of the RAID volume
275+
stripe segment. For a zoned block device, either
276+
host-aware or host-managed, chunk_sectors indicates the
277+
size of 512B sectors of the zones of the device, with
278+
the eventual exception of the last zone of the device
279+
which may be smaller.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
What: /sys/bus/fsl-mc/drivers/.../bind
2+
Date: December 2016
3+
Contact: stuart.yoder@nxp.com
4+
Description:
5+
Writing a device location to this file will cause
6+
the driver to attempt to bind to the device found at
7+
this location. The format for the location is Object.Id
8+
and is the same as found in /sys/bus/fsl-mc/devices/.
9+
For example:
10+
# echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind
11+
12+
What: /sys/bus/fsl-mc/drivers/.../unbind
13+
Date: December 2016
14+
Contact: stuart.yoder@nxp.com
15+
Description:
16+
Writing a device location to this file will cause the
17+
driver to attempt to unbind from the device found at
18+
this location. The format for the location is Object.Id
19+
and is the same as found in /sys/bus/fsl-mc/devices/.
20+
For example:
21+
# echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/unbind

Documentation/ABI/testing/sysfs-bus-iio

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale
329329
What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale
330330
What: /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale
331331
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_scale
332+
What: /sys/bus/iio/devices/iio:deviceX/in_countY_scale
332333
KernelVersion: 2.6.35
333334
Contact: linux-iio@vger.kernel.org
334335
Description:
@@ -1579,3 +1580,20 @@ Contact: linux-iio@vger.kernel.org
15791580
Description:
15801581
Raw (unscaled no offset etc.) electric conductivity reading that
15811582
can be processed to siemens per meter.
1583+
1584+
What: /sys/bus/iio/devices/iio:deviceX/in_countY_raw
1585+
KernelVersion: 4.9
1586+
Contact: linux-iio@vger.kernel.org
1587+
Description:
1588+
Raw counter device counts from channel Y. For quadrature
1589+
counters, multiplication by an available [Y]_scale results in
1590+
the counts of a single quadrature signal phase from channel Y.
1591+
1592+
What: /sys/bus/iio/devices/iio:deviceX/in_indexY_raw
1593+
KernelVersion: 4.9
1594+
Contact: linux-iio@vger.kernel.org
1595+
Description:
1596+
Raw counter device index value from channel Y. This attribute
1597+
provides an absolute positional reference (e.g. a pulse once per
1598+
revolution) which may be used to home positional systems as
1599+
required.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_invert
2+
Date: October 2016
3+
KernelVersion: 4.9
4+
Contact: Peter Rosin <peda@axentia.se>
5+
Description:
6+
The DAC is used to find the peak level of an alternating
7+
voltage input signal by a binary search using the output
8+
of a comparator wired to an interrupt pin. Like so:
9+
_
10+
| \
11+
input +------>-------|+ \
12+
| \
13+
.-------. | }---.
14+
| | | / |
15+
| dac|-->--|- / |
16+
| | |_/ |
17+
| | |
18+
| | |
19+
| irq|------<-------'
20+
| |
21+
'-------'
22+
The boolean invert attribute (0/1) should be set when the
23+
input signal is centered around the maximum value of the
24+
dac instead of zero. The envelope detector will search
25+
from below in this case and will also invert the result.
26+
The edge/level of the interrupt is also switched to its
27+
opposite value.
28+
29+
What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_compare_interval
30+
Date: October 2016
31+
KernelVersion: 4.9
32+
Contact: Peter Rosin <peda@axentia.se>
33+
Description:
34+
Number of milliseconds to wait for the comparator in each
35+
step of the binary search for the input peak level. Needs
36+
to relate to the frequency of the input signal.
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
What: /sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
2+
What: /sys/bus/iio/devices/iio:deviceX/in_count_count_mode_available
3+
What: /sys/bus/iio/devices/iio:deviceX/in_count_noise_error_available
4+
What: /sys/bus/iio/devices/iio:deviceX/in_count_quadrature_mode_available
5+
What: /sys/bus/iio/devices/iio:deviceX/in_index_index_polarity_available
6+
What: /sys/bus/iio/devices/iio:deviceX/in_index_synchronous_mode_available
7+
KernelVersion: 4.9
8+
Contact: linux-iio@vger.kernel.org
9+
Description:
10+
Discrete set of available values for the respective counter
11+
configuration are listed in this file.
12+
13+
What: /sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
14+
KernelVersion: 4.9
15+
Contact: linux-iio@vger.kernel.org
16+
Description:
17+
Read-only attribute that indicates whether the counter for
18+
channel Y is counting up or down.
19+
20+
What: /sys/bus/iio/devices/iio:deviceX/in_countY_count_mode
21+
KernelVersion: 4.9
22+
Contact: linux-iio@vger.kernel.org
23+
Description:
24+
Count mode for channel Y. Four count modes are available:
25+
normal, range limit, non-recycle, and modulo-n. The preset value
26+
for channel Y is used by the count mode where required.
27+
28+
Normal:
29+
Counting is continuous in either direction.
30+
31+
Range Limit:
32+
An upper or lower limit is set, mimicking limit switches
33+
in the mechanical counterpart. The upper limit is set to
34+
the preset value, while the lower limit is set to 0. The
35+
counter freezes at count = preset when counting up, and
36+
at count = 0 when counting down. At either of these
37+
limits, the counting is resumed only when the count
38+
direction is reversed.
39+
40+
Non-recycle:
41+
Counter is disabled whenever a 24-bit count overflow or
42+
underflow takes place. The counter is re-enabled when a
43+
new count value is loaded to the counter via a preset
44+
operation or write to raw.
45+
46+
Modulo-N:
47+
A count boundary is set between 0 and the preset value.
48+
The counter is reset to 0 at count = preset when
49+
counting up, while the counter is set to the preset
50+
value at count = 0 when counting down; the counter does
51+
not freeze at the bundary points, but counts
52+
continuously throughout.
53+
54+
What: /sys/bus/iio/devices/iio:deviceX/in_countY_noise_error
55+
KernelVersion: 4.9
56+
Contact: linux-iio@vger.kernel.org
57+
Description:
58+
Read-only attribute that indicates whether excessive noise is
59+
present at the channel Y count inputs in quadrature clock mode;
60+
irrelevant in non-quadrature clock mode.
61+
62+
What: /sys/bus/iio/devices/iio:deviceX/in_countY_preset
63+
KernelVersion: 4.9
64+
Contact: linux-iio@vger.kernel.org
65+
Description:
66+
If the counter device supports preset registers, the preset
67+
count for channel Y is provided by this attribute.
68+
69+
What: /sys/bus/iio/devices/iio:deviceX/in_countY_quadrature_mode
70+
KernelVersion: 4.9
71+
Contact: linux-iio@vger.kernel.org
72+
Description:
73+
Configure channel Y counter for non-quadrature or quadrature
74+
clock mode. Selecting non-quadrature clock mode will disable
75+
synchronous load mode. In quadrature clock mode, the channel Y
76+
scale attribute selects the encoder phase division (scale of 1
77+
selects full-cycle, scale of 0.5 selects half-cycle, scale of
78+
0.25 selects quarter-cycle) processed by the channel Y counter.
79+
80+
Non-quadrature:
81+
The filter and decoder circuit are bypassed. Encoder A
82+
input serves as the count input and B as the UP/DOWN
83+
direction control input, with B = 1 selecting UP Count
84+
mode and B = 0 selecting Down Count mode.
85+
86+
Quadrature:
87+
Encoder A and B inputs are digitally filtered and
88+
decoded for UP/DN clock.
89+
90+
What: /sys/bus/iio/devices/iio:deviceX/in_countY_set_to_preset_on_index
91+
KernelVersion: 4.9
92+
Contact: linux-iio@vger.kernel.org
93+
Description:
94+
Whether to set channel Y counter with channel Y preset value
95+
when channel Y index input is active, or continuously count.
96+
Valid attribute values are boolean.
97+
98+
What: /sys/bus/iio/devices/iio:deviceX/in_indexY_index_polarity
99+
KernelVersion: 4.9
100+
Contact: linux-iio@vger.kernel.org
101+
Description:
102+
Active level of channel Y index input; irrelevant in
103+
non-synchronous load mode.
104+
105+
What: /sys/bus/iio/devices/iio:deviceX/in_indexY_synchronous_mode
106+
KernelVersion: 4.9
107+
Contact: linux-iio@vger.kernel.org
108+
Description:
109+
Configure channel Y counter for non-synchronous or synchronous
110+
load mode. Synchronous load mode cannot be selected in
111+
non-quadrature clock mode.
112+
113+
Non-synchronous:
114+
A logic low level is the active level at this index
115+
input. The index function (as enabled via
116+
set_to_preset_on_index) is performed directly on the
117+
active level of the index input.
118+
119+
Synchronous:
120+
Intended for interfacing with encoder Index output in
121+
quadrature clock mode. The active level is configured
122+
via index_polarity. The index function (as enabled via
123+
set_to_preset_on_index) is performed synchronously with
124+
the quadrature clock on the active level of the index
125+
input.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
What: /sys/bus/iio/devices/iio:deviceX/calibrate
2+
Date: July 2015
3+
KernelVersion: 4.7
4+
Contact: linux-iio@vger.kernel.org
5+
Description:
6+
Writing '1' will perform a FOC (Fast Online Calibration). The
7+
corresponding calibration offsets can be read from *_calibbias
8+
entries.
9+
10+
What: /sys/bus/iio/devices/iio:deviceX/location
11+
Date: July 2015
12+
KernelVersion: 4.7
13+
Contact: linux-iio@vger.kernel.org
14+
Description:
15+
This attribute returns a string with the physical location where
16+
the motion sensor is placed. For example, in a laptop a motion
17+
sensor can be located on the base or on the lid. Current valid
18+
values are 'base' and 'lid'.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw_available
2+
Date: October 2016
3+
KernelVersion: 4.9
4+
Contact: Peter Rosin <peda@axentia.se>
5+
Description:
6+
The range of available values represented as the minimum value,
7+
the step and the maximum value, all enclosed in square brackets.
8+
Example: [0 1 256]
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
What: /sys/bus/iio/devices/iio:deviceX/proximity_on_chip_ambient_infrared_suppression
2+
Date: January 2011
3+
KernelVersion: 2.6.37
4+
Contact: linux-iio@vger.kernel.org
5+
Description:
6+
From ISL29018 Data Sheet (FN6619.4, Oct 8, 2012) regarding the
7+
infrared suppression:
8+
9+
Scheme 0, makes full n (4, 8, 12, 16) bits (unsigned) proximity
10+
detection. The range of Scheme 0 proximity count is from 0 to
11+
2^n. Logic 1 of this bit, Scheme 1, makes n-1 (3, 7, 11, 15)
12+
bits (2's complementary) proximity_less_ambient detection. The
13+
range of Scheme 1 proximity count is from -2^(n-1) to 2^(n-1).
14+
The sign bit is extended for resolutions less than 16. While
15+
Scheme 0 has wider dynamic range, Scheme 1 proximity detection
16+
is less affected by the ambient IR noise variation.
17+
18+
0 Sensing IR from LED and ambient
19+
1 Sensing IR from LED with ambient IR rejection

0 commit comments

Comments
 (0)