Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: iio: imu: icm42600: add interrupt naming support

Add interrupt-names field for specifying interrupt pin configured.

Chips are supporting up to 2 interrupt pins with configurable interrupt
sources. Change interrupt to support 1 or 2 entries.

Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20250410-iio-imu-inv-icm42600-rework-interrupt-using-names-v4-1-19e4e2f8f7eb@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Jean-Baptiste Maneyrol and committed by
Jonathan Cameron
6b4079cc 3716068c

+12 -1
+12 -1
Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml
··· 39 39 maxItems: 1 40 40 41 41 interrupts: 42 - maxItems: 1 42 + minItems: 1 43 + maxItems: 2 44 + 45 + interrupt-names: 46 + minItems: 1 47 + maxItems: 2 48 + items: 49 + enum: 50 + - INT1 51 + - INT2 43 52 44 53 drive-open-drain: 45 54 type: boolean ··· 85 76 reg = <0x68>; 86 77 interrupt-parent = <&gpio2>; 87 78 interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 79 + interrupt-names = "INT1"; 88 80 vdd-supply = <&vdd>; 89 81 vddio-supply = <&vddio>; 90 82 }; ··· 105 95 spi-cpol; 106 96 interrupt-parent = <&gpio1>; 107 97 interrupts = <2 IRQ_TYPE_EDGE_FALLING>; 98 + interrupt-names = "INT1"; 108 99 vdd-supply = <&vdd>; 109 100 vddio-supply = <&vddio>; 110 101 };