mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
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>
This commit is contained in:
parent
b01dcdd86e
commit
24a2994923
@ -37,6 +37,7 @@ Required properties:
|
||||
- #interrupt-cells: if to be used as interrupt expander.
|
||||
|
||||
Optional properties:
|
||||
- interrupts: interrupt specifier for the device's interrupt output.
|
||||
- reset-gpios: GPIO specification for the RESET input. This is an
|
||||
active low signal to the PCA953x.
|
||||
- vcc-supply: power supply regulator.
|
||||
@ -49,6 +50,8 @@ Example:
|
||||
reg = <0x20>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pca9505>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-parent = <&gpio3>;
|
||||
interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user