Thread (40 messages) 40 messages, 7 authors, 2011-12-15

[RFC PATCH v2 3/4] ARM: imx6q: using pinmux subsystem

From: Linus Walleij <hidden>
Date: 2011-12-14 18:02:45
Also in: lkml

On Wed, Dec 14, 2011 at 5:03 PM, Dong Aisheng [off-list ref] wrote:
From: Dong Aisheng <redacted>

Signed-off-by: Dong Aisheng <redacted>
Cc: Linus Walleij <redacted>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Shawn Guo <redacted>
Acked-by: Linus Walleij <redacted>
+static struct pinmux_map imx6q_pinmux_map[] = {
+ ? ? ? PINMUX_MAP_PRIMARY("usdhc4", "sd4", "219c000.usdhc"),
+};
+
?static void __init imx6q_init_machine(void)
?{
? ? ? ?of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
-
+ ? ? ? pinmux_register_mappings(imx6q_pinmux_map,
+ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ARRAY_SIZE(imx6q_pinmux_map));
? ? ? ?imx6q_pm_init();
?}
So ideally this bit of code should also go into the device tree
and we should add a DT hook inside drivers/pinctrl/pinmux.c

Please make a patch for this if you have a clear idea on how
it should work!

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help