Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
0a859b0
staging: iio: ad9832: remove platform_data support
TomasBorquez Dec 5, 2025
59ad8e6
iio: adc: ad9467: support write/read offset via _calibbias
vai-tomme Dec 3, 2025
e0ffaa1
iio: imu: st_lsm6dsx: make event_settings more generic
Dec 1, 2025
fdec931
iio: imu: st_lsm6dsx: move wakeup event enable mask to event_src
Dec 1, 2025
b82150a
iio: imu: st_lsm6dsx: rework code to check for enabled events
Dec 1, 2025
2f87d49
iio: imu: st_lsm6dsx: remove event_threshold field from hw struct
Dec 1, 2025
2151990
iio: imu: st_lsm6dsx: make event management functions generic
Dec 1, 2025
1680c41
iio: imu: st_lsm6dsx: add event configurability on a per axis basis
Dec 1, 2025
6446f38
iio: imu: st_lsm6dsx: add event spec parameter to iio_chan_spec initi…
Dec 1, 2025
71b6ff6
iio: imu: st_lsm6dsx: add tap event detection
Dec 1, 2025
04662b5
iio: light: isl29018: replace sprintf() with safer alternatives
TomasBorquez Nov 26, 2025
df74a11
iio: imu: smi330: remove redundant assignment in smi330_read_avail
m-pellizzer Nov 25, 2025
02d1af1
bindings: iio: adc: Add bindings for TI ADS131M0x ADCs
olerem Nov 18, 2025
daea3a3
iio: adc: Add TI ADS131M0x ADC driver
yope Nov 18, 2025
bfec455
iio: accel: Change adxl345 depend to negate adxl35x
gastmaier Nov 12, 2025
75bbd01
dt-bindings: iio: adc: Add the NXP SAR ADC for s32g2/3 platforms
dlezcano Dec 8, 2025
fdee77d
iio: adc: Add the NXP SAR ADC support for the s32g2/3 platforms
dlezcano Dec 8, 2025
bc54545
dt-bindings: iio: frequency: adf4377: add clk provider
amiclaus Dec 12, 2025
8b3f612
iio: frequency: adf4377: add clk provider support
amiclaus Dec 12, 2025
018825b
dt-bindings: iio: amplifiers: add adl8113
amiclaus Dec 12, 2025
32a9402
iio: amplifiers: adl8113: add driver support
amiclaus Dec 12, 2025
3112034
dt-bindings: iio: adc: Allow interrupts property for AST2600
amboar Dec 11, 2025
ca81388
dt-bindings: iio: adc: Add TI ADS1018/ADS1118
kuu-rt Dec 12, 2025
f07d12d
iio: adc: Add ti-ads1018 driver
kuu-rt Dec 12, 2025
6366e72
dt-bindings: adc: ad9467: add support for ad9211
vai-tomme Dec 9, 2025
f64a009
iio: adc: ad9467: sort header includes
vai-tomme Dec 9, 2025
1d5b187
iio: adc: ad9467: add support for ad9211
vai-tomme Dec 9, 2025
b4557fc
dt-bindings: iio: pressure: add honeywell,abp2030pa
rodan Dec 7, 2025
a7b10f0
iio: pressure: add Honeywell ABP2 driver
rodan Dec 7, 2025
37df14b
Subject: [PATCH v1 0/3] iio: dac: Add support for MAX22007 DAC
jansunil Dec 19, 2025
b6a9e27
dt-bindings: iio: dac: Add max22007
jansunil Nov 7, 2025
1b40f28
docs: iio: Add documentation for MAX22007 driver
jansunil Nov 7, 2025
031133f
iio: dac: Add MAX22007 DAC driver support
jansunil Nov 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ description: |
All the parts support the register map described by Application Note AN-877
https://www.analog.com/media/en/technical-documentation/application-notes/AN-877.pdf

