Skip to content

Commit f53835f

Browse files
committed
Merge tag 'iio-for-6.12a' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-testing
Jonathan writes: IIO: 1st set of new device support, features and cleanup for 6.12 Includes a merge of spi-mos-config branch from spi.git that brings support needed for the AD4000 driver. Lots of new device support this time including 9 new drivers and substantial changes to add new support to several more. New device support ------------------ Given we have a lot of new support, I've subcategorized them: Substantial changes, or new driver ********************************** adi,ad4000 - New driver for this high speed ADC. adi,ad4695 - New driver supporting AD4690, AD4696, AD4697 and AD4698 ADCs. - Follow up series added triggered buffer support. adi,ad7380 - Add support for single ended parts, AD7386, ADC7387, AD7388 and -4 variants. (driver previously only support differential parts). These variants have an additional front end MUX so only half the channels can be sampled efficiently. adi,ad9467 - Refactor and extend driver to support ad9643, ad9449 and ad9652 high speed ADCs. adi,adxl380 - New driver for this low power accelerometer. adi,ltc2664 - New driver supporting LTC2664 and LTC2672 DACs. microchip,pac1921 - New driver for this power/current monitor chip. rohm,bh1745 - New driver for this RGBC colour sensor. rohm,bu27034anuc - The original bu27034 was canceled before mass production, so the driver is modified to support the BU27034ANUC which had some significant differences. DT compatible changed to avoid chance of old driver ever binding to real hardware. sciosense,ens210 - New driver for ens210, ens210a, ens211, ens212, ens213a, and ens215 temperature and humidity sensors (all register compatible up to some conversion time differences) sensiron,sdp500 - New driver for this differential pressure sensor. tyhx,hx9023s - New driver to support this capacitive proximity sensor. Minor changes to support new devices ************************************ adi,adf4377 - Add support for the single output adf4378. kionix,kxcjk-1013 - Add support for KX022-1020 accelerometer (binding and ID table only) liteon,ltrf216a - Add support for ltr-308. A few minor differences in features set rockchip,saradc - Add ID for rk3576-saradc sensortek,stk3310 - Add ID for stk3013 proximity sensor which (despite documentation) has an ambient light sensor and is compatible with existing parts. Documentation updates --------------------- Generalize ABI docs for shunt resistor attribute Improve calibscale and calibbias related documentation. A couple of follow up patches to resolve duplicate documentation that resulted. New core features ----------------- backend - Add option for debugfs - useful for test pattern control - Use this for both adi-axi-adc and adi-axi-dac trigger suspend - Add functions to allow triggers to be suspended. This avoids problems when a device enters suspend to idle with a sysfs trigger. Use it for now in the bmi323 only. New driver features ------------------- adi,ad7192 - Add option to be a clock provider (+ additional clock config options) adi,ad7380 - Add documentation for this fairly new driver. adi,ad9461 - Provide control of test modes and backend validation blocks used to identify problems (via debugfs) adi,ad9739 - Add backend debugfs and docs for what is provided via adi-axi-dac avago,apds9960 - Add proximity and gesture calibration offset control bosch,bmp280 - Triggered buffer support including adding raw+scale output for sysfs. liteon,ltr390 - Add configuration of integration time and scale. stm,dfsdm - Convert this SD modulator driver to backend framework and add support for channel scaling + modern channel bindings. Treewide cleanup ---------------- iio_dev->masklength: Making it private. - Provide access function to read the core compute channel mask length and a macro to iterate over elements in the active_scan_mask. - Enables marking masklength __private preventing drivers from writing it without triggering a build warning whilst minimizing overhead in what are typically hot paths. - Convert all drivers and finally mark it private. Merge conflicts resolved in drivers applied after this point. Constify regmap_bus - These are never modified, so mark them const. Core cleanup ------------ backend - A few late breaking bits of feedback (unused variable, error messages) dma-buffer - Namespace exports. core - Drop unused assignment. Driver cleanup -------------- adi,ad4695 - Fixing binding to reflect that common-mode-channel is a scalar. adi,ad7280a - Use __free(kfree) to simplify freeing of receive buffer. adi,ad7606 - Various dt-binding cleanup and improvements. - Fix oversampling related gpio handling. - Make polarity of standby gpio match documentation. - use guard() to simplify lock handling. adi,ad7768 - Use device_for_each_child_node_scoped() instead of fwnode equivalent. adi,ad7124 - Reduce SPI transfers by avoiding separate writes to different fields in the same register. - Start the ADC in idle mode. adi,adis - Drop ifdefs in favor of IS_ENABLED. adi,admv8818 - Fix wrong ABI docs. asahi-kasei,ak8975 - Drop a prefix free compatible accidentally added recently. aspeed,adc - Use of_property_present() instead of of_find_property() to see if the property is there or not. atmel,at91, - Use __free(kfree) to simplify freeing of channel related array. bosch,bma400 - Use __free(kfree) to simplify freeing a locally allocated string. bosch,bmc150 - Add missing mount-matrix binding docs. bosch,bme680 - Fix read/write to ensure multiple necessary sequential reads without device configuration change. - Drop unnecessary type casts and use more appropriate data types. - Drop some left over ACPI code as ACPI support was removed due to invalid IDs (and no known users). - Sort headers consistently. - Avoid unnecessary duplicate read and redundant read of gas config. - Use bulk reads to get calibration data. - Reorder allocation of IIO device to be prior to device init. - Add remaining read/write buffers to the union used already for all others. - Tidy up error checks for consistency of style, including dev_err_probe() - Bring the device startup procedure inline with the vendor code. - Reorder code so mode forcing is more obvious occurring where needed. - Tidy up data locality in reading functions so no magic data is stored in state structures just to get it across function calls. - Make a local lookup table static to avoid placing it on the stack. bosch,bmp280 - Fix BME280 regmap to not include registers it doesn't have. - Wait a little longer after config to allow for maximum possible necessary wait. - Reorganize headers. - Make conversion_time_max array static to avoid placing it on the stack. maxim,max1363 - Use __free(kfree) to simplify freeing transmission buffer. microchip,mcp3964 - Use devm_regulator_get_enable_read_voltage() microchip,mcp3911 - Use devm_regulator_get_enable_read_voltage() microchip,mcp4728 - Use devm_regulator_get_enable_read_voltage() microchip,mcp4922 - Use devm_regulator_get_enable_read_voltage() and devm_* to allow dropping of explicit remove() callback. onnn,noa1305 - Various tidy up. - Provide available scale values. - Make integration time configurable. - Fix up integration time look up (/2 error) ti,dac7311 - Check if spi_setup() succeeded. ti,tsc2046 - Use __free(kfree) to simplify freeing rx and tx buffers. - Use devm_regulator_get_enable_read_voltage() Various minor fixes not called out explicitly. * tag 'iio-for-6.12a' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (250 commits) drivers:iio:Fix the NULL vs IS_ERR() bug for debugfs_create_dir() iio: sgp40: retain documentation in driver iio: ABI: remove duplicate in_resistance_calibbias dt-bindings: iio: st,stm32-adc: add top-level constraints iio: ABI: add missing calibbias attributes iio: ABI: add missing calibscale attributes iio: ABI: sort calibscale attributes iio: ABI: document calibscale_available attributes iio: light: ltr390: Calculate 'counts_per_uvi' dynamically iio: light: ltr390: Add ALS channel and support for gain and resolution doc: iio: ad4695: document buffered read iio: adc: ad4695: implement triggered buffer iio: proximity: hx9023s: Fix error code in hx9023s_property_get() iio: light: noa1305: Fix up integration time look up iio: humidity: Add support for ENS210 dt-bindings: iio: humidity: add ENS210 sensor family iio: imu: adis16460: drop ifdef around CONFIG_DEBUG_FS iio: imu: adis16400: drop ifdef around CONFIG_DEBUG_FS iio: imu: adis16480: drop ifdef around CONFIG_DEBUG_FS iio: imu: adis16475: drop ifdef around CONFIG_DEBUG_FS ...
2 parents 10c8d1b + c4b43d8 commit f53835f

