From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 1/3] ARM: shmobile: r8a7791: add Ether clock
Date: Sun, 08 Dec 2013 19:50:41 +0000 [thread overview]
Message-ID: <201312082350.36871.sergei.shtylyov@cogentembedded.com> (raw)
In-Reply-To: <201312082348.17588.sergei.shtylyov@cogentembedded.com>
Add support for R8A7791 Ether clock.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
Changes in version 3:
- changed "r8a779x-ether" wildcard device name to "r8a7791-ether";
- resolved rejects.
Changes in version 2:
- changed Ether device name to "r8a779x-ether".
arch/arm/mach-shmobile/clock-r8a7791.c | 3 +++
1 file changed, 3 insertions(+)
Index: renesas/arch/arm/mach-shmobile/clock-r8a7791.c
=================================--- renesas.orig/arch/arm/mach-shmobile/clock-r8a7791.c
+++ renesas/arch/arm/mach-shmobile/clock-r8a7791.c
@@ -122,6 +122,7 @@ static struct clk *main_clks[] = {
/* MSTP */
enum {
+ MSTP813,
MSTP726, MSTP724, MSTP723, MSTP721, MSTP720,
MSTP719, MSTP718, MSTP715, MSTP714,
MSTP522,
@@ -132,6 +133,7 @@ enum {
};
static struct clk mstp_clks[MSTP_NR] = {
+ [MSTP813] = SH_CLK_MSTP32(&p_clk, SMSTPCR8, 13, 0), /* Ether */
[MSTP726] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 26, 0), /* LVDS0 */
[MSTP724] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 24, 0), /* DU0 */
[MSTP723] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 23, 0), /* DU1 */
@@ -192,6 +194,7 @@ static struct clk_lookup lookups[] = {
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]),
+ CLKDEV_DEV_ID("r8a7791-ether", &mstp_clks[MSTP813]), /* Ether */
};
#define R8A7791_CLOCK_ROOT(e, m, p0, p1, p30, p31) \
next prev parent reply other threads:[~2013-12-08 19:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-08 19:48 [PATCH v3 0/3] Add Ether support for R8A7791/Koelsch board Sergei Shtylyov
2013-12-08 19:50 ` Sergei Shtylyov [this message]
2013-12-08 19:52 ` [PATCH v3 2/3] ARM: shmobile: Koelsch: add Ether support Sergei Shtylyov
2013-12-09 18:52 ` Geert Uytterhoeven
2013-12-09 19:26 ` Sergei Shtylyov
2013-12-09 19:40 ` Geert Uytterhoeven
2013-12-09 22:10 ` Sergei Shtylyov
2013-12-10 13:22 ` Geert Uytterhoeven
2013-12-10 17:05 ` Florian Fainelli
2013-12-08 19:54 ` [PATCH v3 3/3] ARM: shmobile: Koelsch: enable Ether in defconfig Sergei Shtylyov
2013-12-12 12:49 ` [PATCH v3 0/3] Add Ether support for R8A7791/Koelsch board Simon Horman
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=201312082350.36871.sergei.shtylyov@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=linux-arm-kernel@lists.infradead.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