Re: [PATCH V2 04/14] OF: pinctrl: MIPS: lantiq: implement lantiq/xway pinctrl support
From: Linus Walleij <hidden>
Date: 2012-05-10 13:24:04
Also in:
linux-mips
On Thu, May 10, 2012 at 2:27 PM, John Crispin [off-list ref] wrote:
Implement support for pinctrl on lantiq/xway socs. The IO core found on these socs has the registers for pinctrl, pinconf and gpio mixed up in the same register range. As the gpio_chip handling is only a few lines, the driver also implements the gpio functionality. This obseletes the old gpio driver that was located in the arch/ folder. Signed-off-by: John Crispin <redacted> Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Cc: Linus Walleij <redacted> Cc: Stephen Warren <redacted> --- This patch is part of a series moving the mips/lantiq target to OF and clkdev support. The patch, once Acked, should go upstream via Ralf's MIPS tree. Changes in V2 * cleanup select/depends of the relevant Kconfig symbols * dont assume that the arry with out MFPs is linearly mapped * sane return code checks inside ltq_pinctrl_dt_node_to_map * remove 2 calls to pr_err and replace them with calls to dev_err * propagate gpio_chips base addr to the gpio_range * define the pin count inside the of_device_id.data * minor changes to accomodate the pinctrl-falcon driver (more virt pointers and clocks) * change from core_initcall_sync to arch_initcall * several typos, codestyle and whitespace cleanups * use BIT(x) in favour of (1 << x)
Acked-by: Linus Walleij <redacted> Yours, Linus Walleij