File tree

197 files changed

+14743
-1805
lines changed

Some content is hidden

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

197 files changed

+14743
-1805
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
What: /sys/kernel/debug/iio/iio:deviceX/calibration_table_dump
2+
KernelVersion: 6.11
3+
4+
Description:
5+
This dumps the calibration table that was filled during the
6+
digital interface tuning process.
7+
8+
What: /sys/kernel/debug/iio/iio:deviceX/in_voltage_test_mode_available
9+
KernelVersion: 6.11
10+
11+
Description:
12+
List all the available test tones:
13+
- off
14+
- midscale_short
15+
- pos_fullscale
16+
- neg_fullscale
17+
- checkerboard
18+
- prbs23
19+
- prbs9
20+
- one_zero_toggle
21+
- user
22+
- bit_toggle
23+
- sync
24+
- one_bit_high
25+
- mixed_bit_frequency
26+
- ramp
27+
28+
Note that depending on the actual device being used, some of the
29+
above might not be available (and they won't be listed when
30+
reading the file).
31+
32+
What: /sys/kernel/debug/iio/iio:deviceX/in_voltageY_test_mode
33+
KernelVersion: 6.11
34+
35+
Description:
36+
Writing to this file will initiate one of available test tone on
37+
channel Y. Reading it, shows which test is running. In cases
38+
where an IIO backend is available and supports the test tone,
39+
additional information about the data correctness is given.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
What: /sys/kernel/debug/iio/iio:deviceX/backendY/name
2+
KernelVersion: 6.11
3+
4+
Description:
5+
Name of Backend Y connected to device X.
6+
7+
What: /sys/kernel/debug/iio/iio:deviceX/backendY/direct_reg_access
8+
KernelVersion: 6.11
9+
10+
Description:
11+
Directly access the registers of backend Y. Typical usage is:
12+
13+
Reading address 0x50
14+
echo 0x50 > direct_reg_access
15+
cat direct_reg_access
16+
17+
Writing address 0x50
18+
echo 0x50 0x3 > direct_reg_access
19+
//readback address 0x50
20+
cat direct_reg_access

Documentation/ABI/testing/sysfs-bus-iio

Lines changed: 60 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -523,13 +523,26 @@ Description:
523523
What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias
524524
What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias
525525
What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias
526+
What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_i_calibbias
527+
What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_q_calibbias
526528
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias
527529
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias
528530
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias
531+
What: /sys/bus/iio/devices/iio:deviceX/in_capacitance_calibbias
532+
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibbias
529533
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias
530-
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
531-
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
534+
What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_calibbias
535+
What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_calibbias
536+
What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_calibbias
537+
What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_calibbias
532538
What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias
539+
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
540+
What: /sys/bus/iio/devices/iio:deviceX/in_proximity_calibbias
541+
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
542+
What: /sys/bus/iio/devices/iio:deviceX/in_resistance_calibbias
543+
What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibbias
544+
What: /sys/bus/iio/devices/iio:deviceX/out_currentY_calibbias
545+
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_calibbias
533546
KernelVersion: 2.6.35
534547
535548
Description:
@@ -541,6 +554,9 @@ Description:
541554

542555
What: /sys/bus/iio/devices/iio:deviceX/in_accel_calibbias_available
543556
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_calibbias_available
557+
What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibbias_available
558+
What: /sys/bus/iio/devices/iio:deviceX/in_proximity_calibbias_available
559+
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_calibbias_available
544560
KernelVersion: 5.8
545561
546562
Description:
@@ -549,32 +565,54 @@ Description:
549565
- a small discrete set of values like "0 2 4 6 8"
550566
- a range specified as "[min step max]"
551567

