Lines Matching +full:pxa3xx +full:- +full:gpio
1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-pxa/zylonite_pxa300.c
6 * PXA3xx Development Platform (aka Zylonite)
9 * 2007-08-21: eric miao <eric.miao@marvell.com>
17 #include <linux/platform_data/i2c-pxa.h>
19 #include <linux/gpio.h>
73 GPIO17_GPIO, /* SDATA_IN_1 but unused - configure to GPIO */
111 GPIO15_GPIO, /* CMD1 default as GPIO for slot 0 */
129 /* GPIO */
130 GPIO18_GPIO | MFP_PULL_HIGH, /* GPIO Expander #0 INT_N */
131 GPIO19_GPIO | MFP_PULL_HIGH, /* GPIO Expander #1 INT_N */
173 MFP_PIN_GPIO71, /* LCD_LDD_17 - ORIENT */
174 MFP_PIN_GPIO70, /* LCD_LDD_16 - LCDID[5] */
175 MFP_PIN_GPIO75, /* LCD_BIAS - LCDID[4] */
176 MFP_PIN_GPIO73, /* LCD_LCLK - LCDID[3] */
177 MFP_PIN_GPIO72, /* LCD_FCLK - LCDID[2] */
178 MFP_PIN_GPIO127,/* LCD_CS_N - LCDID[1] */
179 MFP_PIN_GPIO76, /* LCD_VSYNC - LCDID[0] */
185 int i, gpio, id = 0; in zylonite_detect_lcd_panel() local
188 * them as GPIO Input, DS01X, Pull Neither, Edge Clear in zylonite_detect_lcd_panel()
197 gpio = mfp_to_gpio(lcd_detect_pins[i]); in zylonite_detect_lcd_panel()
198 gpio_request(gpio, "LCD_ID_PINS"); in zylonite_detect_lcd_panel()
199 gpio_direction_input(gpio); in zylonite_detect_lcd_panel()
201 if (gpio_get_value(gpio)) in zylonite_detect_lcd_panel()
203 gpio_free(gpio); in zylonite_detect_lcd_panel()
230 .dev_name = "pca9539-a",
236 .dev_name = "pca9539-b",