forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'char-misc-6.0-rc1' of git://git.kernel.org/pub/scm/linux/k…
…ernel/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() ...
- Loading branch information
Showing
706 changed files
with
184,504 additions
and
11,889 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,6 +101,15 @@ Description: Specify the size of the DMA transaction when using DMA to read | |
When the write is finished, the user can read the "data_dma" | ||
blob | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/dump_razwi_events | ||
Date: Aug 2022 | ||
KernelVersion: 5.20 | ||
Contact: [email protected] | ||
Description: Dumps all razwi events to dmesg if exist. | ||
After reading the status register of an existing event | ||
the routine will clear the status register. | ||
Usage: cat dump_razwi_events | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/dump_security_violations | ||
Date: Jan 2021 | ||
KernelVersion: 5.12 | ||
|
@@ -121,54 +130,62 @@ Date: Jan 2019 | |
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Sets I2C device address for I2C transaction that is generated | ||
by the device's CPU | ||
by the device's CPU, Not available when device is loaded with secured | ||
firmware | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/i2c_bus | ||
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Sets I2C bus address for I2C transaction that is generated by | ||
the device's CPU | ||
the device's CPU, Not available when device is loaded with secured | ||
firmware | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/i2c_data | ||
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Triggers an I2C transaction that is generated by the device's | ||
CPU. Writing to this file generates a write transaction while | ||
reading from the file generates a read transaction | ||
reading from the file generates a read transaction, Not available | ||
when device is loaded with secured firmware | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/i2c_len | ||
Date: Dec 2021 | ||
KernelVersion: 5.17 | ||
Contact: [email protected] | ||
Description: Sets I2C length in bytes for I2C transaction that is generated by | ||
the device's CPU | ||
the device's CPU, Not available when device is loaded with secured | ||
firmware | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/i2c_reg | ||
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Sets I2C register id for I2C transaction that is generated by | ||
the device's CPU | ||
the device's CPU, Not available when device is loaded with secured | ||
firmware | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/led0 | ||
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Sets the state of the first S/W led on the device | ||
Description: Sets the state of the first S/W led on the device, Not available | ||
when device is loaded with secured firmware | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/led1 | ||
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Sets the state of the second S/W led on the device | ||
Description: Sets the state of the second S/W led on the device, Not available | ||
when device is loaded with secured firmware | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/led2 | ||
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Sets the state of the third S/W led on the device | ||
Description: Sets the state of the third S/W led on the device, Not available | ||
when device is loaded with secured firmware | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/memory_scrub | ||
Date: May 2022 | ||
|
@@ -182,7 +199,8 @@ Date: May 2022 | |
KernelVersion: 5.19 | ||
Contact: [email protected] | ||
Description: The value to which the dram will be set to when the user | ||
scrubs the dram using 'memory_scrub' debugfs file | ||
scrubs the dram using 'memory_scrub' debugfs file and | ||
the scrubbing value when using module param 'memory_scrub' | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/mmu | ||
Date: Jan 2019 | ||
|
@@ -277,7 +295,7 @@ Description: Displays a list with information about the currently user | |
to DMA addresses | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/userptr_lookup | ||
Date: Aug 2021 | ||
Date: Oct 2021 | ||
KernelVersion: 5.15 | ||
Contact: [email protected] | ||
Description: Allows to search for specific user pointers (user virtual | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,6 +79,11 @@ Description: | |
* "accel-base" | ||
* "accel-display" | ||
|
||
For devices where an accelerometer is housed in the swivel camera subassembly | ||
(for AR application), the following standardized label is used: | ||
|
||
* "accel-camera" | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/current_timestamp_clock | ||
KernelVersion: 4.5 | ||
Contact: [email protected] | ||
|
@@ -102,6 +107,9 @@ Description: | |
relevant directories. If it affects all of the above | ||
then it is to be found in the base device directory. | ||
|
||
The stm32-timer-trigger has the additional characteristic that | ||
a sampling_frequency of 0 is defined to stop sampling. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available | ||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_available | ||
What: /sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ Contact: Gwendal Grignou <[email protected]> | |
Description: | ||
SX9324 has 3 inputs, CS0, CS1 and CS2. Hardware layout | ||
defines if the input is | ||
|
||
+ not connected (HZ), | ||
+ grounded (GD), | ||
+ connected to an antenna where it can act as a base | ||
|
31 changes: 0 additions & 31 deletions
31
Documentation/ABI/testing/sysfs-bus-iio-temperature-max31856
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
Documentation/ABI/testing/sysfs-bus-iio-temperature-max31865
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/fault_ovuv | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: | ||
Overvoltage or Undervoltage Input Fault. The internal circuitry | ||
is protected from excessive voltages applied to the thermocouple | ||
cables. The device can also detect if such a condition occurs. | ||
|
||
Reading returns '1' if input voltage is negative or greater | ||
than VDD, otherwise '0'. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/fault_oc | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: | ||
Open-circuit fault. The detection of open-circuit faults, | ||
such as those caused by broken thermocouple wires. | ||
Reading returns '1' if fault, '0' otherwise. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,14 +90,6 @@ Description: | |
Reading returns the current master modes. | ||
Writing set the master mode | ||
|
||
What: /sys/bus/iio/devices/triggerX/sampling_frequency | ||
KernelVersion: 4.11 | ||
Contact: [email protected] | ||
Description: | ||
Reading returns the current sampling frequency. | ||
Writing an value different of 0 set and start sampling. | ||
Writing 0 stop sampling. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_count0_preset | ||
KernelVersion: 4.12 | ||
Contact: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
What: /sys/class/vduse/ | ||
Date: Oct 2021 | ||
KernelVersion: 5.15 | ||
Contact: Yongji Xie <[email protected]> | ||
Description: | ||
The vduse/ class sub-directory belongs to the VDUSE | ||
framework and provides a sysfs interface for configuring | ||
VDUSE devices. | ||
|
||
What: /sys/class/vduse/control/ | ||
Date: Oct 2021 | ||
KernelVersion: 5.15 | ||
Contact: Yongji Xie <[email protected]> | ||
Description: | ||
This directory entry is created for the control device | ||
of VDUSE framework. | ||
|
||
What: /sys/class/vduse/<device-name>/ | ||
Date: Oct 2021 | ||
KernelVersion: 5.15 | ||
Contact: Yongji Xie <[email protected]> | ||
Description: | ||
This directory entry is created when a VDUSE device is | ||
created via the control device. | ||
|
||
What: /sys/class/vduse/<device-name>/msg_timeout | ||
Date: Oct 2021 | ||
KernelVersion: 5.15 | ||
Contact: Yongji Xie <[email protected]> | ||
Description: | ||
(RW) The timeout (in seconds) for waiting for the control | ||
message's response from userspace. Default value is 30s. | ||
Writing a '0' to the file means to disable the timeout. |
61 changes: 61 additions & 0 deletions
61
Documentation/ABI/testing/sysfs-driver-intel-m10-bmc-sec-update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/sr_root_entry_hash | ||
Date: Sep 2022 | ||
KernelVersion: 5.20 | ||
Contact: Russ Weight <[email protected]> | ||
Description: Read only. Returns the root entry hash for the static | ||
region if one is programmed, else it returns the | ||
string: "hash not programmed". This file is only | ||
visible if the underlying device supports it. | ||
Format: string. | ||
|
||
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/pr_root_entry_hash | ||
Date: Sep 2022 | ||
KernelVersion: 5.20 | ||
Contact: Russ Weight <[email protected]> | ||
Description: Read only. Returns the root entry hash for the partial | ||
reconfiguration region if one is programmed, else it | ||
returns the string: "hash not programmed". This file | ||
is only visible if the underlying device supports it. | ||
Format: string. | ||
|
||
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/bmc_root_entry_hash | ||
Date: Sep 2022 | ||
KernelVersion: 5.20 | ||
Contact: Russ Weight <[email protected]> | ||
Description: Read only. Returns the root entry hash for the BMC image | ||
if one is programmed, else it returns the string: | ||
"hash not programmed". This file is only visible if the | ||
underlying device supports it. | ||
Format: string. | ||
|
||
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/sr_canceled_csks | ||
Date: Sep 2022 | ||
KernelVersion: 5.20 | ||
Contact: Russ Weight <[email protected]> | ||
Description: Read only. Returns a list of indices for canceled code | ||
signing keys for the static region. The standard bitmap | ||
list format is used (e.g. "1,2-6,9"). | ||
|
||
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/pr_canceled_csks | ||
Date: Sep 2022 | ||
KernelVersion: 5.20 | ||
Contact: Russ Weight <[email protected]> | ||
Description: Read only. Returns a list of indices for canceled code | ||
signing keys for the partial reconfiguration region. The | ||
standard bitmap list format is used (e.g. "1,2-6,9"). | ||
|
||
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/bmc_canceled_csks | ||
Date: Sep 2022 | ||
KernelVersion: 5.20 | ||
Contact: Russ Weight <[email protected]> | ||
Description: Read only. Returns a list of indices for canceled code | ||
signing keys for the BMC. The standard bitmap list format | ||
is used (e.g. "1,2-6,9"). | ||
|
||
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/flash_count | ||
Date: Sep 2022 | ||
KernelVersion: 5.20 | ||
Contact: Russ Weight <[email protected]> | ||
Description: Read only. Returns number of times the secure update | ||
staging area has been flashed. | ||
Format: "%u". |
Oops, something went wrong.