aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh4a/pinmux-shx3.c
Commit message (Collapse)AuthorAge
* sh: shx3: Add pin control resourcesLaurent Pinchart2013-03-15
| | | | | | | | | | | Add memory resources for the pin control platform device to let the sh-pfc driver ioremap() registers properly instead of evily casting register physical addresses to virtual addresses. The memory resource address range has been extracted from the config and data registes lists in the sh-pfc driver. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
* sh: shx3: pinmux: Use driver-provided pinmux infoLaurent Pinchart2013-01-24
| | | | | | | | | Pinmux info for the sh machines is now provided by pinmux drivers. Remove the duplicate copy in arch code. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh: shx3: Register PFC platform deviceLaurent Pinchart2013-01-24
| | | | | | | | | | Add arch code to register the PFC platform device instead of calling the driver directly. Platform device registration in the sh-pfc driver will be removed. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh: shx3: Fix last GPIO indexLaurent Pinchart2013-01-24
| | | | | | | | | | | | A careless look at the code shows that the last entry in the pinmux_gpios seems to be GPIO_FN_IRQOUT. However, entries are ordered by the GPIO number, as the PINMUX_GPIO macro is expended to an indexed array initializer. The last entry in the array is thus GPIO_FN_STATUS0. Set the pinmux_info last_gpio field accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh: Drop __initdata for SH-X3 pinmux tables.Paul Mundt2010-10-03
| | | | | | | The gpio sysfs support needs to get at these later, so drop the __initdata annotations. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: pinmux support for SH-X3 proto CPUs.Paul Mundt2010-10-02
This adds in support for GPIO/pinmux on the SH-X3 proto CPUs. This will subsequently be used by the x3proto board. Signed-off-by: Paul Mundt <lethal@linux-sh.org>