Lines Matching +full:spi +full:- +full:gpio
2 * linux/arch/arm/mach-pxa/cm-x270.c
14 #include <linux/gpio.h>
17 #include <linux/rtc-v3020.h>
20 #include <linux/spi/spi.h>
21 #include <linux/spi/pxa2xx_spi.h>
22 #include <linux/spi/libertas_spi.h>
30 /* physical address if local-bus attached devices */
33 /* GPIO IRQ usage */
86 GPIO19_GPIO, /* SSP2 clock is used as GPIO for Libertas pin-strap */
111 /* GPIO */
145 .id = -1,
207 int gpio, err; in cmx270_marathon_probe() local
209 for (gpio = 58; gpio <= 77; gpio++) { in cmx270_marathon_probe()
210 err = gpio_request(gpio, "LCD"); in cmx270_marathon_probe()
213 gpio_direction_input(gpio); in cmx270_marathon_probe()
222 int gpio; in cmx270_marathon_remove() local
226 for (gpio = 58; gpio <= 77; gpio++) in cmx270_marathon_remove()
227 gpio_free(gpio); in cmx270_marathon_remove()
254 .name = "mbx-fb",
262 .id = -1,
292 .gpio_card_ro = -1,
327 static int cm_x270_libertas_setup(struct spi_device *spi) in cm_x270_libertas_setup() argument
352 spi->bits_per_word = 16; in cm_x270_libertas_setup()
353 spi_setup(spi); in cm_x270_libertas_setup()
363 static int cm_x270_libertas_teardown(struct spi_device *spi) in cm_x270_libertas_teardown() argument