Skip to contentSkip to conversation

ARM: shmobile: r8a7790: don't use external clock for SCIFs

PATCH In review Ulrich Hecht 2 participants 3 messages May 31, 2013 – Jun 12, 2013

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v3 4/5 ARM: shmobile: r8a7790: don't use external clock for SCIFs

This is an external component and may or may not be there, while the internal clock always works.

---
 arch/arm/mach-shmobile/setup-r8a7790.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/setup-r8a7790.c +1 -1
index 5b7a770..a380bdc 100644
@@ -96,7 +96,7 @@ void __init r8a7790_pinmux_init(void)
 [index] = {						\
 	SCIF_COMMON(PORT_SCIF, baseaddr, irq),		\
 	.scbrr_algo_id	= SCBRR_ALGO_2,			\
-	.scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1,	\
+	.scscr = SCSCR_RE | SCSCR_TE,	\
 }
 
 #define HSCIF_DATA(index, baseaddr, irq)		\
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 2 lines · Ulrich Hecht

This is an external component and may or may not be there, while the internal clock always works.

Thanks, I have queued this up in the soc2 branch.
My current plan is to let that branch sit in next for a few days and then send a pull-request for it to be included in v3.11.

Quoted 27 lines
---
 arch/arm/mach-shmobile/setup-r8a7790.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/setup-r8a7790.c +1 -1
index 5b7a770..a380bdc 100644
@@ -96,7 +96,7 @@ void __init r8a7790_pinmux_init(void)
 [index] = {						\
 	SCIF_COMMON(PORT_SCIF, baseaddr, irq),		\
 	.scbrr_algo_id	= SCBRR_ALGO_2,			\
-	.scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1,	\
+	.scscr = SCSCR_RE | SCSCR_TE,	\
 }
 
 #define HSCIF_DATA(index, baseaddr, irq)		\
Signature · 6 lines
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to Ulrich Hecht
Quoted 7 lines · Simon Horman
Quoted 2 lines · Ulrich Hecht

This is an external component and may or may not be there, while the internal clock always works.

Thanks, I have queued this up in the soc2 branch.
My current plan is to let that branch sit in next for a few days and then send a pull-request for it to be included in v3.11.

I have moved it to the sh-sci branch to satisfy dependencies without rebasing soc2.

Quoted 33 lines
Quoted 28 lines
---
 arch/arm/mach-shmobile/setup-r8a7790.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/setup-r8a7790.c +1 -1
index 5b7a770..a380bdc 100644
@@ -96,7 +96,7 @@ void __init r8a7790_pinmux_init(void)
 [index] = {						\
 	SCIF_COMMON(PORT_SCIF, baseaddr, irq),		\
 	.scbrr_algo_id	= SCBRR_ALGO_2,			\
-	.scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1,	\
+	.scscr = SCSCR_RE | SCSCR_TE,	\
 }
 
 #define HSCIF_DATA(index, baseaddr, irq)		\
Signature · 6 lines
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html