Skip to content

Commit b3cc742

Browse files
author
Jiri Kosina
committed
Merge branch 'for-6.15/amd_sfh' into for-linus
From: Mario Limonciello <[email protected]> Some platforms include a human presence detection (HPD) sensor. When enabled and a user is detected a wake event will be emitted from the sensor fusion hub that software can react to. Example use cases are "wake from suspend on approach" or to "lock when leaving". This is currently enabled by default on supported systems, but users can't control it. This essentially means that wake on approach is enabled which is a really surprising behavior to users that don't expect it. Instead of defaulting to enabled add a sysfs knob that users can use to enable the feature if desirable and set it to disabled by default.
2 parents db52926 + 01601fd commit b3cc742

File tree

5,356 files changed

+236249
-81248
lines changed

Some content is hidden

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

5,356 files changed

+236249
-81248
lines changed

.mailmap

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,17 @@ Boris Brezillon <[email protected]> <[email protected]>
142142
143143
144144
Brian Avery <[email protected]>
145+
146+
145147
Brian King <[email protected]>
146148
147149
148150
149151
150152
151-
153+
154+
155+
152156
153157
154158
@@ -165,6 +169,7 @@ Christian Brauner <[email protected]> <[email protected]>
165169
166170
Christian Marangi <[email protected]>
167171
Christophe Ricard <[email protected]>
172+
Christopher Obbard <[email protected]> <[email protected]>
168173
Christoph Hellwig <[email protected]>
169174
170175
@@ -261,6 +266,7 @@ Guo Ren <[email protected]> <[email protected]>
261266
Guru Das Srinagesh <[email protected]> <[email protected]>
262267
Gustavo Padovan <[email protected]>
263268
Gustavo Padovan <[email protected]>
269+
264270
265271
266272
@@ -415,6 +421,7 @@ Liam Mark <[email protected]> <[email protected]>
415421
Linas Vepstas <[email protected]>
416422
417423
424+
418425
419426
420427
@@ -760,6 +767,7 @@ Wolfram Sang <[email protected]> <[email protected]>
760767
761768
762769
770+
763771
Yusuke Goda <[email protected]>
764772
765773

CREDITS

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2515,11 +2515,9 @@ D: SLS distribution
25152515
D: Initial implementation of VC's, pty's and select()
25162516

25172517
N: Pavel Machek
2518-
E: pavel@ucw.cz
2518+
E: pavel@kernel.org
25192519
P: 4096R/92DFCE96 4FA7 9EEF FCD4 C44F C585 B8C7 C060 2241 92DF CE96
2520-
D: Softcursor for vga, hypertech cdrom support, vcsa bugfix, nbd,
2521-
D: sun4/330 port, capabilities for elf, speedup for rm on ext2, USB,
2522-
D: work on suspend-to-ram/disk, killing duplicates from ioctl32,
2520+
D: NBD, Sun4/330 port, USB, work on suspend-to-ram/disk,
25232521
D: Altera SoCFPGA and Nokia N900 support.
25242522
S: Czech Republic
25252523

@@ -4339,7 +4337,7 @@ D: Freescale Highspeed USB device driver
43394337
D: Freescale QE SoC support and Ethernet driver
43404338
S: B-1206 Jingmao Guojigongyu
43414339
S: 16 Baliqiao Nanjie, Beijing 101100
4342-
S: People's Repulic of China
4340+
S: People's Republic of China
43434341

