lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZhj2cqPL4yt+Xg7vy4jg-eauNzZFBUw2aSfvAauTqP0A@mail.gmail.com>
Date:	Wed, 14 Dec 2011 19:02:42 +0100
From:	Linus Walleij <linus.walleij@...aro.org>
To:	Dong Aisheng <b29396@...escale.com>
Cc:	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	linus.walleij@...ricsson.com, s.hauer@...gutronix.de,
	shawn.guo@...escale.com, kernel@...gutronix.de,
	grant.likely@...retlab.ca, rob.herring@...xeda.com
Subject: Re: [RFC PATCH v2 3/4] ARM: imx6q: using pinmux subsystem

On Wed, Dec 14, 2011 at 5:03 PM, Dong Aisheng <b29396@...escale.com> wrote:

> From: Dong Aisheng <dong.aisheng@...aro.org>
>
> Signed-off-by: Dong Aisheng <dong.aisheng@...aro.org>
> Cc: Linus Walleij <linus.walleij@...aro.org>
> Cc: Sascha Hauer <s.hauer@...gutronix.de>
> Cc: Shawn Guo <shanw.guo@...escale.com>

Acked-by: Linus Walleij <linus.walleij@...aro.org>

> +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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