From: Rob Herring <robh@kernel.org>
To: Parthiban Nallathambi <pn@denx.de>
Cc: mark.rutland@arm.com, devicetree@vger.kernel.org,
linux@cubietech.com, jason@lakedaemon.net, marc.zyngier@arm.com,
catalin.marinas@arm.com, laisa.costa@lsitec.org.br,
will.deacon@arm.com, linux-kernel@vger.kernel.org,
thomas.liau@actions-semi.com, edgar.righi@lsitec.org.br,
guilherme.simoes@lsitec.org.br, mp-cs@actions-semi.com,
manivannan.sadhasivam@linaro.org, tglx@linutronix.de,
mkzuffo@lsi.usp.br, afaerber@suse.de,
linux-arm-kernel@lists.infradead.org, sravanhome@gmail.com
Subject: Re: [PATCH 1/3] dt-bindings: interrupt-controller: Actions external interrupt controller
Date: Tue, 31 Jul 2018 16:13:32 -0600 [thread overview]
Message-ID: <20180731221332.GA29883@rob-hp-laptop> (raw)
In-Reply-To: <20180724150219.1807724-2-pn@denx.de>
On Tue, Jul 24, 2018 at 05:02:17PM +0200, Parthiban Nallathambi wrote:
> Actions Semi OWL family SoC's provides support for external interrupt
> controller to be connected and controlled using SIRQ pins. S500, S700
> and S900 provides 3 SIRQ lines and works independently for 3 external
> interrupt controllers.
>
> Signed-off-by: Parthiban Nallathambi <pn@denx.de>
> Signed-off-by: Saravanan Sekar <sravanhome@gmail.com>
> ---
> .../interrupt-controller/actions,owl-sirq.txt | 34 ++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.txt
>
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.txt b/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.txt
> new file mode 100644
> index 000000000000..c5f8a29573c8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.txt
> @@ -0,0 +1,34 @@
> +Actions Semi Owl SoCs SIRQ interrupt controller
> +
> +S500, S700 and S900 SoC's from Actions provides interface, in which external
> +interrupt controller can be connected. It has the following properties:
> +
> +- inputs three interrupt signal from external interrupt controller
> +
> +Required properties:
> +
> +- compatible: should be one of the following
> + "actions,s700-sirq"
> + "actions,s900-sirq"
> +- reg: physical base address of the controller and length of memory mapped.
> +- interrupt-controller: identifies the node as an interrupt controller
> +- #interrupt-cells: specifies the number of cells needed to encode an interrupt
> + source, should be 2.
> +- interrupts: specifies the interrupt line in the interrupt controller and
> + interrupt type (level or edge triggered)
Need to state there are 3 interrupts.
> +- sampling-rate-24m: this means the external controller's interrupts can be
Needs a vendor prefix.
> + sampled at 24MHz. Sampling can be specified for each SIRQ lines, as an array
> + element. By default, all lines are sampled at 32KHz.
> +
> +Example:
> +
> +sirq: interrupt-controller@e01b0000 {
> + compatible = "actions,s700-sirq";
> + reg = <0 0xe01b0000 0 0x1000>;
> + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + sampling-rate-24m = <0 0 1>;
> +};
> --
> 2.14.4
>
next prev parent reply other threads:[~2018-07-31 22:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-24 15:02 [PATCH 0/3] Add Actions Semi Owl family sirq support Parthiban Nallathambi
2018-07-24 15:02 ` [PATCH 1/3] dt-bindings: interrupt-controller: Actions external interrupt controller Parthiban Nallathambi
2018-07-31 22:13 ` Rob Herring [this message]
2018-07-24 15:02 ` [PATCH 2/3] drivers/irqchip: Add Actions external interrupts support Parthiban Nallathambi
2018-07-24 15:59 ` Marc Zyngier
2018-07-24 15:02 ` [PATCH 3/3] arm64: dts: actions: Add sirq node for Actions Semi S700 Parthiban Nallathambi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180731221332.GA29883@rob-hp-laptop \
--to=robh@kernel.org \
--cc=afaerber@suse.de \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=edgar.righi@lsitec.org.br \
--cc=guilherme.simoes@lsitec.org.br \
--cc=jason@lakedaemon.net \
--cc=laisa.costa@lsitec.org.br \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@cubietech.com \
--cc=manivannan.sadhasivam@linaro.org \
--cc=marc.zyngier@arm.com \
--cc=mark.rutland@arm.com \
--cc=mkzuffo@lsi.usp.br \
--cc=mp-cs@actions-semi.com \
--cc=pn@denx.de \
--cc=sravanhome@gmail.com \
--cc=tglx@linutronix.de \
--cc=thomas.liau@actions-semi.com \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox