Skip to content

Commit 228dfe9

Browse files
committed
Merge tag 'char-misc-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char / misc driver updates from Greg KH: "Here is the large set of char and misc and other driver subsystem changes for 6.0-rc1. Highlights include: - large set of IIO driver updates, additions, and cleanups - new habanalabs device support added (loads of register maps much like GPUs have) - soundwire driver updates - phy driver updates - slimbus driver updates - tiny virt driver fixes and updates - misc driver fixes and updates - interconnect driver updates - hwtracing driver updates - fpga driver updates - extcon driver updates - firmware driver updates - counter driver update - mhi driver fixes and updates - binder driver fixes and updates - speakup driver fixes All of these have been in linux-next for a while without any reported problems" * tag 'char-misc-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (634 commits) drivers: lkdtm: fix clang -Wformat warning char: remove VR41XX related char driver misc: Mark MICROCODE_MINOR unused spmi: trace: fix stack-out-of-bound access in SPMI tracing functions dt-bindings: iio: adc: Add compatible for MT8188 iio: light: isl29028: Fix the warning in isl29028_remove() iio: accel: sca3300: Extend the trigger buffer from 16 to 32 bytes iio: fix iio_format_avail_range() printing for none IIO_VAL_INT iio: adc: max1027: unlock on error path in max1027_read_single_value() iio: proximity: sx9324: add empty line in front of bullet list iio: magnetometer: hmc5843: Remove duplicate 'the' iio: magn: yas530: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros iio: magnetometer: ak8974: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros iio: light: veml6030: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros iio: light: vcnl4035: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros iio: light: vcnl4000: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros iio: light: tsl2591: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() iio: light: tsl2583: Use DEFINE_RUNTIME_DEV_PM_OPS and pm_ptr() iio: light: isl29028: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() iio: light: gp2ap002: Switch to DEFINE_RUNTIME_DEV_PM_OPS and pm_ptr() ...
2 parents 798cd57 + b5276c9 commit 228dfe9

706 files changed

Lines changed: 184504 additions & 11889 deletions

File tree

Some content is hidden

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

Documentation/ABI/testing/debugfs-driver-habanalabs

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@ Description: Specify the size of the DMA transaction when using DMA to read
101101
When the write is finished, the user can read the "data_dma"
102102
blob
103103

104+
What: /sys/kernel/debug/habanalabs/hl<n>/dump_razwi_events
105+
Date: Aug 2022
106+
KernelVersion: 5.20
107+
Contact: fkassabri@habana.ai
108+
Description: Dumps all razwi events to dmesg if exist.
109+
After reading the status register of an existing event
110+
the routine will clear the status register.
111+
Usage: cat dump_razwi_events
112+
104113
What: /sys/kernel/debug/habanalabs/hl<n>/dump_security_violations
105114
Date: Jan 2021
106115
KernelVersion: 5.12
@@ -121,54 +130,62 @@ Date: Jan 2019
121130
KernelVersion: 5.1
122131
Contact: ogabbay@kernel.org
123132
Description: Sets I2C device address for I2C transaction that is generated
124-
by the device's CPU
133+
by the device's CPU, Not available when device is loaded with secured
134+
firmware
125135

126136
What: /sys/kernel/debug/habanalabs/hl<n>/i2c_bus
127137
Date: Jan 2019
128138
KernelVersion: 5.1
129139
Contact: ogabbay@kernel.org
130140
Description: Sets I2C bus address for I2C transaction that is generated by
131-
the device's CPU
141+
the device's CPU, Not available when device is loaded with secured
142+
firmware
132143

133144
What: /sys/kernel/debug/habanalabs/hl<n>/i2c_data
134145
Date: Jan 2019
135146
KernelVersion: 5.1
136147
Contact: ogabbay@kernel.org
137148
Description: Triggers an I2C transaction that is generated by the device's
138149
CPU. Writing to this file generates a write transaction while
139-
reading from the file generates a read transaction
150+
reading from the file generates a read transaction, Not available
151+
when device is loaded with secured firmware
140152

141153
What: /sys/kernel/debug/habanalabs/hl<n>/i2c_len
142154
Date: Dec 2021
143155
KernelVersion: 5.17
144156
Contact: obitton@habana.ai
145157
Description: Sets I2C length in bytes for I2C transaction that is generated by
146-
the device's CPU
158+
the device's CPU, Not available when device is loaded with secured
159+
firmware
147160

148161
What: /sys/kernel/debug/habanalabs/hl<n>/i2c_reg
149162
Date: Jan 2019
150163
KernelVersion: 5.1
151164
Contact: ogabbay@kernel.org
152165
Description: Sets I2C register id for I2C transaction that is generated by
153-
the device's CPU
166+
the device's CPU, Not available when device is loaded with secured
167+
firmware
154168

