Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fed94cf8 authored by Laurent Pinchart's avatar Laurent Pinchart
Browse files

ARM: shmobile: kzm9g: Register pinctrl mappings for BSC



Replace the GPIO-based BSC pinmux configuration by pinctrl mappings.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
parent 83aeac98
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -651,6 +651,9 @@ static const struct pinctrl_map kzm_pinctrl_map[] = {
				  "sdhi2_data4", "sdhi2"),
				  "sdhi2_data4", "sdhi2"),
	PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_sdhi.2", "pfc-sh73a0",
	PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_sdhi.2", "pfc-sh73a0",
				  "sdhi2_ctrl", "sdhi2"),
				  "sdhi2_ctrl", "sdhi2"),
	/* SMSC */
	PIN_MAP_MUX_GROUP_DEFAULT("smsc911x.0", "pfc-sh73a0",
				  "bsc_cs4", "bsc"),
};
};


/*
/*
@@ -718,9 +721,6 @@ static void __init kzm_init(void)


	sh73a0_pinmux_init();
	sh73a0_pinmux_init();


	/* CS4 for SMSC/USB */
	gpio_request(GPIO_FN_CS4_, NULL); /* CS4 */

	/* SMSC */
	/* SMSC */
	gpio_request_one(224, GPIOF_IN, NULL); /* IRQ3 */
	gpio_request_one(224, GPIOF_IN, NULL); /* IRQ3 */