552-
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
553-
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale
554-
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_calibscale
555-
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_calibscale
556-
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_calibscale
557-
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_calibscale
558-
What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage_calibscale
559-
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
560568
What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale
561569
What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale
562570
What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale
571+
What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage_calibscale
563572
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale
564573
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale
565574
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale
575+
What: /sys/bus/iio/devices/iio:deviceX/in_capacitance_calibscale
576+
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale
566577
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
567-
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
568-
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
578+
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_both_calibscale
579+
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_calibscale
580+
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_ir_calibscale
581+
What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_calibscale
582+
What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_calibscale
583+
What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_calibscale
569584
What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
570-
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale
585+
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
586+
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
587+
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
588+
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_calibscale
589+
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_calibscale
590+
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
591+
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_calibscale
592+
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_calibscale
593+
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale
594+
What: /sys/bus/iio/devices/iio:deviceX/out_currentY_calibscale
595+
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_calibscale
571596
KernelVersion: 2.6.35
572597
573598
Description:
574599
Hardware applied calibration scale factor (assumed to fix
575600
production inaccuracies). If shared across all channels,
576601
<type>_calibscale is used.
577602

603+
What: /sys/bus/iio/devices/iio:deviceX/in_illuminanceY_calibscale_available
604+
What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_calibscale_available
605+
What: /sys/bus/iio/devices/iio:deviceX/in_proximityY_calibscale_available
606+
KernelVersion: 4.8
607+
608+
Description:
609+
Available values of calibscale. Maybe expressed as either of:
610+
611+
- a small discrete set of values like "1 8 16"
612+
- a range specified as "[min step max]"
613+
614+
If shared across all channels, <type>_calibscale_available is used.
615+
578616
What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender
579617
What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender
580618
What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender
@@ -708,6 +746,7 @@ Description:
708746
2.5kohm_to_gnd: connected to ground via a 2.5kOhm resistor,
709747
6kohm_to_gnd: connected to ground via a 6kOhm resistor,
710748
20kohm_to_gnd: connected to ground via a 20kOhm resistor,
749+
42kohm_to_gnd: connected to ground via a 42kOhm resistor,
711750
90kohm_to_gnd: connected to ground via a 90kOhm resistor,
712751
100kohm_to_gnd: connected to ground via an 100kOhm resistor,
713752
125kohm_to_gnd: connected to ground via an 125kOhm resistor,
@@ -2289,3 +2328,11 @@ KernelVersion: 6.7
22892328
22902329
Description:
22912330
List of available timeout value for tap gesture confirmation.
2331+
2332+
What: /sys/.../iio:deviceX/in_shunt_resistor
2333+
What: /sys/.../iio:deviceX/in_current_shunt_resistor
2334+
What: /sys/.../iio:deviceX/in_power_shunt_resistor
2335+
KernelVersion: 6.10
2336+
2337+
Description:
2338+
The value of current sense resistor in Ohms.

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

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