https://www.analog.com/media/en/technical-documentation/data-sheets/AD9211.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/AD9265.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/AD9434.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/AD9467.pdf

properties:
compatible:
enum:
- adi,ad9211
- adi,ad9265
- adi,ad9434
- adi,ad9467
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ properties:
Input clock used to derive the sample clock. Expected to be the
SoC's APB clock.

interrupts:
maxItems: 1

resets:
maxItems: 1

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/nxp,s32g2-sar-adc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NXP Successive Approximation ADC

description:
The NXP SAR ADC provides fast and accurate analog-to-digital
conversion using the Successive Approximation Register (SAR) method.
It has 12-bit resolution with 8 input channels. Conversions can be
launched in software or using hardware triggers. It supports
continuous and one-shot modes with separate registers.

maintainers:
- Daniel Lezcano <daniel.lezcano@kernel.org>

properties:
compatible:
oneOf:
- const: nxp,s32g2-sar-adc
- items:
- const: nxp,s32g3-sar-adc
- const: nxp,s32g2-sar-adc

reg:
maxItems: 1

interrupts:
maxItems: 1

clocks:
maxItems: 1

dmas:
maxItems: 1

dma-names:
const: rx

required:
- compatible
- reg
- interrupts
- clocks
- dmas
- dma-names

additionalProperties: false

examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>

adc@401f8000 {
compatible = "nxp,s32g2-sar-adc";
reg = <0x401f8000 0x1000>;
interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks 0x41>;
dmas = <&edma0 0 32>;
dma-names = "rx";
};
82 changes: 82 additions & 0 deletions Documentation/devicetree/bindings/iio/adc/ti,ads1018.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/ti,ads1018.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TI ADS1018/ADS1118 SPI analog to digital converter

maintainers:
- Kurt Borja <kuurtb@gmail.com>

description: |
The ADS1018/ADS1118 is a precision, low-power, 12-bit/16-bit, analog to
digital converter (ADC). It integrates a programmable gain amplifier (PGA),
internal voltage reference, oscillator and high-accuracy temperature sensor.

Datasheets:
- ADS1018: https://www.ti.com/lit/ds/symlink/ads1018.pdf
- ADS1118: https://www.ti.com/lit/ds/symlink/ads1118.pdf

properties:
compatible:
enum:
- ti,ads1018
- ti,ads1118

reg:
maxItems: 1

vdd-supply: true

spi-max-frequency:
maximum: 4000000

spi-cpha: true

interrupts:
description: DOUT/DRDY (Data Out/Data Ready) line.
maxItems: 1

drdy-gpios:
description:
Extra GPIO line connected to DOUT/DRDY (Data Out/Data Ready). This allows
distinguishing between interrupts triggered by the data-ready signal and
interrupts triggered by an SPI transfer.
maxItems: 1

'#io-channel-cells':
const: 1

required:
- compatible
- reg
- vdd-supply

allOf:
- $ref: /schemas/spi/spi-peripheral-props.yaml#

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>

spi {
#address-cells = <1>;
#size-cells = <0>;

adc@0 {
compatible = "ti,ads1118";
reg = <0>;

spi-max-frequency = <4000000>;
spi-cpha;

vdd-supply = <&vdd_3v3_reg>;

interrupts-extended = <&gpio 14 IRQ_TYPE_EDGE_FALLING>;
drdy-gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
208 changes: 208 additions & 0 deletions Documentation/devicetree/bindings/iio/adc/ti,ads131m02.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/ti,ads131m02.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments ADS131M0x 2-, 3-, 4-, 6- and 8-Channel ADCs

maintainers:
- Oleksij Rempel <o.rempel@pengutronix.de>

description: |
The ADS131M0x are a family of multichannel, simultaneous sampling,
24-bit, delta-sigma, analog-to-digital converters (ADCs) with a
built-in programmable gain amplifier (PGA) and internal reference.
Communication with the ADC chip is via SPI.

Datasheets:
- ADS131M02: https://www.ti.com/lit/ds/symlink/ads131m02.pdf
- ADS131M03: https://www.ti.com/lit/ds/symlink/ads131m03.pdf
- ADS131M04: https://www.ti.com/lit/ds/symlink/ads131m04.pdf
- ADS131M06: https://www.ti.com/lit/ds/symlink/ads131m06.pdf
- ADS131M08: https://www.ti.com/lit/ds/symlink/ads131m08.pdf

properties:
compatible:
enum:
- ti,ads131m02
- ti,ads131m03
- ti,ads131m04
- ti,ads131m06
- ti,ads131m08

reg:
description: SPI chip select number.

clocks:
description:
Phandle to the external clock source required by the ADC's CLKIN pin.
The datasheet recommends specific frequencies based on the desired power
mode (e.g., 8.192 MHz for High-Resolution mode).
maxItems: 1

avdd-supply:
description: Analog power supply (AVDD).

dvdd-supply:
description: Digital power supply (DVDD).

interrupts:
description: DRDY (Data Ready) output signal.
maxItems: 1

reset-gpios:
description: Optional RESET signal.
maxItems: 1

clock-names:
description:
Indicates if a crystal oscillator (XTAL) or CMOS signal is connected
(CLKIN). Note that XTAL mode is only supported on ADS131M06 and ADS131M08.
enum: [xtal, clkin]

refin-supply:
description: Optional external reference supply (REFIN).

'#address-cells':
const: 1

'#size-cells':
const: 0

required:
- compatible
- reg
- clocks
- clock-names
- avdd-supply
- dvdd-supply

patternProperties:
"^channel@[0-7]$":
type: object
$ref: /schemas/iio/adc/adc.yaml#
description: Properties for a single ADC channel.

properties:
reg:
description: The channel index (0-7).
minimum: 0
maximum: 7 # Max channels on ADS131M08

label: true

required:
- reg

unevaluatedProperties: false

allOf:
- $ref: /schemas/spi/spi-peripheral-props.yaml#

- if:
# 20-pin devices: M02, M03, M04
# These do not support XTAL or REFIN.
properties:
compatible:
enum:
- ti,ads131m02
- ti,ads131m03
- ti,ads131m04
then:
properties:
clock-names:
const: clkin
refin-supply: false

- if:
# ADS131M02: 2 channels max (0-1)
properties:
compatible:
contains:
const: ti,ads131m02
then:
patternProperties:
"^channel@[0-1]$":
properties:
reg:
maximum: 1
"^channel@[2-7]$": false

- if:
# ADS131M03: 3 channels max (0-2)
properties:
compatible:
contains:
const: ti,ads131m03
then:
patternProperties:
"^channel@[0-2]$":
properties:
reg:
maximum: 2
"^channel@[3-7]$": false

- if:
# ADS131M04: 4 channels max (0-3)
properties:
compatible:
contains:
const: ti,ads131m04
then:
patternProperties:
"^channel@[0-3]$":
properties:
reg:
maximum: 3
"^channel@[4-7]$": false

- if:
# ADS131M06: 6 channels max (0-5)
properties:
compatible:
contains:
const: ti,ads131m06
then:
patternProperties:
"^channel@[0-5]$":
properties:
reg:
maximum: 5
"^channel@[6-7]$": false

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/stm32mp1-clks.h>

spi1 {
#address-cells = <1>;
#size-cells = <0>;

adc@0 {
compatible = "ti,ads131m02";
reg = <0>;
spi-max-frequency = <8000000>;

clocks = <&rcc CK_MCO2>;
clock-names = "clkin";

avdd-supply = <&vdd_ana>;
dvdd-supply = <&vdd_dig>;

#address-cells = <1>;
#size-cells = <0>;

channel@0 {
reg = <0>;
label = "input_voltage";
};

channel@1 {
reg = <1>;
label = "input_current";
};
};
};
Loading
Loading