Home
last modified time | relevance | path

Searched refs:IOMUX_TO_GPIO (Results 1 – 16 of 16) sorted by relevance

/linux-4.1.27/arch/arm/mach-imx/
Dmx31moboard-marxbot.c68 #define SDHC2_CD IOMUX_TO_GPIO(MX31_PIN_ATA_DIOR)
69 #define SDHC2_WP IOMUX_TO_GPIO(MX31_PIN_ATA_DIOW)
121 #define TRSLAT_RST_B IOMUX_TO_GPIO(MX31_PIN_STXD5)
122 #define DSPICS_RST_B IOMUX_TO_GPIO(MX31_PIN_SRXD5)
146 #define TURRETCAM_POWER IOMUX_TO_GPIO(MX31_PIN_GPIO3_1)
147 #define BASECAM_POWER IOMUX_TO_GPIO(MX31_PIN_CSI_D5)
148 #define TURRETCAM_RST_B IOMUX_TO_GPIO(MX31_PIN_GPIO3_0)
149 #define BASECAM_RST_B IOMUX_TO_GPIO(MX31_PIN_CSI_D4)
150 #define CAM_CHOICE IOMUX_TO_GPIO(MX31_PIN_TXD2)
222 #define SEL0 IOMUX_TO_GPIO(MX31_PIN_DTR_DCE1)
[all …]
Dmach-qong.c95 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_DTR_DCE1)); in qong_init_dnet()
97 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_DTR_DCE1)); in qong_init_dnet()
150 return gpio_get_value(IOMUX_TO_GPIO(MX31_PIN_NFRB)); in qong_nand_device_ready()
156 gpio_set_value(IOMUX_TO_GPIO(MX31_PIN_NFCE_B), 0); in qong_nand_select_chip()
158 gpio_set_value(IOMUX_TO_GPIO(MX31_PIN_NFCE_B), 1); in qong_nand_select_chip()
201 if (!gpio_request(IOMUX_TO_GPIO(MX31_PIN_NFCE_B), "nand_enable")) in qong_init_nand_mtd()
202 gpio_direction_output(IOMUX_TO_GPIO(MX31_PIN_NFCE_B), 0); in qong_init_nand_mtd()
206 if (!gpio_request(IOMUX_TO_GPIO(MX31_PIN_NFRB), "nand_rdy")) in qong_init_nand_mtd()
207 gpio_direction_input(IOMUX_TO_GPIO(MX31_PIN_NFRB)); in qong_init_nand_mtd()
211 if (!gpio_request(IOMUX_TO_GPIO(MX31_PIN_NFWP_B), "nand_wp")) in qong_init_nand_mtd()
[all …]
Dmach-kzm_arm11_01.c115 gpio_request(IOMUX_TO_GPIO(MX31_PIN_GPIO1_1), "ext-uart-int"); in kzm_init_ext_uart()
116 gpio_direction_input(IOMUX_TO_GPIO(MX31_PIN_GPIO1_1)); in kzm_init_ext_uart()
126 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_1)); in kzm_init_ext_uart()
128 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_1)); in kzm_init_ext_uart()
130 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_1)); in kzm_init_ext_uart()
185 gpio_request(IOMUX_TO_GPIO(MX31_PIN_GPIO1_2), "smsc9118-int"); in kzm_init_smsc9118()
186 gpio_direction_input(IOMUX_TO_GPIO(MX31_PIN_GPIO1_2)); in kzm_init_smsc9118()
191 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_2)); in kzm_init_smsc9118()
193 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_2)); in kzm_init_smsc9118()
Dmach-armadillo5x0.c135 #define OTG_RESET IOMUX_TO_GPIO(MX31_PIN_STXD4)
136 #define USBH2_RESET IOMUX_TO_GPIO(MX31_PIN_SCK6)
137 #define USBH2_CS IOMUX_TO_GPIO(MX31_PIN_GPIO1_3)
258 #define ARMADILLO5X0_RTC_GPIO IOMUX_TO_GPIO(MX31_PIN_SRXD4)
268 .gpio = IOMUX_TO_GPIO(MX31_PIN_SCLK0),
274 .gpio = IOMUX_TO_GPIO(MX31_PIN_SRST0),
382 return gpio_get_value(IOMUX_TO_GPIO(MX31_PIN_ATA_RESET_B)); in armadillo5x0_sdhc1_get_ro()
391 gpio_det = IOMUX_TO_GPIO(MX31_PIN_ATA_DMACK); in armadillo5x0_sdhc1_init()
392 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_ATA_RESET_B); in armadillo5x0_sdhc1_init()
407 ret = request_irq(gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_ATA_DMACK)), in armadillo5x0_sdhc1_init()
[all …]
Dmx31lite-db.c84 return gpio_get_value(IOMUX_TO_GPIO(MX31_PIN_GPIO1_6)); in mxc_mmc1_get_ro()
92 gpio_det = IOMUX_TO_GPIO(MX31_PIN_DCD_DCE1); in mxc_mmc1_init()
93 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_GPIO1_6); in mxc_mmc1_init()
118 ret = request_irq(gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_DCD_DCE1)), in mxc_mmc1_init()
140 free_irq(gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_DCD_DCE1)), data); in mxc_mmc1_exit()
167 .gpio = IOMUX_TO_GPIO(MX31_PIN_COMPARE),
173 .gpio = IOMUX_TO_GPIO(MX31_PIN_CAPTURE),
Dmach-mx31moboard.c134 if (!gpio_request(IOMUX_TO_GPIO(MX31_PIN_CTS1), "uart0-cts-hack")) { in moboard_uart0_init()
135 gpio_direction_output(IOMUX_TO_GPIO(MX31_PIN_CTS1), 0); in moboard_uart0_init()
136 gpio_free(IOMUX_TO_GPIO(MX31_PIN_CTS1)); in moboard_uart0_init()
314 #define SDHC1_CD IOMUX_TO_GPIO(MX31_PIN_ATA_CS0)
315 #define SDHC1_WP IOMUX_TO_GPIO(MX31_PIN_ATA_CS1)
370 #define USB_RESET_B IOMUX_TO_GPIO(MX31_PIN_GPIO1_0)
374 #define OTG_EN_B IOMUX_TO_GPIO(MX31_PIN_USB_OC)
375 #define USBH2_EN_B IOMUX_TO_GPIO(MX31_PIN_SCK6)
446 .gpio = IOMUX_TO_GPIO(MX31_PIN_SVEN0),
449 .gpio = IOMUX_TO_GPIO(MX31_PIN_STX0),
[all …]
Dmx31moboard-devboard.c56 #define SDHC2_CD IOMUX_TO_GPIO(MX31_PIN_ATA_DIOR)
57 #define SDHC2_WP IOMUX_TO_GPIO(MX31_PIN_ATA_DIOW)
109 #define SEL0 IOMUX_TO_GPIO(MX31_PIN_DTR_DCE1)
110 #define SEL1 IOMUX_TO_GPIO(MX31_PIN_DSR_DCE1)
111 #define SEL2 IOMUX_TO_GPIO(MX31_PIN_RI_DCE1)
112 #define SEL3 IOMUX_TO_GPIO(MX31_PIN_DCD_DCE1)
158 #define USBH1_VBUSEN_B IOMUX_TO_GPIO(MX31_PIN_NFRE_B)
159 #define USBH1_MODE IOMUX_TO_GPIO(MX31_PIN_NFALE)
Dmx31moboard-smartbot.c59 #define CAM_POWER IOMUX_TO_GPIO(MX31_PIN_GPIO3_1)
60 #define CAM_RST_B IOMUX_TO_GPIO(MX31_PIN_GPIO3_0)
152 #define POWER_EN IOMUX_TO_GPIO(MX31_PIN_DTR_DCE1)
153 #define DSPIC_RST_B IOMUX_TO_GPIO(MX31_PIN_DSR_DCE1)
154 #define TRSLAT_RST_B IOMUX_TO_GPIO(MX31_PIN_RI_DCE1)
155 #define TRSLAT_SRC_CHOICE IOMUX_TO_GPIO(MX31_PIN_DCD_DCE1)
Dmach-mx31lite.c166 gpio_request(IOMUX_TO_GPIO(MX31_PIN_DTR_DCE1), "USBH2 CS"); in usbh2_init()
167 gpio_direction_output(IOMUX_TO_GPIO(MX31_PIN_DTR_DCE1), 0); in usbh2_init()
259 mc13783_spi_dev.irq = gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_3)); in mx31lite_init()
271 ret = gpio_request(IOMUX_TO_GPIO(MX31_PIN_SFS6), "sms9117-irq"); in mx31lite_init()
275 gpio_direction_input(IOMUX_TO_GPIO(MX31_PIN_SFS6)); in mx31lite_init()
277 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_SFS6)); in mx31lite_init()
279 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_SFS6)); in mx31lite_init()
Dmach-pcm037.c295 gpio_set_value(IOMUX_TO_GPIO(MX31_PIN_CSI_D5), !on); in pcm037_camera_power()
349 return gpio_get_value(IOMUX_TO_GPIO(MX31_PIN_SFS6)); in pcm970_sdhc1_get_ro()
353 #define SDHC1_GPIO_WP IOMUX_TO_GPIO(MX31_PIN_SFS6)
354 #define SDHC1_GPIO_DET IOMUX_TO_GPIO(MX31_PIN_SCK6)
374 ret = request_irq(gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_SCK6)), detect_irq, in pcm970_sdhc1_init()
393 free_irq(gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_SCK6)), data); in pcm970_sdhc1_exit()
625 ret = gpio_request(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1), "lan9217-irq"); in pcm037_init()
629 gpio_direction_input(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1)); in pcm037_init()
631 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1)); in pcm037_init()
633 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1)); in pcm037_init()
[all …]
Dmx31lilly-db.c98 return gpio_get_value(IOMUX_TO_GPIO(MX31_PIN_LCS0)); in mxc_mmc1_get_ro()
111 gpio_det = IOMUX_TO_GPIO(MX31_PIN_GPIO1_1); in mxc_mmc1_init()
112 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_LCS0); in mxc_mmc1_init()
132 ret = request_irq(gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_1)), in mxc_mmc1_init()
153 free_irq(gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_1)), data); in mxc_mmc1_exit()
Dmach-mx31_3ds.c170 #define MX31_3DS_GPIO_CAMERA_PW IOMUX_TO_GPIO(MX31_PIN_CSI_D5)
171 #define MX31_3DS_GPIO_CAMERA_RST IOMUX_TO_GPIO(MX31_PIN_RI_DTE1)
286 .reset_gpio = IOMUX_TO_GPIO(MX31_PIN_LCS1),
287 .data_enable_gpio = IOMUX_TO_GPIO(MX31_PIN_SER_RS),
293 #define MX31_3DS_GPIO_SDHC1_CD IOMUX_TO_GPIO(MX31_PIN_GPIO3_1)
294 #define MX31_3DS_GPIO_SDHC1_BE IOMUX_TO_GPIO(MX31_PIN_GPIO3_0)
314 ret = request_irq(gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1)), in mx31_3ds_sdhc1_init()
333 free_irq(gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1)), data); in mx31_3ds_sdhc1_exit()
566 #define USBOTG_RST_B IOMUX_TO_GPIO(MX31_PIN_USB_PWR)
567 #define USBH2_RST_B IOMUX_TO_GPIO(MX31_PIN_USB_BYP)
[all …]
Dmach-mx31lilly.c179 gpio_request(IOMUX_TO_GPIO(MX31_PIN_DTR_DCE1), "USBH2 CS"); in usbh2_init()
180 gpio_direction_output(IOMUX_TO_GPIO(MX31_PIN_DTR_DCE1), 0); in usbh2_init()
287 mc13783_dev.irq = gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_3)); in mx31lilly_board_init()
293 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_0)); in mx31lilly_board_init()
295 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_0)); in mx31lilly_board_init()
Dmach-pcm037_eet.c59 static int pcm037_spi1_cs[] = {MXC_SPI_CS(1), IOMUX_TO_GPIO(MX31_PIN_KEY_COL7)};
Dmach-mx31ads.c243 irq = gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_4)); in mx31ads_init_expio()
514 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_3)); in mxc_init_i2c()
Diomux-mx3.h161 #define IOMUX_TO_GPIO(iomux_pin) \ macro