Documentation/ABI/testing/sysfs-bus-iio-chemical-sgp40

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,3 @@ Description:
1515
Set the relative humidity. This value is sent to the sensor for
1616
humidity compensation.
1717
Default value: 50000 (50 % relative humidity)
18-
19-
What: /sys/bus/iio/devices/iio:deviceX/in_resistance_calibbias
20-
Date: August 2021
21-
KernelVersion: 5.15
22-
Contact: Andreas Klinger <[email protected]>
23-
Description:
24-
Set the bias value for the resistance which is used for
25-
calculation of in_concentration_input as follows:
26-
27-
x = (in_resistance_raw - in_resistance_calibbias) * 0.65
28-
29-
in_concentration_input = 500 / (1 + e^x)
30-
31-
Default value: 30000
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
What: /sys/bus/iio/devices/iio:deviceX/out_currentY_toggle_en
2+
KernelVersion: 5.18
3+
4+
Description:
5+
Toggle enable. Write 1 to enable toggle or 0 to disable it. This
6+
is useful when one wants to change the DAC output codes. For
7+
autonomous toggling, the way it should be done is:
8+
9+
- disable toggle operation;
10+
- change out_currentY_rawN, where N is the integer value of the symbol;
11+
- enable toggle operation.
12+
13+
What: /sys/bus/iio/devices/iio:deviceX/out_currentY_rawN
14+
KernelVersion: 5.18
15+
16+
Description:
17+
This attribute has the same meaning as out_currentY_raw. It is
18+
specific to toggle enabled channels and refers to the DAC output
19+
code in INPUT_N (_rawN), where N is the integer value of the symbol.
20+
The same scale and offset as in out_currentY_raw applies.
21+
22+
What: /sys/bus/iio/devices/iio:deviceX/out_currentY_symbol
23+
KernelVersion: 5.18
24+
25+
Description:
26+
Performs a SW switch to a predefined output symbol. This attribute
27+
is specific to toggle enabled channels and allows switching between
28+
multiple predefined symbols. Each symbol corresponds to a different
29+
output, denoted as out_currentY_rawN, where N is the integer value
30+
of the symbol. Writing an integer value N will select out_currentY_rawN.
31+
32+
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_toggle_en
33+
KernelVersion: 5.18
34+
35+
Description:
36+
Toggle enable. Write 1 to enable toggle or 0 to disable it. This
37+
is useful when one wants to change the DAC output codes. For
38+
autonomous toggling, the way it should be done is:
39+
40+
- disable toggle operation;
41+
- change out_voltageY_rawN, where N is the integer value of the symbol;
42+
- enable toggle operation.
43+
44+
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_rawN
45+
KernelVersion: 5.18
46+
47+
Description:
48+
This attribute has the same meaning as out_currentY_raw. It is
49+
specific to toggle enabled channels and refers to the DAC output
50+
code in INPUT_N (_rawN), where N is the integer value of the symbol.
51+
The same scale and offset as in out_currentY_raw applies.
52+
53+
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_symbol
54+
KernelVersion: 5.18
55+
56+
Description:
57+
Performs a SW switch to a predefined output symbol. This attribute
58+
is specific to toggle enabled channels and allows switching between
59+
multiple predefined symbols. Each symbol corresponds to a different
60+
output, denoted as out_voltageY_rawN, where N is the integer value
61+
of the symbol. Writing an integer value N will select out_voltageY_rawN.

Documentation/ABI/testing/sysfs-bus-iio-dac-ltc2688

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -53,34 +53,3 @@ KernelVersion: 5.18
5353
5454
Description:
5555
Returns the available values for the dither phase.
56-
57-
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_toggle_en
58-
KernelVersion: 5.18
59-
60-
Description:
61-
Toggle enable. Write 1 to enable toggle or 0 to disable it. This is
62-
useful when one wants to change the DAC output codes. The way it should
63-
be done is:
64-
65-
- disable toggle operation;
66-
- change out_voltageY_raw0 and out_voltageY_raw1;
67-
- enable toggle operation.
68-
69-
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw0
70-
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw1
71-
KernelVersion: 5.18
72-
73-
Description:
74-
It has the same meaning as out_voltageY_raw. This attribute is
75-
specific to toggle enabled channels and refers to the DAC output
76-
code in INPUT_A (_raw0) and INPUT_B (_raw1). The same scale and offset
77-
as in out_voltageY_raw applies.
78-
79-
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_symbol
80-
KernelVersion: 5.18
81-
82-
Description:
83-
Performs a SW toggle. This attribute is specific to toggle
84-
enabled channels and allows to toggle between out_voltageY_raw0
85-
and out_voltageY_raw1 through software. Writing 0 will select
86-
out_voltageY_raw0 while 1 selects out_voltageY_raw1.

Documentation/ABI/testing/sysfs-bus-iio-filter-admv8818

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ KernelVersion:
33
44
Description:
55
Reading this returns the valid values that can be written to the
6-
on_altvoltage0_mode attribute:
6+
filter_mode attribute:
77

88
- auto -> Adjust bandpass filter to track changes in input clock rate.
99
- manual -> disable/unregister the clock rate notifier / input clock tracking.

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,3 @@ Description:
1313
available for reading data. However, samples can be occasionally skipped
1414
or repeated, depending on the beat between the capture and conversion
1515
rates.
16-
17-
What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistor
18-
Date: December 2015
19-
KernelVersion: 4.4
20-
21-
Description:
22-
The value of the shunt resistor may be known only at runtime fom an
23-
eeprom content read by a client application. This attribute allows to
24-
set its value in ohms.

0 commit comments

Comments
 (0)