From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>,
Thomas Gleixner <tglx@linutronix.de>,
Jason Cooper <jason@lakedaemon.net>
Cc: linux-sh@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] irqchip: renesas-intc-irqpin: Add optional functional clock to bindings
Date: Wed, 18 Mar 2015 17:55:42 +0000 [thread overview]
Message-ID: <5509BC1E.8050802@cogentembedded.com> (raw)
In-Reply-To: <1426696644-25636-1-git-send-email-geert+renesas@glider.be>
Hello.
On 03/18/2015 07:37 PM, Geert Uytterhoeven wrote:
> This clock is managed since commit 705bc96c2c15313c ("irqchip:
> renesas-intc-irqpin: Add minimal runtime PM support").
> Also add an example while we're at.
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> .../interrupt-controller/renesas,intc-irqpin.txt | 29 ++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.txt b/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.txt
> index 4f7946ae8adcdc04..e7cfcec056159b93 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.txt
> +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.txt
> @@ -25,3 +25,32 @@ Optional properties:
> if different from the default 4 bits
> - control-parent: disable and enable interrupts on the parent interrupt
> controller, needed for some broken implementations
> +- clocks: Must contain a reference to the functional clock. The property is
> + mandatory if the hardware implements a controllable functional clock for
> + the irqpin controller instance.
> +
> +
> +Example
> +-------
> +
> + irqpin1: irqpin@e6900004 {
The node name should be "interrupt-controller@e6900004".
> + compatible = "renesas,intc-irqpin-r8a7740",
> + "renesas,intc-irqpin";
> + #interrupt-cells = <2>;
> + interrupt-controller;
> + reg = <0xe6900004 4>,
> + <0xe6900014 4>,
> + <0xe6900024 1>,
> + <0xe6900044 1>,
> + <0xe6900064 1>;
> + interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH>;
Hm, 8 similar interrupts?
> + clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
> + power-domains = <&pd_a4s>;
> + };
WBR, Sergei
WARNING: multiple messages have this Message-ID (diff)
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>,
Thomas Gleixner <tglx@linutronix.de>,
Jason Cooper <jason@lakedaemon.net>
Cc: linux-sh@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] irqchip: renesas-intc-irqpin: Add optional functional clock to bindings
Date: Wed, 18 Mar 2015 20:55:42 +0300 [thread overview]
Message-ID: <5509BC1E.8050802@cogentembedded.com> (raw)
In-Reply-To: <1426696644-25636-1-git-send-email-geert+renesas@glider.be>
Hello.
On 03/18/2015 07:37 PM, Geert Uytterhoeven wrote:
> This clock is managed since commit 705bc96c2c15313c ("irqchip:
> renesas-intc-irqpin: Add minimal runtime PM support").
> Also add an example while we're at.
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> .../interrupt-controller/renesas,intc-irqpin.txt | 29 ++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.txt b/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.txt
> index 4f7946ae8adcdc04..e7cfcec056159b93 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.txt
> +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.txt
> @@ -25,3 +25,32 @@ Optional properties:
> if different from the default 4 bits
> - control-parent: disable and enable interrupts on the parent interrupt
> controller, needed for some broken implementations
> +- clocks: Must contain a reference to the functional clock. The property is
> + mandatory if the hardware implements a controllable functional clock for
> + the irqpin controller instance.
> +
> +
> +Example
> +-------
> +
> + irqpin1: irqpin@e6900004 {
The node name should be "interrupt-controller@e6900004".
> + compatible = "renesas,intc-irqpin-r8a7740",
> + "renesas,intc-irqpin";
> + #interrupt-cells = <2>;
> + interrupt-controller;
> + reg = <0xe6900004 4>,
> + <0xe6900014 4>,
> + <0xe6900024 1>,
> + <0xe6900044 1>,
> + <0xe6900064 1>;
> + interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH
> + 0 149 IRQ_TYPE_LEVEL_HIGH>;
Hm, 8 similar interrupts?
> + clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
> + power-domains = <&pd_a4s>;
> + };
WBR, Sergei
next prev parent reply other threads:[~2015-03-18 17:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-18 16:37 [PATCH] irqchip: renesas-intc-irqpin: Add optional functional clock to bindings Geert Uytterhoeven
2015-03-18 16:37 ` Geert Uytterhoeven
2015-03-18 17:55 ` Sergei Shtylyov [this message]
2015-03-18 17:55 ` Sergei Shtylyov
2015-04-01 9:06 ` Geert Uytterhoeven
2015-04-01 9:06 ` Geert Uytterhoeven
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=5509BC1E.8050802@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=jason@lakedaemon.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=tglx@linutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.