diff mbox series

[3/5] ARM: uniphier: remove XIRQ pin settings

Message ID 1511537046-7456-4-git-send-email-yamada.masahiro@socionext.com
State Superseded
Headers show
Series ARM: uniphier: UniPhier updates for v2018.01-rc1 | expand

Commit Message

Masahiro Yamada Nov. 24, 2017, 3:24 p.m. UTC
The XIRQ pins are now set up on the Linux side by the GPIO hogging.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/arm/mach-uniphier/board_init.c | 16 ----------------
 1 file changed, 16 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm/mach-uniphier/board_init.c b/arch/arm/mach-uniphier/board_init.c
index 28784ea..121b786 100644
--- a/arch/arm/mach-uniphier/board_init.c
+++ b/arch/arm/mach-uniphier/board_init.c
@@ -17,24 +17,9 @@ 
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#ifdef CONFIG_ARCH_UNIPHIER_LD11
-static void uniphier_ld11_misc_init(void)
-{
-	sg_set_pinsel(149, 14, 8, 4);	/* XIRQ0    -> XIRQ0 */
-	sg_set_iectrl(149);
-	sg_set_pinsel(153, 14, 8, 4);	/* XIRQ4    -> XIRQ4 */
-	sg_set_iectrl(153);
-}
-#endif
-
 #ifdef CONFIG_ARCH_UNIPHIER_LD20
 static void uniphier_ld20_misc_init(void)
 {
-	sg_set_pinsel(149, 14, 8, 4);	/* XIRQ0    -> XIRQ0 */
-	sg_set_iectrl(149);
-	sg_set_pinsel(153, 14, 8, 4);	/* XIRQ4    -> XIRQ4 */
-	sg_set_iectrl(153);
-
 	/* ES1 errata: increase VDD09 supply to suppress VBO noise */
 	if (uniphier_get_soc_revision() == 1) {
 		writel(0x00000003, 0x6184e004);
@@ -105,7 +90,6 @@  static const struct uniphier_initdata uniphier_initdata[] = {
 		.sbc_init = uniphier_ld11_sbc_init,
 		.pll_init = uniphier_ld11_pll_init,
 		.clk_init = uniphier_ld11_clk_init,
-		.misc_init = uniphier_ld11_misc_init,
 	},
 #endif
 #if defined(CONFIG_ARCH_UNIPHIER_LD20)