* [PATCH] dt-bindings: gpio: pca953x: Document interrupts, update example
@ 2018-06-19 17:24 Geert Uytterhoeven
2018-06-26 20:24 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2018-06-19 17:24 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Mark Rutland
Cc: Wolfram Sang, H . Nikolaus Schaller, linux-gpio, devicetree,
Geert Uytterhoeven
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>
---
Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
index 88f22866550750f9..4e3c550e319ad2e0 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
@@ -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>;
};
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: gpio: pca953x: Document interrupts, update example
2018-06-19 17:24 [PATCH] dt-bindings: gpio: pca953x: Document interrupts, update example Geert Uytterhoeven
@ 2018-06-26 20:24 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2018-06-26 20:24 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Linus Walleij, Mark Rutland, Wolfram Sang, H . Nikolaus Schaller,
linux-gpio, devicetree
On Tue, Jun 19, 2018 at 07:24:41PM +0200, Geert Uytterhoeven wrote:
> 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>
> ---
> Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 3 +++
> 1 file changed, 3 insertions(+)
Applied, thanks.
Rob
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-26 20:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-19 17:24 [PATCH] dt-bindings: gpio: pca953x: Document interrupts, update example Geert Uytterhoeven
2018-06-26 20:24 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox