forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 4
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.14-rc1' of git://git.kernel.org/pub/scm/linux/…
…kernel/git/gregkh/char-misc Pull Char/Misc/IIO driver updates from Greg KH: "Here is the "big" set of char/misc/iio and other smaller driver subsystem updates for 6.14-rc1. Loads of different things in here this development cycle, highlights are: - ntsync "driver" to handle Windows locking types enabling Wine to work much better on many workloads (i.e. games). The driver framework was in 6.13, but now it's enabled and fully working properly. Should make many SteamOS users happy. Even comes with tests! - Large IIO driver updates and bugfixes - FPGA driver updates - Coresight driver updates - MHI driver updates - PPS driver updatesa - const bin_attribute reworking for many drivers - binder driver updates - smaller driver updates and fixes All of these have been in linux-next for a while with no reported issues" * tag 'char-misc-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (311 commits) ntsync: Fix reference leaks in the remaining create ioctls. spmi: hisi-spmi-controller: Drop duplicated OF node assignment in spmi_controller_probe() spmi: Set fwnode for spmi devices ntsync: fix a file reference leak in drivers/misc/ntsync.c scripts/tags.sh: Don't tag usages of DECLARE_BITMAP dt-bindings: interconnect: qcom,msm8998-bwmon: Add SM8750 CPU BWMONs dt-bindings: interconnect: OSM L3: Document sm8650 OSM L3 compatible dt-bindings: interconnect: qcom-bwmon: Document QCS615 bwmon compatibles interconnect: sm8750: Add missing const to static qcom_icc_desc memstick: core: fix kernel-doc notation intel_th: core: fix kernel-doc warnings binder: log transaction code on failure iio: dac: ad3552r-hs: clear reset status flag iio: dac: ad3552r-common: fix ad3541/2r ranges iio: chemical: bme680: Fix uninitialized variable in __bme680_read_raw() misc: fastrpc: Fix copy buffer page size misc: fastrpc: Fix registered buffer page address misc: fastrpc: Deregister device nodes properly in error scenarios nvmem: core: improve range check for nvmem_cell_write() nvmem: qcom-spmi-sdam: Set size in struct nvmem_config ...
- Loading branch information
Showing
300 changed files
with
12,432 additions
and
4,540 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
Documentation/ABI/testing/sysfs-bus-coresight-devices-dummy-source
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,15 @@ | ||
What: /sys/bus/coresight/devices/dummy_source<N>/enable_source | ||
Date: Dec 2024 | ||
KernelVersion: 6.14 | ||
Contact: Mao Jinlong <[email protected]> | ||
Description: (RW) Enable/disable tracing of dummy source. A sink should be activated | ||
before enabling the source. The path of coresight components linking | ||
the source to the sink is configured and managed automatically by the | ||
coresight framework. | ||
|
||
What: /sys/bus/coresight/devices/dummy_source<N>/traceid | ||
Date: Dec 2024 | ||
KernelVersion: 6.14 | ||
Contact: Mao Jinlong <[email protected]> | ||
Description: (R) Show the trace ID that will appear in the trace stream | ||
coming from this trace entity. |
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 |
---|---|---|
|
@@ -168,18 +168,6 @@ Description: | |
is required is a consistent labeling. Units after application | ||
of scale and offset are millivolts. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw | ||
KernelVersion: 3.17 | ||
Contact: [email protected] | ||
Description: | ||
Raw (unscaled no bias removal etc.) current measurement from | ||
channel Y. In special cases where the channel does not | ||
correspond to externally available input one of the named | ||
versions may be used. The number must always be specified and | ||
unique to allow association with event codes. Units after | ||
application of scale and offset are milliamps. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_raw | ||
KernelVersion: 4.5 | ||
Contact: [email protected] | ||
|
@@ -227,7 +215,7 @@ Description: | |
same scaling as _raw. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw | ||
|
@@ -416,11 +404,11 @@ Contact: [email protected] | |
Description: | ||
Scaled humidity measurement in milli percent. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_X_mean_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_Y_mean_raw | ||
KernelVersion: 3.5 | ||
Contact: [email protected] | ||
Description: | ||
Averaged raw measurement from channel X. The number of values | ||
Averaged raw measurement from channel Y. The number of values | ||
used for averaging is device specific. The converting rules for | ||
normal raw values also applies to the averaged raw values. | ||
|
||
|
@@ -448,7 +436,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset | |
What: /sys/bus/iio/devices/iio:deviceX/in_magn_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_rot_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_angl_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceX_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_offset | ||
KernelVersion: 2.6.35 | ||
Contact: [email protected] | ||
Description: | ||
|
@@ -508,6 +496,9 @@ What: /sys/bus/iio/devices/iio:deviceX/in_angl_scale | |
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_red_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_green_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_scale | ||
KernelVersion: 2.6.35 | ||
Contact: [email protected] | ||
|
@@ -660,10 +651,10 @@ What: /sys/.../iio:deviceX/in_magn_scale_available | |
What: /sys/.../iio:deviceX/in_illuminance_scale_available | ||
What: /sys/.../iio:deviceX/in_intensity_scale_available | ||
What: /sys/.../iio:deviceX/in_proximity_scale_available | ||
What: /sys/.../iio:deviceX/in_voltageX_scale_available | ||
What: /sys/.../iio:deviceX/in_voltageY_scale_available | ||
What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available | ||
What: /sys/.../iio:deviceX/out_voltageX_scale_available | ||
What: /sys/.../iio:deviceX/out_altvoltageX_scale_available | ||
What: /sys/.../iio:deviceX/out_voltageY_scale_available | ||
What: /sys/.../iio:deviceX/out_altvoltageY_scale_available | ||
What: /sys/.../iio:deviceX/in_capacitance_scale_available | ||
What: /sys/.../iio:deviceX/in_pressure_scale_available | ||
What: /sys/.../iio:deviceX/in_pressureY_scale_available | ||
|
@@ -681,6 +672,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_intensity_red_hardwaregain | |
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_green_hardwaregain | ||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_hardwaregain | ||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_clear_hardwaregain | ||
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_hardwaregain | ||
KernelVersion: 2.6.35 | ||
Contact: [email protected] | ||
Description: | ||
|
@@ -1562,7 +1554,7 @@ Description: | |
This attribute is used to read the amount of quadrature error | ||
present in the device at a given time. | ||
|
||
What: /sys/.../iio:deviceX/in_accelX_power_mode | ||
What: /sys/.../iio:deviceX/in_accelY_power_mode | ||
KernelVersion: 3.11 | ||
Contact: [email protected] | ||
Description: | ||
|
@@ -1633,6 +1625,10 @@ What: /sys/.../iio:deviceX/in_intensityY_uv_raw | |
What: /sys/.../iio:deviceX/in_intensityY_uva_raw | ||
What: /sys/.../iio:deviceX/in_intensityY_uvb_raw | ||
What: /sys/.../iio:deviceX/in_intensityY_duv_raw | ||
What: /sys/.../iio:deviceX/in_intensity_red_raw | ||
What: /sys/.../iio:deviceX/in_intensity_green_raw | ||
What: /sys/.../iio:deviceX/in_intensity_blue_raw | ||
What: /sys/.../iio:deviceX/in_intensity_clear_raw | ||
KernelVersion: 3.4 | ||
Contact: [email protected] | ||
Description: | ||
|
@@ -1691,16 +1687,19 @@ Description: | |
Raw value of rotation from true/magnetic north measured with | ||
or without compensation from tilt sensors. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_currentX_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentX_i_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentX_q_raw | ||
KernelVersion: 3.18 | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_i_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_q_raw | ||
KernelVersion: 3.17 | ||
Contact: [email protected] | ||
Description: | ||
Raw current measurement from channel X. Units are in milliamps | ||
Raw current measurement from channel Y. Units are in milliamps | ||
after application of scale and offset. If no offset or scale is | ||
present, output should be considered as processed with the | ||
unit in milliamps. | ||
unit in milliamps. In special cases where the channel does not | ||
correspond to externally available input one of the named | ||
versions may be used. | ||
|
||
Channels with 'i' and 'q' modifiers always exist in pairs and both | ||
channels refer to the same signal. The 'i' channel contains the in-phase | ||
|
@@ -1864,9 +1863,9 @@ Description: | |
hardware fifo watermark level. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity | ||
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_calibemissivity | ||
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_calibemissivity | ||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity | ||
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibemissivity | ||
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_object_calibemissivity | ||
KernelVersion: 4.1 | ||
Contact: [email protected] | ||
Description: | ||
|
@@ -1887,27 +1886,27 @@ Description: | |
is considered as one sample for <type>[_name]_sampling_frequency. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_co2_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_co2_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_ethanol_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_ethanol_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_h2_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_h2_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_o2_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_o2_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_o2_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_voc_raw | ||
KernelVersion: 4.3 | ||
Contact: [email protected] | ||
Description: | ||
Raw (unscaled no offset etc.) reading of a substance. Units | ||
after application of scale and offset are percents. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_resistanceY_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/out_resistanceX_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/out_resistanceY_raw | ||
KernelVersion: 4.3 | ||
Contact: [email protected] | ||
Description: | ||
|
@@ -2096,7 +2095,7 @@ Description: | |
One of the following thermocouple types: B, E, J, K, N, R, S, T. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibambient | ||
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibambient | ||
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_object_calibambient | ||
KernelVersion: 5.10 | ||
Contact: [email protected] | ||
Description: | ||
|
@@ -2172,9 +2171,9 @@ Description: | |
|
||
- a range specified as "[min step max]" | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageX_sampling_frequency | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sampling_frequency | ||
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_sampling_frequency | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentZ_sampling_frequency | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_sampling_frequency | ||
KernelVersion: 5.20 | ||
Contact: [email protected] | ||
Description: | ||
|
23 changes: 23 additions & 0 deletions
23
Documentation/ABI/testing/sysfs-bus-iio-adc-ad-sigma-delta
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,23 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sys_calibration | ||
KernelVersion: 5.5 | ||
Contact: [email protected] | ||
Description: | ||
This attribute, if available, initiates the system calibration procedure. This is done on a | ||
single channel at a time. Write '1' to start the calibration. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sys_calibration_mode_available | ||
KernelVersion: 5.5 | ||
Contact: [email protected] | ||
Description: | ||
This attribute, if available, returns a list with the possible calibration modes. | ||
There are two available options: | ||
"zero_scale" - calibrate to zero scale | ||
"full_scale" - calibrate to full scale | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sys_calibration_mode | ||
KernelVersion: 5.5 | ||
Contact: [email protected] | ||
Description: | ||
This attribute, if available, sets up the calibration mode used in the system calibration | ||
procedure. Reading returns the current calibration mode. | ||
Writing sets the system calibration mode. |
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 |
---|---|---|
|
@@ -19,33 +19,9 @@ Description: | |
the bridge can be disconnected (when it is not being used | ||
using the bridge_switch_en attribute. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration | ||
KernelVersion: | ||
Contact: [email protected] | ||
Description: | ||
Initiates the system calibration procedure. This is done on a | ||
single channel at a time. Write '1' to start the calibration. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw | ||
KernelVersion: | ||
Contact: [email protected] | ||
Description: | ||
Measure voltage from AIN2 pin connected to AIN(+) | ||
and AIN(-) shorted. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode_available | ||
KernelVersion: | ||
Contact: [email protected] | ||
Description: | ||
Reading returns a list with the possible calibration modes. | ||
There are two available options: | ||
"zero_scale" - calibrate to zero scale | ||
"full_scale" - calibrate to full scale | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode | ||
KernelVersion: | ||
Contact: [email protected] | ||
Description: | ||
Sets up the calibration mode used in the system calibration | ||
procedure. Reading returns the current calibration mode. | ||
Writing sets the system calibration mode. |
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,43 @@ | ||
What: /sys/class/pps-gen/ | ||
Date: February 2025 | ||
KernelVersion: 6.13 | ||
Contact: Rodolfo Giometti <[email protected]> | ||
Description: | ||
The /sys/class/pps-gen/ directory contains files and | ||
directories that provide a unified interface to the PPS | ||
generators. | ||
|
||
What: /sys/class/pps-gen/pps-genX/ | ||
Date: February 2025 | ||
KernelVersion: 6.13 | ||
Contact: Rodolfo Giometti <[email protected]> | ||
Description: | ||
The /sys/class/pps-gen/pps-genX/ directory is related to X-th | ||
PPS generator in the system. Each directory contain files to | ||
manage and control its PPS generator. | ||
|
||
What: /sys/class/pps-gen/pps-genX/enable | ||
Date: February 2025 | ||
KernelVersion: 6.13 | ||
Contact: Rodolfo Giometti <[email protected]> | ||
Description: | ||
This write-only file enables or disables generation of the | ||
PPS signal. | ||
|
||
What: /sys/class/pps-gen/pps-genX/system | ||
Date: February 2025 | ||
KernelVersion: 6.13 | ||
Contact: Rodolfo Giometti <[email protected]> | ||
Description: | ||
This read-only file returns "1" if the generator takes the | ||
timing from the system clock, while it returns "0" if not | ||
(i.e. from a peripheral device clock). | ||
|
||
What: /sys/class/pps-gen/pps-genX/time | ||
Date: February 2025 | ||
KernelVersion: 6.13 | ||
Contact: Rodolfo Giometti <[email protected]> | ||
Description: | ||
This read-only file contains the current time stored into the | ||
generator clock as two integers representing the current time | ||
seconds and nanoseconds. |
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
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
Oops, something went wrong.