Lines Matching +full:gpio +full:- +full:out +full:- +full:pol

1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2008-2011 Manuel Lauss
9 #include <linux/dma-mapping.h>
10 #include <linux/gpio.h>
25 #include <asm/mach-au1x00/au1000.h>
26 #include <asm/mach-au1x00/au1100_mmc.h>
27 #include <asm/mach-au1x00/au1xxx_dbdma.h>
28 #include <asm/mach-au1x00/au1xxx_psc.h>
29 #include <asm/mach-au1x00/au1200fb.h>
30 #include <asm/mach-au1x00/au1550_spi.h>
31 #include <asm/mach-db1x00/bcsr.h>
121 return -ENODEV; in db1200_board_setup()
130 return -ENODEV; in db1200_board_setup()
134 " Board-ID %d Daughtercard ID %d\n", get_system_type(), in db1200_board_setup()
180 { I2C_BOARD_INFO("24c04", 0x52), }, /* AT24C04-10 I2C eeprom */
181 { I2C_BOARD_INFO("ne1619", 0x2d), }, /* adm1025-compat hwmon */
190 unsigned long ioaddr = (unsigned long)this->legacy.IO_ADDR_W; in au1200_nand_cmd_ctrl()
202 this->legacy.IO_ADDR_R = this->legacy.IO_ADDR_W = (void __iomem *)ioaddr; in au1200_nand_cmd_ctrl()
204 __raw_writeb(cmd, this->legacy.IO_ADDR_W); in au1200_nand_cmd_ctrl()
253 .id = -1,
285 .id = -1,
300 .end = DB1200_IDE_PHYS_ADDR + IDE_ALT_START - 1,
305 .end = DB1200_IDE_PHYS_ADDR + DB1200_IDE_PHYS_LEN - 1,
330 /* SD carddetects: they're supposed to be edge-triggered, but ack
362 goto out; in db1200_mmc_cd_setup()
368 goto out; in db1200_mmc_cd_setup()
381 out: in db1200_mmc_cd_setup()
417 /* -- */
446 goto out; in pb1200_mmc1_cd_setup()
452 goto out; in pb1200_mmc1_cd_setup()
465 out: in pb1200_mmc1_cd_setup()
543 .name = "au1xxx-mmc",
578 .name = "au1xxx-mmc",
622 .end = AU1200_LCD_PHYS_ADDR + 0x800 - 1,
633 .name = "au1200-lcd",
676 static void db1200_spi_cs_en(struct au1550_spi_info *spi, int cs, int pol) in db1200_spi_cs_en() argument
696 .name = "au1550-spi",
744 .name = "ac97-codec",
749 .name = "au1xpsc-pcm",
793 db1200_ide_res[0].end = PB1200_IDE_PHYS_ADDR + DB1200_IDE_PHYS_LEN - 1; in pb1200_res_fixup()
810 return -ENODEV; in db1200_dev_setup()
813 /* GPIO7 is low-level triggered CPLD cascade */ in db1200_dev_setup()
828 if ((pfc < 1) || (abs(50000000 - pfc) > 2500000)) in db1200_dev_setup()
866 gpio_request(215, "otg-vbus"); in db1200_dev_setup()
898 db1200_sound_dev.name = "db1200-i2s"; in db1200_dev_setup()
903 db1200_sound_dev.name = "db1200-ac97"; in db1200_dev_setup()
914 AU1000_PCMCIA_ATTR_PHYS_ADDR + 0x000400000 - 1, in db1200_dev_setup()
916 AU1000_PCMCIA_MEM_PHYS_ADDR + 0x000400000 - 1, in db1200_dev_setup()
918 AU1000_PCMCIA_IO_PHYS_ADDR + 0x000010000 - 1, in db1200_dev_setup()
924 AU1000_PCMCIA_ATTR_PHYS_ADDR + 0x004400000 - 1, in db1200_dev_setup()
926 AU1000_PCMCIA_MEM_PHYS_ADDR + 0x004400000 - 1, in db1200_dev_setup()
928 AU1000_PCMCIA_IO_PHYS_ADDR + 0x004010000 - 1, in db1200_dev_setup()