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>
26 #include <asm/mach-au1x00/au1000.h>
27 #include <asm/mach-au1x00/au1100_mmc.h>
28 #include <asm/mach-au1x00/au1xxx_dbdma.h>
29 #include <asm/mach-au1x00/au1xxx_psc.h>
30 #include <asm/mach-au1x00/au1200fb.h>
31 #include <asm/mach-au1x00/au1550_spi.h>
32 #include <asm/mach-db1x00/bcsr.h>
122 return -ENODEV; in db1200_board_setup()
131 return -ENODEV; in db1200_board_setup()
135 " Board-ID %d Daughtercard ID %d\n", get_system_type(), in db1200_board_setup()
181 { I2C_BOARD_INFO("24c04", 0x52), }, /* AT24C04-10 I2C eeprom */
182 { I2C_BOARD_INFO("ne1619", 0x2d), }, /* adm1025-compat hwmon */
191 unsigned long ioaddr = (unsigned long)this->legacy.IO_ADDR_W; in au1200_nand_cmd_ctrl()
203 this->legacy.IO_ADDR_R = this->legacy.IO_ADDR_W = (void __iomem *)ioaddr; in au1200_nand_cmd_ctrl()
205 __raw_writeb(cmd, this->legacy.IO_ADDR_W); in au1200_nand_cmd_ctrl()
254 .id = -1,
286 .id = -1,
301 .end = DB1200_IDE_PHYS_ADDR + IDE_ALT_START - 1,
306 .end = DB1200_IDE_PHYS_ADDR + DB1200_IDE_PHYS_LEN - 1,
330 /* SD carddetects: they're supposed to be edge-triggered, but ack
369 goto out; in db1200_mmc_cd_setup()
375 goto out; in db1200_mmc_cd_setup()
388 out: in db1200_mmc_cd_setup()
424 /* -- */
460 goto out; in pb1200_mmc1_cd_setup()
466 goto out; in pb1200_mmc1_cd_setup()
479 out: in pb1200_mmc1_cd_setup()
557 .name = "au1xxx-mmc",
592 .name = "au1xxx-mmc",
635 .end = AU1200_LCD_PHYS_ADDR + 0x800 - 1,
646 .name = "au1200-lcd",
689 static void db1200_spi_cs_en(struct au1550_spi_info *spi, int cs, int pol) in db1200_spi_cs_en() argument
709 .name = "au1550-spi",
757 .name = "ac97-codec",
762 .name = "au1xpsc-pcm",
802 db1200_ide_res[0].end = PB1200_IDE_PHYS_ADDR + DB1200_IDE_PHYS_LEN - 1; in pb1200_res_fixup()
819 return -ENODEV; in db1200_dev_setup()
822 /* GPIO7 is low-level triggered CPLD cascade */ in db1200_dev_setup()
837 if ((pfc < 1) || (abs(50000000 - pfc) > 2500000)) in db1200_dev_setup()
875 gpio_request(215, "otg-vbus"); in db1200_dev_setup()
907 db1200_sound_dev.name = "db1200-i2s"; in db1200_dev_setup()
912 db1200_sound_dev.name = "db1200-ac97"; in db1200_dev_setup()
923 AU1000_PCMCIA_ATTR_PHYS_ADDR + 0x000400000 - 1, in db1200_dev_setup()
925 AU1000_PCMCIA_MEM_PHYS_ADDR + 0x000400000 - 1, in db1200_dev_setup()
927 AU1000_PCMCIA_IO_PHYS_ADDR + 0x000010000 - 1, in db1200_dev_setup()
933 AU1000_PCMCIA_ATTR_PHYS_ADDR + 0x004400000 - 1, in db1200_dev_setup()
935 AU1000_PCMCIA_MEM_PHYS_ADDR + 0x004400000 - 1, in db1200_dev_setup()
937 AU1000_PCMCIA_IO_PHYS_ADDR + 0x004010000 - 1, in db1200_dev_setup()