alistair23-linux/drivers/pinctrl/sirf
Barry Song b07ddcdcb2 pinctrl: sirf: put gpio interrupt pin into input status automatically
busses like i2c, spi and so on can parse the virq of their subnode automatically by
irq_of_parse_and_map(). for example, i2c will do that in of_i2c_register_devices().
people can put hwirq number attached to a gpio controller in dts, and drivers can
directly request the parsed virq.

for example, for an i2c client as below,
tangoc-ts@5c{
	compatible = "pixcir,tangoc-ts";
	interrupt-parent = <&gpio>;
	interrupts = <3 0>;
	reg = <0x5c>;
};
in i2c client probe(), it will request_irq(client->irq, ...) without
calling gpio_direction_input().
so here when we set irq type, we also put the pin to input direction.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2014-01-15 09:10:00 +01:00
..
Makefile pinctrl:sirf:re-arch and add support for new SiRFatlas6 SoC 2013-06-16 11:56:49 +02:00
pinctrl-atlas6.c pinctrl: sirf: add lost usp1_uart_nostreamctrl group for atlas6 2014-01-08 10:48:38 +01:00
pinctrl-prima2.c pinctrl: sirf: add pin group for USP0 with only RX or TX frame sync 2014-01-08 10:51:10 +01:00
pinctrl-sirf.c pinctrl: sirf: put gpio interrupt pin into input status automatically 2014-01-15 09:10:00 +01:00
pinctrl-sirf.h pinctrl: sirf: add USB1/UART1 pinmux usb/uart share 2013-10-08 10:19:26 +02:00