All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: Sort r8a7790 MSTP entries
@ 2013-06-28 10:13 ` Magnus Damm
  0 siblings, 0 replies; 6+ messages in thread
From: Magnus Damm @ 2013-06-28 10:13 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm@opensource.se>

The r8a7790 MSTP bits should be kept sorted in the same way
as on other mach-shmobile SoCs. Move the HSCIF and thermal
bits to clean up the current state.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 Written on top of renesas-next-20130628

 arch/arm/mach-shmobile/clock-r8a7790.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- 0001/arch/arm/mach-shmobile/clock-r8a7790.c
+++ work/arch/arm/mach-shmobile/clock-r8a7790.c	2013-06-28 15:15:50.000000000 +0900
@@ -192,6 +192,9 @@ enum {
 static struct clk mstp_clks[MSTP_NR] = {
 	[MSTP721] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 21, 0), /* SCIF0 */
 	[MSTP720] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 20, 0), /* SCIF1 */
+	[MSTP717] = SH_CLK_MSTP32(&zs_clk, SMSTPCR7, 17, 0), /* HSCIF0 */
+	[MSTP716] = SH_CLK_MSTP32(&zs_clk, SMSTPCR7, 16, 0), /* HSCIF1 */
+	[MSTP522] = SH_CLK_MSTP32(&extal_clk, SMSTPCR5, 22, 0), /* Thermal */
 	[MSTP315] = SH_CLK_MSTP32(&div6_clks[DIV6_MMC0], SMSTPCR3, 15, 0), /* MMC0 */
 	[MSTP314] = SH_CLK_MSTP32(&div4_clks[DIV4_SD0], SMSTPCR3, 14, 0), /* SDHI0 */
 	[MSTP313] = SH_CLK_MSTP32(&div4_clks[DIV4_SD1], SMSTPCR3, 13, 0), /* SDHI1 */
@@ -205,9 +208,6 @@ static struct clk mstp_clks[MSTP_NR] = {
 	[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 */
-	[MSTP522] = SH_CLK_MSTP32(&extal_clk, SMSTPCR5, 22, 0), /* Thermal */
-	[MSTP717] = SH_CLK_MSTP32(&zs_clk, SMSTPCR7, 17, 0), /* HSCIF0 */
-	[MSTP716] = SH_CLK_MSTP32(&zs_clk, SMSTPCR7, 16, 0), /* HSCIF1 */
 };
 
 static struct clk_lookup lookups[] = {

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: shmobile: Sort r8a7790 MSTP entries
@ 2013-06-28 10:13 ` Magnus Damm
  0 siblings, 0 replies; 6+ messages in thread
From: Magnus Damm @ 2013-06-28 10:13 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm@opensource.se>

The r8a7790 MSTP bits should be kept sorted in the same way
as on other mach-shmobile SoCs. Move the HSCIF and thermal
bits to clean up the current state.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 Written on top of renesas-next-20130628

 arch/arm/mach-shmobile/clock-r8a7790.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- 0001/arch/arm/mach-shmobile/clock-r8a7790.c
+++ work/arch/arm/mach-shmobile/clock-r8a7790.c	2013-06-28 15:15:50.000000000 +0900
@@ -192,6 +192,9 @@ enum {
 static struct clk mstp_clks[MSTP_NR] = {
 	[MSTP721] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 21, 0), /* SCIF0 */
 	[MSTP720] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 20, 0), /* SCIF1 */
+	[MSTP717] = SH_CLK_MSTP32(&zs_clk, SMSTPCR7, 17, 0), /* HSCIF0 */
+	[MSTP716] = SH_CLK_MSTP32(&zs_clk, SMSTPCR7, 16, 0), /* HSCIF1 */
+	[MSTP522] = SH_CLK_MSTP32(&extal_clk, SMSTPCR5, 22, 0), /* Thermal */
 	[MSTP315] = SH_CLK_MSTP32(&div6_clks[DIV6_MMC0], SMSTPCR3, 15, 0), /* MMC0 */
 	[MSTP314] = SH_CLK_MSTP32(&div4_clks[DIV4_SD0], SMSTPCR3, 14, 0), /* SDHI0 */
 	[MSTP313] = SH_CLK_MSTP32(&div4_clks[DIV4_SD1], SMSTPCR3, 13, 0), /* SDHI1 */
@@ -205,9 +208,6 @@ static struct clk mstp_clks[MSTP_NR] = {
 	[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 */
-	[MSTP522] = SH_CLK_MSTP32(&extal_clk, SMSTPCR5, 22, 0), /* Thermal */
-	[MSTP717] = SH_CLK_MSTP32(&zs_clk, SMSTPCR7, 17, 0), /* HSCIF0 */
-	[MSTP716] = SH_CLK_MSTP32(&zs_clk, SMSTPCR7, 16, 0), /* HSCIF1 */
 };
 
 static struct clk_lookup lookups[] = {

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: shmobile: Sort r8a7790 MSTP entries
  2013-06-28 10:13 ` Magnus Damm
@ 2013-07-01  1:14   ` Simon Horman
  -1 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2013-07-01  1:14 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jun 28, 2013 at 07:13:27PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> The r8a7790 MSTP bits should be kept sorted in the same way
> as on other mach-shmobile SoCs. Move the HSCIF and thermal
> bits to clean up the current state.
> 
> Signed-off-by: Magnus Damm <damm@opensource.se>

Thanks, I will queue this up in the cleanup branch.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: shmobile: Sort r8a7790 MSTP entries
@ 2013-07-01  1:14   ` Simon Horman
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2013-07-01  1:14 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jun 28, 2013 at 07:13:27PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> The r8a7790 MSTP bits should be kept sorted in the same way
> as on other mach-shmobile SoCs. Move the HSCIF and thermal
> bits to clean up the current state.
> 
> Signed-off-by: Magnus Damm <damm@opensource.se>

Thanks, I will queue this up in the cleanup branch.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: shmobile: Sort r8a7790 MSTP entries
  2013-07-01  1:14   ` Simon Horman
@ 2013-07-01  1:29     ` Simon Horman
  -1 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2013-07-01  1:29 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jul 01, 2013 at 10:14:57AM +0900, Simon Horman wrote:
> On Fri, Jun 28, 2013 at 07:13:27PM +0900, Magnus Damm wrote:
> > From: Magnus Damm <damm@opensource.se>
> > 
> > The r8a7790 MSTP bits should be kept sorted in the same way
> > as on other mach-shmobile SoCs. Move the HSCIF and thermal
> > bits to clean up the current state.
> > 
> > Signed-off-by: Magnus Damm <damm@opensource.se>
> 
> Thanks, I will queue this up in the cleanup branch.

I've added it to the soc branch instead as it is depended
on by other patches that seem to make sense there.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: shmobile: Sort r8a7790 MSTP entries
@ 2013-07-01  1:29     ` Simon Horman
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2013-07-01  1:29 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jul 01, 2013 at 10:14:57AM +0900, Simon Horman wrote:
> On Fri, Jun 28, 2013 at 07:13:27PM +0900, Magnus Damm wrote:
> > From: Magnus Damm <damm@opensource.se>
> > 
> > The r8a7790 MSTP bits should be kept sorted in the same way
> > as on other mach-shmobile SoCs. Move the HSCIF and thermal
> > bits to clean up the current state.
> > 
> > Signed-off-by: Magnus Damm <damm@opensource.se>
> 
> Thanks, I will queue this up in the cleanup branch.

I've added it to the soc branch instead as it is depended
on by other patches that seem to make sense there.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-01  1:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-28 10:13 [PATCH] ARM: shmobile: Sort r8a7790 MSTP entries Magnus Damm
2013-06-28 10:13 ` Magnus Damm
2013-07-01  1:14 ` Simon Horman
2013-07-01  1:14   ` Simon Horman
2013-07-01  1:29   ` Simon Horman
2013-07-01  1:29     ` Simon Horman

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.