43444342
N: Vlad Yasevich
43454343
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
What: /sys/class/bluetooth/hci<index>/reset
2+
Date: 14-Jan-2025
3+
KernelVersion: 6.13
4+
5+
Description: This write-only attribute allows users to trigger the vendor reset
6+
method on the Bluetooth device when arbitrary data is written.
7+
The reset may or may not be done through the device transport
8+
(e.g., UART/USB), and can also be done through an out-of-band
9+
approach such as GPIO.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
What: /sys/bus/coresight/devices/dummy_source<N>/enable_source
2+
Date: Dec 2024
3+
KernelVersion: 6.14
4+
Contact: Mao Jinlong <[email protected]>
5+
Description: (RW) Enable/disable tracing of dummy source. A sink should be activated
6+
before enabling the source. The path of coresight components linking
7+
the source to the sink is configured and managed automatically by the
8+
coresight framework.
9+
10+
What: /sys/bus/coresight/devices/dummy_source<N>/traceid
11+
Date: Dec 2024
12+
KernelVersion: 6.14
13+
Contact: Mao Jinlong <[email protected]>
14+
Description: (R) Show the trace ID that will appear in the trace stream
15+
coming from this trace entity.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
What: /sys/bus/event_source/devices/<pmu>
2+
Date: 2014/02/24
3+
Contact: Linux kernel mailing list <[email protected]>
4+
Description: Performance Monitoring Unit (<pmu>)
5+
6+
Each <pmu> directory, for a PMU device, is a name
7+
optionally followed by an underscore and then either a
8+
decimal or hexadecimal number. For example, cpu is a
9+
PMU name without a suffix as is intel_bts,
10+
uncore_imc_0 is a PMU name with a 0 numeric suffix,
11+
ddr_pmu_87e1b0000000 is a PMU name with a hex
12+
suffix. The hex suffix must be more than two
13+
characters long to avoid ambiguity with PMUs like the
14+
S390 cpum_cf.
15+
16+
Tools can treat PMUs with the same name that differ by
17+
suffix as instances of the same PMU for the sake of,
18+
for example, opening an event. For example, the PMUs
19+
uncore_imc_free_running_0 and
20+
uncore_imc_free_running_1 have an event data_read;
21+
opening the data_read event on a PMU specified as
22+
uncore_imc_free_running should be treated as opening
23+
the data_read event on PMU uncore_imc_free_running_0
24+
and PMU uncore_imc_free_running_1.

Documentation/ABI/testing/sysfs-bus-event_source-devices-events

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ Description: Per-pmu performance monitoring events specific to the running syste
3737
performance monitoring event supported by the <pmu>. The name
3838
of the file is the name of the event.
3939

40-
As performance monitoring event names are case
41-
insensitive in the perf tool, the perf tool only looks
42-
for lower or upper case event names in sysfs to avoid
40+
As performance monitoring event names are case insensitive
41+
in the perf tool, the perf tool only looks for all lower
42+
case or all upper case event names in sysfs to avoid
4343
scanning the directory. It is therefore required the
44-
name of the event here is either lower or upper case.
44+
name of the event here is either completely lower or upper
45+
case, with no mixed-case characters. Numbers, '.', '_', and
46+
'-' are also allowed.
4547

4648
File contents:
4749

Documentation/ABI/testing/sysfs-bus-iio

Lines changed: 38 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -168,18 +168,6 @@ Description:
168168
is required is a consistent labeling. Units after application
169169
of scale and offset are millivolts.
170170

171-
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_raw
172-
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw
173-
KernelVersion: 3.17
174-
175-
Description:
176-
Raw (unscaled no bias removal etc.) current measurement from
177-
channel Y. In special cases where the channel does not
178-
correspond to externally available input one of the named
179-
versions may be used. The number must always be specified and
180-
unique to allow association with event codes. Units after
181-
application of scale and offset are milliamps.
182-
183171
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_raw
184172
KernelVersion: 4.5
185173
@@ -227,7 +215,7 @@ Description:
227215
same scaling as _raw.
228216

229217
What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw
230-
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw
218+
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_raw
231219
What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
232220
What: /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw
233221
What: /sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw
@@ -416,11 +404,11 @@ Contact: [email protected]
416404
Description:
417405
Scaled humidity measurement in milli percent.
418406

419-
What: /sys/bus/iio/devices/iio:deviceX/in_X_mean_raw
407+
What: /sys/bus/iio/devices/iio:deviceX/in_Y_mean_raw
420408
KernelVersion: 3.5
421409
422410
Description:
423-
Averaged raw measurement from channel X. The number of values
411+
Averaged raw measurement from channel Y. The number of values
424412
used for averaging is device specific. The converting rules for
425413
normal raw values also applies to the averaged raw values.
426414

@@ -448,7 +436,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset
448436
What: /sys/bus/iio/devices/iio:deviceX/in_magn_offset
449437
What: /sys/bus/iio/devices/iio:deviceX/in_rot_offset
450438
What: /sys/bus/iio/devices/iio:deviceX/in_angl_offset
451-
What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceX_offset
439+
What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_offset
452440
KernelVersion: 2.6.35
453441
454442
Description:
@@ -508,6 +496,9 @@ What: /sys/bus/iio/devices/iio:deviceX/in_angl_scale
508496
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_scale
509497
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_scale
510498
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_scale
499+
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_red_scale
500+
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_green_scale
501+
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_scale
511502
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_scale
512503
KernelVersion: 2.6.35
513504
@@ -660,10 +651,10 @@ What: /sys/.../iio:deviceX/in_magn_scale_available
660651
What: /sys/.../iio:deviceX/in_illuminance_scale_available
661652
What: /sys/.../iio:deviceX/in_intensity_scale_available
662653
What: /sys/.../iio:deviceX/in_proximity_scale_available
663-
What: /sys/.../iio:deviceX/in_voltageX_scale_available
654+
What: /sys/.../iio:deviceX/in_voltageY_scale_available
664655
What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available
665-
What: /sys/.../iio:deviceX/out_voltageX_scale_available
666-
What: /sys/.../iio:deviceX/out_altvoltageX_scale_available
656+
What: /sys/.../iio:deviceX/out_voltageY_scale_available
657+
What: /sys/.../iio:deviceX/out_altvoltageY_scale_available
667658
What: /sys/.../iio:deviceX/in_capacitance_scale_available
668659
What: /sys/.../iio:deviceX/in_pressure_scale_available
669660
What: /sys/.../iio:deviceX/in_pressureY_scale_available
@@ -681,6 +672,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_intensity_red_hardwaregain
681672
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_green_hardwaregain
682673
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_hardwaregain
683674
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_clear_hardwaregain
675+
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_hardwaregain
684676
KernelVersion: 2.6.35
685677
686678
Description:
@@ -1562,7 +1554,7 @@ Description:
15621554
This attribute is used to read the amount of quadrature error
15631555
present in the device at a given time.
15641556

1565-
What: /sys/.../iio:deviceX/in_accelX_power_mode
1557+
What: /sys/.../iio:deviceX/in_accelY_power_mode
15661558
KernelVersion: 3.11
15671559
15681560
Description:
@@ -1633,6 +1625,10 @@ What: /sys/.../iio:deviceX/in_intensityY_uv_raw
16331625
What: /sys/.../iio:deviceX/in_intensityY_uva_raw
16341626
What: /sys/.../iio:deviceX/in_intensityY_uvb_raw
16351627
What: /sys/.../iio:deviceX/in_intensityY_duv_raw
1628+
What: /sys/.../iio:deviceX/in_intensity_red_raw
1629+
What: /sys/.../iio:deviceX/in_intensity_green_raw
1630+
What: /sys/.../iio:deviceX/in_intensity_blue_raw
1631+
What: /sys/.../iio:deviceX/in_intensity_clear_raw
16361632
KernelVersion: 3.4
16371633
16381634
Description:
@@ -1691,16 +1687,19 @@ Description:
16911687
Raw value of rotation from true/magnetic north measured with
16921688
or without compensation from tilt sensors.
16931689

1694-
What: /sys/bus/iio/devices/iio:deviceX/in_currentX_raw
1695-
What: /sys/bus/iio/devices/iio:deviceX/in_currentX_i_raw
1696-
What: /sys/bus/iio/devices/iio:deviceX/in_currentX_q_raw
1697-
KernelVersion: 3.18
1690+
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_raw
1691+
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw
1692+
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_i_raw
1693+
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_q_raw
1694+
KernelVersion: 3.17
16981695
16991696
Description:
1700-
Raw current measurement from channel X. Units are in milliamps
1697+
Raw current measurement from channel Y. Units are in milliamps
17011698
after application of scale and offset. If no offset or scale is
17021699
present, output should be considered as processed with the
1703-
unit in milliamps.
1700+
unit in milliamps. In special cases where the channel does not
1701+
correspond to externally available input one of the named
1702+
versions may be used.
17041703

17051704
Channels with 'i' and 'q' modifiers always exist in pairs and both
17061705
channels refer to the same signal. The 'i' channel contains the in-phase
@@ -1864,9 +1863,9 @@ Description:
18641863
hardware fifo watermark level.
18651864

