Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1370363
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/9] Documentation: dt-bindings: Document STM32 EXTI controller bindings |
| Date | 2016-04-04 07:20 +0200 |
| Message-ID | <rk55G-6H0-45@gated-at.bofh.it> (permalink) |
| References | <riMoq-6WJ-11@gated-at.bofh.it> <riMy6-71p-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Mar 31, 2016 at 05:09:31PM +0200, Maxime Coquelin wrote:
> Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
> ---
> .../bindings/interrupt-controller/st,stm32-exti.txt | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt
>
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt b/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt
> new file mode 100644
> index 000000000000..6e7703d4ff5b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt
> @@ -0,0 +1,20 @@
> +STM32 External Interrupt Controller
> +
> +Required properties:
> +
> +- compatible: Should be "st,stm32-exti"
> +- reg: Specifies base physical address and size of the registers
> +- interrupt-controller: Indentifies the node as an interrupt controller
> +- #interrupt-cells: Specifies the number of cells to encode an interrupt
> + specifier, shall be 2
> +- interrupts: interrupts references to primary interrupt controller
Need to define how many and what is the order?
Are these 1:1 mapping? You could use interrupt-map here to define the
mapping.
> +
> +Example:
> +
> +exti: interrupt-controller@40013c00 {
> + compatible = "st,stm32-exti";
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + reg = <0x40013C00 0x400>;
> + interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <42>, <62>, <76>;
> +};
> --
> 1.9.1
>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/9] Add STM32 EXTI interrupt controller support Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2016-03-31 17:10 +0200
[PATCH v2 2/9] drivers: irqchip: Add STM32 external interrupts support Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2016-03-31 17:20 +0200
Re: [PATCH v2 2/9] drivers: irqchip: Add STM32 external interrupts support Linus Walleij <linus.walleij@linaro.org> - 2016-04-08 11:40 +0200
Re: [PATCH v2 2/9] drivers: irqchip: Add STM32 external interrupts support Linus Walleij <linus.walleij@linaro.org> - 2016-04-08 11:50 +0200
[PATCH v2 1/9] Documentation: dt-bindings: Document STM32 EXTI controller bindings Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2016-03-31 17:20 +0200
Re: [PATCH v2 1/9] Documentation: dt-bindings: Document STM32 EXTI controller bindings Rob Herring <robh@kernel.org> - 2016-04-04 07:20 +0200
Re: [PATCH v2 1/9] Documentation: dt-bindings: Document STM32 EXTI controller bindings Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2016-04-04 16:40 +0200
[PATCH v2 4/9] ARM: dts: Add EXTI controller node to stm32f429 Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2016-03-31 17:20 +0200
[PATCH v2 3/9] ARM: STM32: Select external interrupts controller Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2016-03-31 17:20 +0200
[PATCH v2 7/9] ARM: dts: Add GPIO irq support to STM2F429 Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2016-03-31 17:20 +0200
[PATCH v2 9/9] ARM: config: Enable GPIO Key driver in stm32_defconfig Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2016-03-31 17:20 +0200
[PATCH v2 8/9] ARM: dts: Declare push button as GPIO key on stm32f429 Disco board Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2016-03-31 17:20 +0200
[PATCH v2 6/9] pinctrl: Add IRQ support to STM32 gpios Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2016-03-31 17:20 +0200
Re: [PATCH v2 6/9] pinctrl: Add IRQ support to STM32 gpios Linus Walleij <linus.walleij@linaro.org> - 2016-04-08 11:50 +0200
[PATCH v2 5/9] Documentation: dt-bindings: Add IRQ related properties of STM32 pinctrl Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2016-03-31 17:20 +0200
Re: [PATCH v2 5/9] Documentation: dt-bindings: Add IRQ related properties of STM32 pinctrl Rob Herring <robh@kernel.org> - 2016-04-04 07:30 +0200
csiph-web