Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1224431 > unrolled thread
| Started by | Geert Uytterhoeven <geert+renesas@glider.be> |
|---|---|
| First post | 2015-09-14 22:10 +0200 |
| Last post | 2015-09-22 13:00 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v2 2/2] irqchip: gic: Document optional Clock and Power Domain properties Geert Uytterhoeven <geert+renesas@glider.be> - 2015-09-14 22:10 +0200
Re: [PATCH v2 2/2] irqchip: gic: Document optional Clock and Power Domain properties Rob Herring <robh@kernel.org> - 2015-09-15 21:00 +0200
[tip:irq/core] irqchip/gic: Document optional Clock and Power Domain properties tip-bot for Geert Uytterhoeven <tipbot@zytor.com> - 2015-09-22 13:00 +0200
| From | Geert Uytterhoeven <geert+renesas@glider.be> |
|---|---|
| Date | 2015-09-14 22:10 +0200 |
| Subject | [PATCH v2 2/2] irqchip: gic: Document optional Clock and Power Domain properties |
| Message-ID | <q8IeB-89j-5@gated-at.bofh.it> |
Depending on the GIC variant, the GIC module has one or more clock
inputs. Document the optional "clocks" and "clock-names" properties,
and their possible values, based on the Technical Reference Manuals.
optional.
Add the optional "power-domains" property.
This will allow to describe in DT the relationship between the GIC and
the Clock and/or Power Domain topology on SoCs where this is relevant
and needed for proper operation.
Note: As the current GIC driver doesn't support Runtime PM yet, PM
Domain constraints must be handled elsewhere in e.g. platform code.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Note: v1 was Acked-by: Rob Herring <robh@kernel.org>, but I didn't add
it, due to the addition of clock-names.
v2:
- Add "clock-names",
- Document clock inputs on various GIC variants.
Clock inputs are based on the following documentation:
- "ARM11 MPCore Processor Technical Reference Manual" (r2p0),
- "Cortex-A9 MPCore Technical Reference Manual" (r4p1, r2p0),
- "Cortex-A15 Technical Reference Manual" (r4p0, r2p0),
- "CoreLink GIC-400 Generic Interrupt Controller Technical Reference
Manual" (r0p1, r0p0),
- "PrimeCell Generic Interrupt Controller (PL390) Technical Reference
Manual" (r0p0).
I could not find clock input information in:
- "ARM1176JZF Development Chip Technical Reference Manual" (r0p0),
- "Cortex-A7 MPCore processors" (r0p5, r0p3).
Other:
- "brcm,brahma-b15-gic" seems to be always used together with
"arm,cortex-a15-gic".
No access to datasheets:
- "qcom,msm-8660-qgic",
- "qcom,msm-qgic2".
---
Documentation/devicetree/bindings/arm/gic.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree/bindings/arm/gic.txt
index 24742853ba460223..cc56021eb60babea 100644
--- a/Documentation/devicetree/bindings/arm/gic.txt
+++ b/Documentation/devicetree/bindings/arm/gic.txt
@@ -59,6 +59,21 @@ Optional
regions, used when the GIC doesn't have banked registers. The offset is
cpu-offset * cpu-nr.
+- clocks : List of phandle and clock-specific pairs, one for each entry
+ in clock-names.
+- clock-names : List of names for the GIC clock input(s). Valid clock names
+ depend on the GIC variant:
+ "ic_clk" (for "arm,arm11mp-gic")
+ "PERIPHCLKEN" (for "arm,cortex-a15-gic")
+ "PERIPHCLK", "PERIPHCLKEN" (for "arm,cortex-a9-gic")
+ "clk" (for "arm,gic-400")
+ "gclk" (for "arm,pl390")
+
+- power-domains : A phandle and PM domain specifier as defined by bindings of
+ the power controller specified by phandle, used when the GIC
+ is part of a Power or Clock Domain.
+
+
Example:
intc: interrupt-controller@fff11000 {
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2015-09-15 21:00 +0200 |
| Subject | Re: [PATCH v2 2/2] irqchip: gic: Document optional Clock and Power Domain properties |
| Message-ID | <q93Cq-53I-9@gated-at.bofh.it> |
| In reply to | #1224431 |
On 09/14/2015 03:06 PM, Geert Uytterhoeven wrote:
> Depending on the GIC variant, the GIC module has one or more clock
> inputs. Document the optional "clocks" and "clock-names" properties,
> and their possible values, based on the Technical Reference Manuals.
> optional.
>
> Add the optional "power-domains" property.
>
> This will allow to describe in DT the relationship between the GIC and
> the Clock and/or Power Domain topology on SoCs where this is relevant
> and needed for proper operation.
>
> Note: As the current GIC driver doesn't support Runtime PM yet, PM
> Domain constraints must be handled elsewhere in e.g. platform code.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> Note: v1 was Acked-by: Rob Herring <robh@kernel.org>, but I didn't add
> it, due to the addition of clock-names.
For both: ack.
>
> v2:
> - Add "clock-names",
> - Document clock inputs on various GIC variants.
>
> Clock inputs are based on the following documentation:
> - "ARM11 MPCore Processor Technical Reference Manual" (r2p0),
> - "Cortex-A9 MPCore Technical Reference Manual" (r4p1, r2p0),
> - "Cortex-A15 Technical Reference Manual" (r4p0, r2p0),
> - "CoreLink GIC-400 Generic Interrupt Controller Technical Reference
> Manual" (r0p1, r0p0),
> - "PrimeCell Generic Interrupt Controller (PL390) Technical Reference
> Manual" (r0p0).
>
> I could not find clock input information in:
> - "ARM1176JZF Development Chip Technical Reference Manual" (r0p0),
> - "Cortex-A7 MPCore processors" (r0p5, r0p3).
>
> Other:
> - "brcm,brahma-b15-gic" seems to be always used together with
> "arm,cortex-a15-gic".
>
> No access to datasheets:
> - "qcom,msm-8660-qgic",
> - "qcom,msm-qgic2".
> ---
> Documentation/devicetree/bindings/arm/gic.txt | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree/bindings/arm/gic.txt
> index 24742853ba460223..cc56021eb60babea 100644
> --- a/Documentation/devicetree/bindings/arm/gic.txt
> +++ b/Documentation/devicetree/bindings/arm/gic.txt
> @@ -59,6 +59,21 @@ Optional
> regions, used when the GIC doesn't have banked registers. The offset is
> cpu-offset * cpu-nr.
>
> +- clocks : List of phandle and clock-specific pairs, one for each entry
> + in clock-names.
> +- clock-names : List of names for the GIC clock input(s). Valid clock names
> + depend on the GIC variant:
> + "ic_clk" (for "arm,arm11mp-gic")
> + "PERIPHCLKEN" (for "arm,cortex-a15-gic")
> + "PERIPHCLK", "PERIPHCLKEN" (for "arm,cortex-a9-gic")
> + "clk" (for "arm,gic-400")
> + "gclk" (for "arm,pl390")
> +
> +- power-domains : A phandle and PM domain specifier as defined by bindings of
> + the power controller specified by phandle, used when the GIC
> + is part of a Power or Clock Domain.
> +
> +
> Example:
>
> intc: interrupt-controller@fff11000 {
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | tip-bot for Geert Uytterhoeven <tipbot@zytor.com> |
|---|---|
| Date | 2015-09-22 13:00 +0200 |
| Subject | [tip:irq/core] irqchip/gic: Document optional Clock and Power Domain properties |
| Message-ID | <qbtsJ-37w-1@gated-at.bofh.it> |
| In reply to | #1224431 |
Commit-ID: afbbd23381767aec5717ce07736f3a165ef724cd
Gitweb: http://git.kernel.org/tip/afbbd23381767aec5717ce07736f3a165ef724cd
Author: Geert Uytterhoeven <geert+renesas@glider.be>
AuthorDate: Mon, 14 Sep 2015 22:06:44 +0200
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Tue, 22 Sep 2015 12:51:18 +0200
irqchip/gic: Document optional Clock and Power Domain properties
Depending on the GIC variant, the GIC module has one or more clock
inputs. Document the optional "clocks" and "clock-names" properties,
and their possible values, based on the Technical Reference Manuals.
optional.
Add the optional "power-domains" property.
This will allow to describe in DT the relationship between the GIC and
the Clock and/or Power Domain topology on SoCs where this is relevant
and needed for proper operation.
Note: As the current GIC driver doesn't support Runtime PM yet, PM
Domain constraints must be handled elsewhere in e.g. platform code.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh+dt@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Link: http://lkml.kernel.org/r/1442261204-30931-3-git-send-email-geert%2Brenesas@glider.be
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
Documentation/devicetree/bindings/arm/gic.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree/bindings/arm/gic.txt
index 2474285..cc56021 100644
--- a/Documentation/devicetree/bindings/arm/gic.txt
+++ b/Documentation/devicetree/bindings/arm/gic.txt
@@ -59,6 +59,21 @@ Optional
regions, used when the GIC doesn't have banked registers. The offset is
cpu-offset * cpu-nr.
+- clocks : List of phandle and clock-specific pairs, one for each entry
+ in clock-names.
+- clock-names : List of names for the GIC clock input(s). Valid clock names
+ depend on the GIC variant:
+ "ic_clk" (for "arm,arm11mp-gic")
+ "PERIPHCLKEN" (for "arm,cortex-a15-gic")
+ "PERIPHCLK", "PERIPHCLKEN" (for "arm,cortex-a9-gic")
+ "clk" (for "arm,gic-400")
+ "gclk" (for "arm,pl390")
+
+- power-domains : A phandle and PM domain specifier as defined by bindings of
+ the power controller specified by phandle, used when the GIC
+ is part of a Power or Clock Domain.
+
+
Example:
intc: interrupt-controller@fff11000 {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web