18661865
What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity
1867-
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_calibemissivity
1866+
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_calibemissivity
18681867
What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity
1869-
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibemissivity
1868+
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_object_calibemissivity
18701869
KernelVersion: 4.1
18711870
18721871
Description:
@@ -1887,27 +1886,27 @@ Description:
18871886
is considered as one sample for <type>[_name]_sampling_frequency.
18881887

18891888
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_raw
1890-
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_raw
1889+
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_raw
18911890
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw
1892-
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_co2_raw
1891+
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_co2_raw
18931892
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw
1894-
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_ethanol_raw
1893+
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_ethanol_raw
18951894
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw
1896-
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_h2_raw
1895+
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_h2_raw
18971896
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_o2_raw
1898-
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_o2_raw
1897+
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_o2_raw
18991898
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw
1900-
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw
1899+
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_voc_raw
19011900
KernelVersion: 4.3
19021901
19031902
Description:
19041903
Raw (unscaled no offset etc.) reading of a substance. Units
19051904
after application of scale and offset are percents.
19061905

19071906
What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw
1908-
What: /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw
1907+
What: /sys/bus/iio/devices/iio:deviceX/in_resistanceY_raw
19091908
What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw
1910-
What: /sys/bus/iio/devices/iio:deviceX/out_resistanceX_raw
1909+
What: /sys/bus/iio/devices/iio:deviceX/out_resistanceY_raw
19111910
KernelVersion: 4.3
19121911
19131912
Description:
@@ -2096,7 +2095,7 @@ Description:
20962095
One of the following thermocouple types: B, E, J, K, N, R, S, T.
20972096

20982097
What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibambient
2099-
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibambient
2098+
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_object_calibambient
21002099
KernelVersion: 5.10
21012100
21022101
Description:
@@ -2172,9 +2171,9 @@ Description:
21722171

21732172
- a range specified as "[min step max]"
21742173

2175-
What: /sys/bus/iio/devices/iio:deviceX/in_voltageX_sampling_frequency
2174+
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sampling_frequency
21762175
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_sampling_frequency
2177-
What: /sys/bus/iio/devices/iio:deviceX/in_currentZ_sampling_frequency
2176+
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_sampling_frequency
21782177
KernelVersion: 5.20
21792178
21802179
Description:
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sys_calibration
2+
KernelVersion: 5.5
3+
4+
Description:
5+
This attribute, if available, initiates the system calibration procedure. This is done on a
6+
single channel at a time. Write '1' to start the calibration.
7+
8+
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sys_calibration_mode_available
9+
KernelVersion: 5.5
10+
11+
Description:
12+
This attribute, if available, returns a list with the possible calibration modes.
13+
There are two available options:
14+
"zero_scale" - calibrate to zero scale
15+
"full_scale" - calibrate to full scale
16+
17+
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sys_calibration_mode
18+
KernelVersion: 5.5
19+
20+
Description:
21+
This attribute, if available, sets up the calibration mode used in the system calibration
22+
procedure. Reading returns the current calibration mode.
23+
Writing sets the system calibration mode.

Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,33 +19,9 @@ Description:
1919
the bridge can be disconnected (when it is not being used
2020
using the bridge_switch_en attribute.
2121

22-
What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration
23-
KernelVersion:
24-
25-
Description:
26-
Initiates the system calibration procedure. This is done on a
27-
single channel at a time. Write '1' to start the calibration.
28-
2922
What: /sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw
3023
KernelVersion:
3124
3225
Description:
3326
Measure voltage from AIN2 pin connected to AIN(+)
3427
and AIN(-) shorted.
35-
36-
What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode_available
37-
KernelVersion:
38-
39-
Description:
40-
Reading returns a list with the possible calibration modes.
41-
There are two available options:
42-
"zero_scale" - calibrate to zero scale
43-
"full_scale" - calibrate to full scale
44-
45-
What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode
46-
KernelVersion:
47-
48-
Description:
49-
Sets up the calibration mode used in the system calibration
50-
procedure. Reading returns the current calibration mode.
51-
Writing sets the system calibration mode.

0 commit comments

Comments
 (0)