155169
What: /sys/kernel/debug/habanalabs/hl<n>/led0
156170
Date: Jan 2019
157171
KernelVersion: 5.1
158172
Contact: ogabbay@kernel.org
159-
Description: Sets the state of the first S/W led on the device
173+
Description: Sets the state of the first S/W led on the device, Not available
174+
when device is loaded with secured firmware
160175

161176
What: /sys/kernel/debug/habanalabs/hl<n>/led1
162177
Date: Jan 2019
163178
KernelVersion: 5.1
164179
Contact: ogabbay@kernel.org
165-
Description: Sets the state of the second S/W led on the device
180+
Description: Sets the state of the second S/W led on the device, Not available
181+
when device is loaded with secured firmware
166182

167183
What: /sys/kernel/debug/habanalabs/hl<n>/led2
168184
Date: Jan 2019
169185
KernelVersion: 5.1
170186
Contact: ogabbay@kernel.org
171-
Description: Sets the state of the third S/W led on the device
187+
Description: Sets the state of the third S/W led on the device, Not available
188+
when device is loaded with secured firmware
172189

173190
What: /sys/kernel/debug/habanalabs/hl<n>/memory_scrub
174191
Date: May 2022
@@ -182,7 +199,8 @@ Date: May 2022
182199
KernelVersion: 5.19
183200
Contact: dhirschfeld@habana.ai
184201
Description: The value to which the dram will be set to when the user
185-
scrubs the dram using 'memory_scrub' debugfs file
202+
scrubs the dram using 'memory_scrub' debugfs file and
203+
the scrubbing value when using module param 'memory_scrub'
186204

187205
What: /sys/kernel/debug/habanalabs/hl<n>/mmu
188206
Date: Jan 2019
@@ -277,7 +295,7 @@ Description: Displays a list with information about the currently user
277295
to DMA addresses
278296

