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

dt-bindings: gpio: pca953x: Document interrupts, update example

The device can optionally supply an interrupt, hence document that.

Add required GPIO properties to the example (extracted from a patch by
Wolfram Sang).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Geert Uytterhoeven and committed by
Rob Herring
24a29949 b01dcdd8

+3
+3
Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
··· 37 37 - #interrupt-cells: if to be used as interrupt expander. 38 38 39 39 Optional properties: 40 + - interrupts: interrupt specifier for the device's interrupt output. 40 41 - reset-gpios: GPIO specification for the RESET input. This is an 41 42 active low signal to the PCA953x. 42 43 - vcc-supply: power supply regulator. ··· 50 49 reg = <0x20>; 51 50 pinctrl-names = "default"; 52 51 pinctrl-0 = <&pinctrl_pca9505>; 52 + gpio-controller; 53 + #gpio-cells = <2>; 53 54 interrupt-parent = <&gpio3>; 54 55 interrupts = <23 IRQ_TYPE_LEVEL_LOW>; 55 56 };