Skip to content

Commit 75621ae

Browse files
committed
Merge tag 'iio-for-6.2b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next
Jonathan writes: 2nd set of IIO new device support, cleanups etc for 6.2 Includes a few late breaking fixes for old issues. Contains a large set of conversions from i2c probe() to probe_new() as part of an attempt to finally get rid of the old style probe(). New devices support * adi,ad74115 - New driver for this complex input/output device with 16 bit ADCs, 14 bit DACs amongst other features. - A few tidy ups / removal of unused data patches followed. * adi,adf4377 - New driver for this dual output integer-N phased locked loop and VCO chip. * maxim,max30208 - New driver for this high accuracy digital temperature sensor. * st,lsm6dsx - Support for LSM6DS016IS (chip specific data) - Support for ISM330IS (id entry only) Minor cleanups etc * adi,adis - Fix a deadlock on device instance specific mutex. - Tidy up by calling unlocked form of __adis_initial_startup() in all cases and dropping the locked version. * adi,ad4130 - Reference spi-peripehral-props.yaml in the dt-binding. * adi,ad74413r - Fix a bug brought on by integer promotion of signed value to unsigned type. - Add an spi_device_id table to allow module autoloading to work. - Add support for reset pin. * adi,ad7606_par - devm_platform_get_and_ioremap_resource() instead of opencoding. * adi,ad7923 - Add dt-bindings docs for ad7927 via a fallback to ad7928 and do similar for ad7924. * adi,ltc2983 - Drop a now unneeded $ref for -nanoamp property as dt-schema no covers this unit. * maxim,max11410 - Fix mask due to repeated use of VREFN instead of one of them being VREFP. * qcom,spmi-iadc - Add fallback compatibles to dt-binding. * renesas,rzg2l - Document use for RZ/Five SoC. * st,stm32-adc - Improved calibration support with error logging and a debugfs interface to read back the result. * ti,adc128s052 - Fix an issue with missing data members in the adc128_of_match table that meant all device were being handled as adc128s052 ADCs. * tag 'iio-for-6.2b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (178 commits) iio: addac: ad74413r: fix blank line after declaration warning iio: addac: ad74115: remove unused ad74115_dac_slew_rate_hz_tbl dt-bindings: iio: imu: st_lsm6dsx: add ism330is iio: imu: st_lsm6dsx: add support to ISM330IS iio: frequency: adf4377: add support for ADF4377 dt-bindings: iio: frequency: add adf4377 doc dt-bindings: iio: adc: ad4130: use spi-peripheral-props.yaml dt-bindings: iio: temperature: ltc2983: drop $ref for -nanoamp properties dt-bindings: iio: adc: renesas,rzg2l-adc: Document RZ/Five SoC iio: adc128s052: add proper .data members in adc128_of_match table iio: adc: stm32-adc: add debugfs to read raw calibration result iio: adc: stm32-adc: improve calibration error log iio: adc: stm32-adc: smart calibration support iio: addac: ad74413r: add support for reset-gpio dt-bindings: iio: ad74413r: add optional reset-gpios iio: addac: ad74413r: add spi_device_id table dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles dt-bindings: iio: imu: st_lsm6dsx: add lsm6dso16is iio: imu: st_lsm6dsx: add support to LSM6DSO16IS iio: addac: add AD74115 driver ...
2 parents 9bde43a + f84eec0 commit 75621ae

File tree

181 files changed

+4418
-545
lines changed

Some content is hidden

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

181 files changed

+4418
-545
lines changed

Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,10 @@ patternProperties:
190190
- reg
191191
- diff-channels
192192

193-
additionalProperties: false
193+
allOf:
194+
- $ref: /schemas/spi/spi-peripheral-props.yaml#
195+
196+
unevaluatedProperties: false
194197

195198
examples:
196199
- |

Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ maintainers:
1111

1212
description: |
1313
Analog Devices AD7904, AD7914, AD7923, AD7924 4 Channel ADCs, and AD7908,
14-
AD7918, AD7928 8 Channels ADCs.
14+
AD7918, AD7927, AD7928 8 Channels ADCs.
1515
1616
Specifications about the part can be found at:
1717
https://www.analog.com/media/en/technical-documentation/data-sheets/AD7923.pdf
@@ -20,14 +20,22 @@ description: |
2020
2121
properties:
2222
compatible:
23-
enum:
24-
- adi,ad7904
25-
- adi,ad7914
26-
- adi,ad7923
27-
- adi,ad7924
28-
- adi,ad7908
29-
- adi,ad7918
30-
- adi,ad7928
23+
oneOf:
24+
- enum:
25+
- adi,ad7904
26+
- adi,ad7908
27+
- adi,ad7914
28+
- adi,ad7918
29+
- adi,ad7923
30+
- adi,ad7928
31+
- const: adi,ad7924
32+
deprecated: true
33+
- items:
34+
- const: adi,ad7924
35+
- const: adi,ad7923
36+
- items:
37+
- const: adi,ad7927
38+
- const: adi,ad7928
3139

3240
reg:
3341
maxItems: 1

Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ description: |
1818
1919
properties:
2020
compatible:
21-
const: qcom,spmi-iadc
21+
items:
22+
- enum:
23+
- qcom,pm8941-iadc
24+
- const: qcom,spmi-iadc
2225

2326
reg:
2427
description: IADC base address and length in the SPMI PMIC register map
@@ -50,7 +53,7 @@ examples:
5053
#address-cells = <1>;
5154
#size-cells = <0>;
5255
pmic_iadc: adc@3600 {
53-
compatible = "qcom,spmi-iadc";
56+
compatible = "qcom,pm8941-iadc", "qcom,spmi-iadc";
5457
reg = <0x3600>;
5558
interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>;
5659
qcom,external-resistor-micro-ohms = <10000>;

Documentation/devicetree/bindings/iio/adc/renesas,rzg2l-adc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ properties:
1919
compatible:
2020
items:
2121
- enum:
22-
- renesas,r9a07g043-adc # RZ/G2UL
22+
- renesas,r9a07g043-adc # RZ/G2UL and RZ/Five
2323
- renesas,r9a07g044-adc # RZ/G2L
2424
- renesas,r9a07g054-adc # RZ/V2L
2525
- const: renesas,rzg2l-adc

0 commit comments

Comments
 (0)