From: takasi-y@ops.dti.ne.jp To: linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>, Magnus Damm <magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Subject: [PATCH 08/11] ARM: shmobile: r8a7791: Add MSIOF clocks Date: Sun, 01 Dec 2013 18:19:19 +0000 [thread overview] Message-ID: <1385921962-19843-8-git-send-email-takasi-y@ops.dti.ne.jp> (raw) In-Reply-To: <1385921962-19843-1-git-send-email-takasi-y-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org> From: Takashi Yoshii <takasi-y@ops.dti.ne.jp> Add clocks for MSIOF0,1,2, and DEV_ID spi_sh_msiof.1,2,3 for platform devices. (numberd 1-based for the compatibility with BSP) Signed-off-by: Takashi Yoshii <takasi-y@ops.dti.ne.jp> --- arch/arm/mach-shmobile/clock-r8a7791.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-shmobile/clock-r8a7791.c b/arch/arm/mach-shmobile/clock-r8a7791.c index ff2d60d..0530f3a 100644 --- a/arch/arm/mach-shmobile/clock-r8a7791.c +++ b/arch/arm/mach-shmobile/clock-r8a7791.c @@ -125,9 +125,10 @@ enum { MSTP726, MSTP724, MSTP723, MSTP721, MSTP720, MSTP719, MSTP718, MSTP715, MSTP714, MSTP522, - MSTP216, MSTP207, MSTP206, + MSTP216, MSTP208, MSTP207, MSTP206, MSTP205, MSTP204, MSTP203, MSTP202, MSTP1105, MSTP1106, MSTP1107, MSTP124, + MSTP000, MSTP_NR }; @@ -143,8 +144,10 @@ static struct clk mstp_clks[MSTP_NR] = { [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 */ + [MSTP208] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 8, 0), /* MSIOF1 */ [MSTP207] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 7, 0), /* SCIFB1 */ [MSTP206] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 6, 0), /* SCIFB0 */ + [MSTP205] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 5, 0), /* MSIOF2 */ [MSTP204] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 4, 0), /* SCIFA0 */ [MSTP203] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 3, 0), /* SCIFA1 */ [MSTP202] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 2, 0), /* SCIFA2 */ @@ -152,6 +155,7 @@ static struct clk mstp_clks[MSTP_NR] = { [MSTP1106] = SH_CLK_MSTP32(&mp_clk, SMSTPCR11, 6, 0), /* SCIFA4 */ [MSTP1107] = SH_CLK_MSTP32(&mp_clk, SMSTPCR11, 7, 0), /* SCIFA5 */ [MSTP124] = SH_CLK_MSTP32(&rclk_clk, SMSTPCR1, 24, 0), /* CMT0 */ + [MSTP000] = SH_CLK_MSTP32(&mp_clk, SMSTPCR0, 0, 0), /* MSIOF0 */ }; static struct clk_lookup lookups[] = { @@ -192,6 +196,9 @@ 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("spi_sh_msiof.1", &mstp_clks[MSTP000]), + CLKDEV_DEV_ID("spi_sh_msiof.2", &mstp_clks[MSTP208]), + CLKDEV_DEV_ID("spi_sh_msiof.3", &mstp_clks[MSTP205]), }; #define R8A7791_CLOCK_ROOT(e, m, p0, p1, p30, p31) \ -- 1.7.9.5
WARNING: multiple messages have this Message-ID (diff)
From: takasi-y-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org To: linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>, Magnus Damm <magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Subject: [PATCH 08/11] ARM: shmobile: r8a7791: Add MSIOF clocks Date: Mon, 2 Dec 2013 03:19:19 +0900 [thread overview] Message-ID: <1385921962-19843-8-git-send-email-takasi-y@ops.dti.ne.jp> (raw) In-Reply-To: <1385921962-19843-1-git-send-email-takasi-y-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org> From: Takashi Yoshii <takasi-y-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org> Add clocks for MSIOF0,1,2, and DEV_ID spi_sh_msiof.1,2,3 for platform devices. (numberd 1-based for the compatibility with BSP) Signed-off-by: Takashi Yoshii <takasi-y-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org> --- arch/arm/mach-shmobile/clock-r8a7791.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-shmobile/clock-r8a7791.c b/arch/arm/mach-shmobile/clock-r8a7791.c index ff2d60d..0530f3a 100644 --- a/arch/arm/mach-shmobile/clock-r8a7791.c +++ b/arch/arm/mach-shmobile/clock-r8a7791.c @@ -125,9 +125,10 @@ enum { MSTP726, MSTP724, MSTP723, MSTP721, MSTP720, MSTP719, MSTP718, MSTP715, MSTP714, MSTP522, - MSTP216, MSTP207, MSTP206, + MSTP216, MSTP208, MSTP207, MSTP206, MSTP205, MSTP204, MSTP203, MSTP202, MSTP1105, MSTP1106, MSTP1107, MSTP124, + MSTP000, MSTP_NR }; @@ -143,8 +144,10 @@ static struct clk mstp_clks[MSTP_NR] = { [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 */ + [MSTP208] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 8, 0), /* MSIOF1 */ [MSTP207] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 7, 0), /* SCIFB1 */ [MSTP206] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 6, 0), /* SCIFB0 */ + [MSTP205] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 5, 0), /* MSIOF2 */ [MSTP204] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 4, 0), /* SCIFA0 */ [MSTP203] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 3, 0), /* SCIFA1 */ [MSTP202] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 2, 0), /* SCIFA2 */ @@ -152,6 +155,7 @@ static struct clk mstp_clks[MSTP_NR] = { [MSTP1106] = SH_CLK_MSTP32(&mp_clk, SMSTPCR11, 6, 0), /* SCIFA4 */ [MSTP1107] = SH_CLK_MSTP32(&mp_clk, SMSTPCR11, 7, 0), /* SCIFA5 */ [MSTP124] = SH_CLK_MSTP32(&rclk_clk, SMSTPCR1, 24, 0), /* CMT0 */ + [MSTP000] = SH_CLK_MSTP32(&mp_clk, SMSTPCR0, 0, 0), /* MSIOF0 */ }; static struct clk_lookup lookups[] = { @@ -192,6 +196,9 @@ 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("spi_sh_msiof.1", &mstp_clks[MSTP000]), + CLKDEV_DEV_ID("spi_sh_msiof.2", &mstp_clks[MSTP208]), + CLKDEV_DEV_ID("spi_sh_msiof.3", &mstp_clks[MSTP205]), }; #define R8A7791_CLOCK_ROOT(e, m, p0, p1, p30, p31) \ -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-12-01 18:19 UTC|newest] Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-12-01 18:15 [PATCH 00/11] ARM: shmobile: koelsch: MSIOF support Takashi YOSHII 2013-12-01 18:15 ` Takashi YOSHII 2013-12-01 18:19 ` [PATCH 01/11] pinctrl: sh-pfc: r8a7791: fix msiof groups to follow GROUP takasi-y 2013-12-01 18:19 ` takasi-y 2013-12-01 18:19 ` [PATCH 03/11] spi: spi-sh-msiof: let it run even without GPIO takasi-y 2013-12-01 18:19 ` takasi-y 2013-12-02 10:59 ` Sergei Shtylyov 2013-12-02 10:59 ` Sergei Shtylyov [not found] ` <1385921962-19843-3-git-send-email-takasi-y-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org> 2013-12-02 12:53 ` Mark Brown 2013-12-02 12:53 ` Mark Brown 2013-12-01 18:19 ` [PATCH 04/11] spi: spi-sh-msiof: set hi/low Active for HW CS takasi-y 2013-12-01 18:19 ` takasi-y [not found] ` <1385921962-19843-4-git-send-email-takasi-y-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org> 2013-12-02 12:54 ` Mark Brown 2013-12-02 12:54 ` Mark Brown 2013-12-01 18:19 ` [PATCH 05/11] spi: spi-sh-msiof: rx_need_dummy_tx variant takasi-y 2013-12-01 18:19 ` takasi-y [not found] ` <1385921962-19843-5-git-send-email-takasi-y-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org> 2013-12-02 17:49 ` Mark Brown 2013-12-02 17:49 ` Mark Brown 2013-12-01 18:19 ` [PATCH 11/11] ARM: shmobile: koelsch: spidev for r2a11302 takasi-y 2013-12-01 18:19 ` takasi-y [not found] ` <1385921962-19843-11-git-send-email-takasi-y-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org> 2013-12-02 13:24 ` Mark Brown 2013-12-02 13:24 ` Mark Brown 2014-02-11 15:06 ` Geert Uytterhoeven 2014-02-11 15:06 ` Geert Uytterhoeven [not found] ` <1385921962-19843-1-git-send-email-takasi-y-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org> 2013-12-01 18:19 ` [PATCH 02/11] spi: spi-sh-msiof: round up div to fix freq calculation takasi-y 2013-12-01 18:19 ` takasi-y-nDL5PR/MsHhHfZP73Gtkiw 2013-12-02 12:48 ` Mark Brown 2013-12-02 12:48 ` Mark Brown 2013-12-01 18:19 ` [PATCH 06/11] spi: spi-sh-msiof: RMDIR1[15:0] may should be zero takasi-y 2013-12-01 18:19 ` takasi-y-nDL5PR/MsHhHfZP73Gtkiw 2013-12-01 18:19 ` [PATCH 07/11] spi: spi-sh-msiof: RSCR register may absent takasi-y 2013-12-01 18:19 ` takasi-y-nDL5PR/MsHhHfZP73Gtkiw [not found] ` <1385921962-19843-7-git-send-email-takasi-y-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org> 2014-02-12 16:06 ` Geert Uytterhoeven 2014-02-12 16:06 ` Geert Uytterhoeven [not found] ` <CAMuHMdVVC1deEQfbLzPzU08LYxf=KOtG3oL2_M4HMBGvJE+8KQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-02-12 23:50 ` Simon Horman 2014-02-12 23:50 ` Simon Horman 2013-12-01 18:19 ` takasi-y [this message] 2013-12-01 18:19 ` [PATCH 08/11] ARM: shmobile: r8a7791: Add MSIOF clocks takasi-y-nDL5PR/MsHhHfZP73Gtkiw 2013-12-01 18:19 ` [PATCH 09/11] ARM: shmobile: r8a7791: MSIOF platform device takasi-y 2013-12-01 18:19 ` takasi-y-nDL5PR/MsHhHfZP73Gtkiw 2013-12-03 10:12 ` Linus Walleij 2013-12-03 10:12 ` Linus Walleij [not found] ` <CACRpkdbvrYgRh7cK0N1HrcxkYzzu9Qw4yAoQwj4f9pEf0r1qQw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2013-12-05 3:02 ` Simon Horman 2013-12-05 3:02 ` Simon Horman [not found] ` <20131205030235.GG21443-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org> 2013-12-11 12:27 ` Linus Walleij 2013-12-11 12:27 ` Linus Walleij [not found] ` <CACRpkda=m_3Y+FcKUvAj4e1gDUuvqB4VS4bv6u-VnX4LVQQP8Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2013-12-12 0:53 ` Olof Johansson 2013-12-12 0:53 ` Olof Johansson 2013-12-01 18:19 ` [PATCH 10/11] ARM: shmobile: koelsch: pinctrl map for MSIOF0 takasi-y 2013-12-01 18:19 ` takasi-y-nDL5PR/MsHhHfZP73Gtkiw 2013-12-03 10:13 ` Linus Walleij 2013-12-03 10:13 ` Linus Walleij 2013-12-03 10:08 ` [PATCH 01/11] pinctrl: sh-pfc: r8a7791: fix msiof groups to follow GROUP Linus Walleij 2013-12-03 10:08 ` Linus Walleij 2013-12-04 1:23 ` Laurent Pinchart 2013-12-04 1:23 ` Laurent Pinchart
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=1385921962-19843-8-git-send-email-takasi-y@ops.dti.ne.jp \ --to=takasi-y@ops.dti.ne.jp \ --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \ --cc=horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org \ --cc=linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \ --cc=linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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: linkBe 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.