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: mcp3911: add reset-gpios

The MCP391X family provides an active low reset signal that is still not
described in the bindings.

Add reset-gpios to the bindings and the example.

Co-developed-by: Lukas Rauber <lukas.rauber@janitza.de>
Signed-off-by: Lukas Rauber <lukas.rauber@janitza.de>
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250428-mcp3911-fixes-v2-2-406e39330c3d@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Marcus Folkesson and committed by
Jonathan Cameron
94264cc9 f62c49d8

+5
+5
Documentation/devicetree/bindings/iio/adc/microchip,mcp3911.yaml
··· 32 32 spi-max-frequency: 33 33 maximum: 20000000 34 34 35 + reset-gpios: 36 + maxItems: 1 37 + 35 38 clocks: 36 39 description: | 37 40 Phandle and clock identifier for external sampling clock. ··· 74 71 75 72 examples: 76 73 - | 74 + #include <dt-bindings/gpio/gpio.h> 77 75 spi { 78 76 #address-cells = <1>; 79 77 #size-cells = <0>; ··· 84 80 reg = <0>; 85 81 interrupt-parent = <&gpio5>; 86 82 interrupts = <15 2>; 83 + reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; 87 84 spi-max-frequency = <20000000>; 88 85 microchip,device-addr = <0>; 89 86 vref-supply = <&vref_reg>;