From: Magnus Damm <magnus.damm@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Magnus Damm <magnus.damm@gmail.com>,
horms@verge.net.au, linux-sh@vger.kernel.org
Subject: [PATCH 05/05] ARM: shmobile: Add r8a7791 clocks for thermal devices
Date: Wed, 20 Nov 2013 07:59:43 +0000 [thread overview]
Message-ID: <20131120080005.23557.61686.sendpatchset@w520> (raw)
In-Reply-To: <20131120075921.23557.23231.sendpatchset@w520>
From: Magnus Damm <damm@opensource.se>
Add the r8a7791 thermal device as legacy clocks.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/clock-r8a7791.c | 4 ++++
1 file changed, 4 insertions(+)
--- 0001/arch/arm/mach-shmobile/clock-r8a7791.c
+++ work/arch/arm/mach-shmobile/clock-r8a7791.c 2013-11-20 15:52:07.000000000 +0900
@@ -124,6 +124,7 @@ static struct clk *main_clks[] = {
enum {
MSTP726, MSTP724, MSTP723, MSTP721, MSTP720,
MSTP719, MSTP718, MSTP715, MSTP714,
+ MSTP522,
MSTP216, MSTP207, MSTP206,
MSTP204, MSTP203, MSTP202, MSTP1105, MSTP1106, MSTP1107,
MSTP124,
@@ -140,6 +141,7 @@ static struct clk mstp_clks[MSTP_NR] = {
[MSTP718] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 18, 0), /* SCIF3 */
[MSTP715] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 15, 0), /* SCIF4 */
[MSTP714] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 14, 0), /* SCIF5 */
+ [MSTP522] = SH_CLK_MSTP32(&extal_clk, SMSTPCR5, 22, 0), /* Thermal */
[MSTP216] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 16, 0), /* SCIFB2 */
[MSTP207] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 7, 0), /* SCIFB1 */
[MSTP206] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 6, 0), /* SCIFB0 */
@@ -188,6 +190,8 @@ static struct clk_lookup lookups[] = {
CLKDEV_DEV_ID("sh-sci.13", &mstp_clks[MSTP1106]), /* SCIFA4 */
CLKDEV_DEV_ID("sh-sci.14", &mstp_clks[MSTP1107]), /* SCIFA5 */
CLKDEV_DEV_ID("sh_cmt.0", &mstp_clks[MSTP124]),
+ CLKDEV_DEV_ID("e61f0000.thermal", &mstp_clks[MSTP522]),
+ CLKDEV_DEV_ID("rcar_thermal", &mstp_clks[MSTP522]),
};
#define R8A7791_CLOCK_ROOT(e, m, p0, p1, p30, p31) \
next prev parent reply other threads:[~2013-11-20 7:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-20 7:59 [PATCH 00/05] ARM: shmobile: r8a7790 and r8a7791 thermal update Magnus Damm
2013-11-20 7:59 ` [PATCH 01/05] ARM: shmobile: Add r8a7790 thermal device node to DTS Magnus Damm
2013-11-21 4:07 ` Simon Horman
2013-11-20 7:59 ` [PATCH 02/05] ARM: shmobile: Add r8a7790 clocks for thermal devices Magnus Damm
2013-11-21 4:09 ` Simon Horman
2013-11-20 7:59 ` Magnus Damm [this message]
2013-11-21 4:12 ` [PATCH 05/05] ARM: shmobile: Add r8a7791 " Simon Horman
2013-11-20 7:59 ` [PATCH 03/05] ARM: shmobile: Add r8a7791 thermal device node to DTS Magnus Damm
2013-11-21 4:10 ` Simon Horman
2013-11-20 7:59 ` [PATCH 04/05] ARM: shmobile: Add r8a7791 thermal platform device Magnus Damm
2013-11-21 4:12 ` Simon Horman
2013-11-20 8:18 ` [PATCH 00/05] ARM: shmobile: r8a7790 and r8a7791 thermal update Kuninori Morimoto
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=20131120080005.23557.61686.sendpatchset@w520 \
--to=magnus.damm@gmail.com \
--cc=horms@verge.net.au \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
/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).