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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: adc: Replace hard-coded GPIO/IRQ flag with a define

For readability use known defines instead of hard-coding GPIO or
interrupt flag.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/20250724111345.47889-6-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Krzysztof Kozlowski and committed by
Jonathan Cameron
1c3e8798 07306551

+2 -2
+1 -1
Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
··· 63 63 vdd-supply = <&adc_vdd>; 64 64 vref-supply = <&adc_vref>; 65 65 spi-max-frequency = <1000000>; 66 - shutdown-gpios = <&gpio 26 1>; 66 + shutdown-gpios = <&gpio 26 GPIO_ACTIVE_LOW>; 67 67 }; 68 68 };
+1 -1
Documentation/devicetree/bindings/iio/adc/rohm,bd79124.yaml
··· 81 81 reg = <0x10>; 82 82 83 83 interrupt-parent = <&gpio1>; 84 - interrupts = <29 8>; 84 + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; 85 85 86 86 vdd-supply = <&dummyreg>; 87 87 iovdd-supply = <&dummyreg>;