devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Thomas Gleixner <tglx@linutronix.de>,
	Jason Cooper <jason@lakedaemon.net>,
	Simon Horman <horms@verge.net.au>,
	Magnus Damm <magnus.damm@gmail.com>
Cc: linux-sh@vger.kernel.org, devicetree@vger.kernel.org,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH 0/7] ARM: shmobile: Add IRQC clock to device tree
Date: Wed, 18 Mar 2015 19:55:54 +0100	[thread overview]
Message-ID: <1426704961-27322-1-git-send-email-geert+renesas@glider.be> (raw)

	Hi,

This patch series adds the IRQC clock to the device tree on SoCs that
have such a clock (r8a73a4 and r8a779x), and adds mininal runtime PM
support to the renesas-irqc driver, to make sure the clock is enabled
when needed by the external IRQ controller(s).
Before, the clock was assumed enabled by the bootloader or reset state.

As usual when involving clocks, the DTS changes depend stricly on the
driver changes. Else the clock will be disabled as assumed unused,
breaking the boot.

This was tested on r8a73a4/ape6evm and r8a7791/koelsch.

Thanks!

Geert Uytterhoeven (7):
  irqchip: renesas-irqc: Add more register documentation
  irqchip: renesas-irqc: Add minimal runtime PM support
  irqchip: renesas-irqc: Add functional clock to bindings
  ARM: shmobile: r8a7734: Add IRQC clock to device tree
  ARM: shmobile: r8a7790: Add IRQC clock to device tree
  ARM: shmobile: r8a7791: Add IRQC clock to device tree
  ARM: shmobile: r8a7794: Add IRQC clock to device tree

 .../bindings/interrupt-controller/renesas,irqc.txt |  4 +++-
 arch/arm/boot/dts/r8a73a4.dtsi                     | 11 +++++----
 arch/arm/boot/dts/r8a7790.dtsi                     |  9 +++++++
 arch/arm/boot/dts/r8a7791.dtsi                     |  9 +++++++
 arch/arm/boot/dts/r8a7794.dtsi                     |  9 +++++++
 drivers/irqchip/irq-renesas-irqc.c                 | 28 ++++++++++++++++++----
 include/dt-bindings/clock/r8a73a4-clock.h          |  1 +
 include/dt-bindings/clock/r8a7790-clock.h          |  3 +++
 include/dt-bindings/clock/r8a7791-clock.h          |  3 +++
 include/dt-bindings/clock/r8a7794-clock.h          |  3 +++
 10 files changed, 70 insertions(+), 10 deletions(-)

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

             reply	other threads:[~2015-03-18 18:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18 18:55 Geert Uytterhoeven [this message]
2015-03-18 18:55 ` [PATCH 1/7] irqchip: renesas-irqc: Add more register documentation Geert Uytterhoeven
     [not found]   ` <1426704961-27322-2-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-03-19  1:36     ` Simon Horman
2015-03-18 18:55 ` [PATCH 2/7] irqchip: renesas-irqc: Add minimal runtime PM support Geert Uytterhoeven
     [not found]   ` <1426704961-27322-3-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-03-19  1:37     ` Simon Horman
     [not found] ` <1426704961-27322-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-03-18 18:55   ` [PATCH 3/7] irqchip: renesas-irqc: Add functional clock to bindings Geert Uytterhoeven
2015-03-19  1:41     ` Simon Horman
2015-03-18 18:55 ` [PATCH 4/7] ARM: shmobile: r8a7734: Add IRQC clock to device tree Geert Uytterhoeven
2015-03-18 18:55 ` [PATCH 5/7] ARM: shmobile: r8a7790: " Geert Uytterhoeven
2015-03-18 18:56 ` [PATCH 6/7] ARM: shmobile: r8a7791: " Geert Uytterhoeven
2015-03-18 18:56 ` [PATCH 7/7] ARM: shmobile: r8a7794: " Geert Uytterhoeven
2015-03-19  1:43 ` [PATCH 0/7] ARM: shmobile: " Simon Horman
     [not found]   ` <20150319014328.GJ14051-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2015-04-27 14:15     ` Geert Uytterhoeven
2015-04-28  0:52       ` Simon Horman
2015-03-23 10:09 ` Jason Cooper

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=1426704961-27322-1-git-send-email-geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=devicetree@vger.kernel.org \
    --cc=horms@verge.net.au \
    --cc=jason@lakedaemon.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).