279297
What: /sys/kernel/debug/habanalabs/hl<n>/userptr_lookup
280-
Date: Aug 2021
298+
Date: Oct 2021
281299
KernelVersion: 5.15
282300
Contact: ogabbay@kernel.org
283301
Description: Allows to search for specific user pointers (user virtual

Documentation/ABI/testing/sysfs-bus-iio

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ Description:
7979
* "accel-base"
8080
* "accel-display"
8181

82+
For devices where an accelerometer is housed in the swivel camera subassembly
83+
(for AR application), the following standardized label is used:
84+
85+
* "accel-camera"
86+
8287
What: /sys/bus/iio/devices/iio:deviceX/current_timestamp_clock
8388
KernelVersion: 4.5
8489
Contact: linux-iio@vger.kernel.org
@@ -102,6 +107,9 @@ Description:
102107
relevant directories. If it affects all of the above
103108
then it is to be found in the base device directory.
104109

110+
The stm32-timer-trigger has the additional characteristic that
111+
a sampling_frequency of 0 is defined to stop sampling.
112+
105113
What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
106114
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_available
107115
What: /sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available

Documentation/ABI/testing/sysfs-bus-iio-sx9324

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Contact: Gwendal Grignou <gwendal@chromium.org>
55
Description:
66
SX9324 has 3 inputs, CS0, CS1 and CS2. Hardware layout
77
defines if the input is
8+
89
+ not connected (HZ),
910
+ grounded (GD),
1011
+ connected to an antenna where it can act as a base

Documentation/ABI/testing/sysfs-bus-iio-temperature-max31856

Lines changed: 0 additions & 31 deletions
This file was deleted.

Documentation/ABI/testing/sysfs-bus-iio-temperature-max31865

Lines changed: 0 additions & 20 deletions
This file was deleted.
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/fault_ovuv
2+
KernelVersion: 5.1
3+
Contact: linux-iio@vger.kernel.org
4+
Description:
5+
Overvoltage or Undervoltage Input Fault. The internal circuitry
6+
is protected from excessive voltages applied to the thermocouple
7+
cables. The device can also detect if such a condition occurs.
8+
9+
Reading returns '1' if input voltage is negative or greater
10+
than VDD, otherwise '0'.
11+
12+
What: /sys/bus/iio/devices/iio:deviceX/fault_oc
13+
KernelVersion: 5.1
14+
Contact: linux-iio@vger.kernel.org
15+
Description:
16+
Open-circuit fault. The detection of open-circuit faults,
17+
such as those caused by broken thermocouple wires.
18+
Reading returns '1' if fault, '0' otherwise.

Documentation/ABI/testing/sysfs-bus-iio-timer-stm32

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,6 @@ Description:
9090
Reading returns the current master modes.
9191
Writing set the master mode
9292

93-
What: /sys/bus/iio/devices/triggerX/sampling_frequency
94-
KernelVersion: 4.11
95-
Contact: benjamin.gaignard@st.com
96-
Description:
97-
Reading returns the current sampling frequency.
98-
Writing an value different of 0 set and start sampling.
99-
Writing 0 stop sampling.
100-
10193
What: /sys/bus/iio/devices/iio:deviceX/in_count0_preset
10294
KernelVersion: 4.12
10395
Contact: benjamin.gaignard@st.com
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
What: /sys/class/vduse/
2+
Date: Oct 2021
3+
KernelVersion: 5.15
4+
Contact: Yongji Xie <xieyongji@bytedance.com>
5+
Description:
6+
The vduse/ class sub-directory belongs to the VDUSE
7+
framework and provides a sysfs interface for configuring
8+
VDUSE devices.
9+
10+
What: /sys/class/vduse/control/
11+
Date: Oct 2021
12+
KernelVersion: 5.15
13+
Contact: Yongji Xie <xieyongji@bytedance.com>
14+
Description:
15+
This directory entry is created for the control device
16+
of VDUSE framework.
17+
18+
What: /sys/class/vduse/<device-name>/
19+
Date: Oct 2021
20+
KernelVersion: 5.15
21+
Contact: Yongji Xie <xieyongji@bytedance.com>
22+
Description:
23+
This directory entry is created when a VDUSE device is
24+
created via the control device.
25+
26+
What: /sys/class/vduse/<device-name>/msg_timeout
27+
Date: Oct 2021
28+
KernelVersion: 5.15
29+
Contact: Yongji Xie <xieyongji@bytedance.com>
30+
Description:
31+
(RW) The timeout (in seconds) for waiting for the control
32+
message's response from userspace. Default value is 30s.
33+
Writing a '0' to the file means to disable the timeout.
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/sr_root_entry_hash
2+
Date: Sep 2022
3+
KernelVersion: 5.20
4+
Contact: Russ Weight <russell.h.weight@intel.com>
5+
Description: Read only. Returns the root entry hash for the static
6+
region if one is programmed, else it returns the
7+
string: "hash not programmed". This file is only
8+
visible if the underlying device supports it.
9+
Format: string.
10+
11+
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/pr_root_entry_hash
12+
Date: Sep 2022
13+
KernelVersion: 5.20
14+
Contact: Russ Weight <russell.h.weight@intel.com>
15+
Description: Read only. Returns the root entry hash for the partial
16+
reconfiguration region if one is programmed, else it
17+
returns the string: "hash not programmed". This file
18+
is only visible if the underlying device supports it.
19+
Format: string.
20+
21+
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/bmc_root_entry_hash
22+
Date: Sep 2022
23+
KernelVersion: 5.20
24+
Contact: Russ Weight <russell.h.weight@intel.com>
25+
Description: Read only. Returns the root entry hash for the BMC image
26+
if one is programmed, else it returns the string:
27+
"hash not programmed". This file is only visible if the
28+
underlying device supports it.
29+
Format: string.
30+
31+
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/sr_canceled_csks
32+
Date: Sep 2022
33+
KernelVersion: 5.20
34+
Contact: Russ Weight <russell.h.weight@intel.com>
35+
Description: Read only. Returns a list of indices for canceled code
36+
signing keys for the static region. The standard bitmap
37+
list format is used (e.g. "1,2-6,9").
38+
39+
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/pr_canceled_csks
40+
Date: Sep 2022
41+
KernelVersion: 5.20
42+
Contact: Russ Weight <russell.h.weight@intel.com>
43+
Description: Read only. Returns a list of indices for canceled code
44+
signing keys for the partial reconfiguration region. The
45+
standard bitmap list format is used (e.g. "1,2-6,9").
46+
47+
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/bmc_canceled_csks
48+
Date: Sep 2022
49+
KernelVersion: 5.20
50+
Contact: Russ Weight <russell.h.weight@intel.com>
51+
Description: Read only. Returns a list of indices for canceled code
52+
signing keys for the BMC. The standard bitmap list format
53+
is used (e.g. "1,2-6,9").
54+
55+
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/flash_count
56+
Date: Sep 2022
57+
KernelVersion: 5.20
58+
Contact: Russ Weight <russell.h.weight@intel.com>
59+
Description: Read only. Returns number of times the secure update
60+
staging area has been flashed.
61+
Format: "%u".

0 commit comments

Comments
 (0)