Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Walleij | e849dc0 | 2011-05-20 00:40:19 -0600 | [diff] [blame] | 2 | # generic gpio support: platform drivers, dedicated expander chips, etc |
David Brownell | a9c5fff | 2008-02-04 22:28:17 -0800 | [diff] [blame] | 3 | |
| 4 | ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG |
| 5 | |
Shawn Guo | 6a89a31 | 2013-01-18 15:57:46 +0800 | [diff] [blame] | 6 | obj-$(CONFIG_GPIOLIB) += gpiolib.o |
Linus Walleij | 32d064a | 2018-09-25 09:11:50 +0200 | [diff] [blame] | 7 | obj-$(CONFIG_GPIOLIB) += gpiolib-devres.o |
Alexandre Courbot | 122c94d | 2014-07-01 14:45:16 +0900 | [diff] [blame] | 8 | obj-$(CONFIG_GPIOLIB) += gpiolib-legacy.o |
Grant Likely | f141ed65 | 2012-04-07 14:31:33 -0600 | [diff] [blame] | 9 | obj-$(CONFIG_OF_GPIO) += gpiolib-of.o |
Kent Gibson | d143493 | 2020-09-28 08:27:52 +0800 | [diff] [blame] | 10 | obj-$(CONFIG_GPIO_CDEV) += gpiolib-cdev.o |
Alexandre Courbot | 0eb4c6c | 2014-07-01 14:45:15 +0900 | [diff] [blame] | 11 | obj-$(CONFIG_GPIO_SYSFS) += gpiolib-sysfs.o |
Mathias Nyman | e29482e | 2012-11-30 12:37:36 +0100 | [diff] [blame] | 12 | obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o |
David Brownell | d2876d0 | 2008-02-04 22:28:20 -0800 | [diff] [blame] | 13 | |
Grant Likely | c103de2 | 2011-06-04 18:38:28 -0600 | [diff] [blame] | 14 | # Device drivers. Generally keep list sorted alphabetically |
Michael Walle | ebe3631 | 2020-05-28 16:58:44 +0200 | [diff] [blame] | 15 | obj-$(CONFIG_GPIO_REGMAP) += gpio-regmap.o |
Grant Likely | c103de2 | 2011-06-04 18:38:28 -0600 | [diff] [blame] | 16 | obj-$(CONFIG_GPIO_GENERIC) += gpio-generic.o |
| 17 | |
Christian Lamparter | e9f4d56 | 2016-04-28 11:05:12 +0200 | [diff] [blame] | 18 | # directly supported by gpio-generic |
| 19 | gpio-generic-$(CONFIG_GPIO_GENERIC) += gpio-mmio.o |
| 20 | |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 21 | obj-$(CONFIG_GPIO_104_DIO_48E) += gpio-104-dio-48e.o |
| 22 | obj-$(CONFIG_GPIO_104_IDI_48) += gpio-104-idi-48.o |
| 23 | obj-$(CONFIG_GPIO_104_IDIO_16) += gpio-104-idio-16.o |
| 24 | obj-$(CONFIG_GPIO_74X164) += gpio-74x164.o |
| 25 | obj-$(CONFIG_GPIO_74XX_MMIO) += gpio-74xx-mmio.o |
| 26 | obj-$(CONFIG_GPIO_ADNP) += gpio-adnp.o |
| 27 | obj-$(CONFIG_GPIO_ADP5520) += gpio-adp5520.o |
| 28 | obj-$(CONFIG_GPIO_ADP5588) += gpio-adp5588.o |
Geert Uytterhoeven | 828546e | 2020-05-11 16:52:55 +0200 | [diff] [blame] | 29 | obj-$(CONFIG_GPIO_AGGREGATOR) += gpio-aggregator.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 30 | obj-$(CONFIG_GPIO_ALTERA_A10SR) += gpio-altera-a10sr.o |
| 31 | obj-$(CONFIG_GPIO_ALTERA) += gpio-altera.o |
| 32 | obj-$(CONFIG_GPIO_AMD8111) += gpio-amd8111.o |
| 33 | obj-$(CONFIG_GPIO_AMD_FCH) += gpio-amd-fch.o |
| 34 | obj-$(CONFIG_GPIO_AMDPT) += gpio-amdpt.o |
| 35 | obj-$(CONFIG_GPIO_ARIZONA) += gpio-arizona.o |
| 36 | obj-$(CONFIG_GPIO_ASPEED) += gpio-aspeed.o |
Linus Walleij | f8b410e | 2019-09-27 13:48:33 +0200 | [diff] [blame] | 37 | obj-$(CONFIG_GPIO_ASPEED_SGPIO) += gpio-aspeed-sgpio.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 38 | obj-$(CONFIG_GPIO_ATH79) += gpio-ath79.o |
| 39 | obj-$(CONFIG_GPIO_BCM_KONA) += gpio-bcm-kona.o |
Chris Packham | 6a41b6c | 2019-10-25 09:27:03 +1300 | [diff] [blame] | 40 | obj-$(CONFIG_GPIO_BCM_XGS_IPROC) += gpio-xgs-iproc.o |
Matti Vaittinen | 703b288 | 2021-04-05 14:43:08 +0300 | [diff] [blame] | 41 | obj-$(CONFIG_GPIO_BD71815) += gpio-bd71815.o |
Matti Vaittinen | c31f625 | 2020-01-20 15:47:37 +0200 | [diff] [blame] | 42 | obj-$(CONFIG_GPIO_BD71828) += gpio-bd71828.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 43 | obj-$(CONFIG_GPIO_BD9571MWV) += gpio-bd9571mwv.o |
| 44 | obj-$(CONFIG_GPIO_BRCMSTB) += gpio-brcmstb.o |
| 45 | obj-$(CONFIG_GPIO_BT8XX) += gpio-bt8xx.o |
| 46 | obj-$(CONFIG_GPIO_CADENCE) += gpio-cadence.o |
| 47 | obj-$(CONFIG_GPIO_CLPS711X) += gpio-clps711x.o |
| 48 | obj-$(CONFIG_GPIO_SNPS_CREG) += gpio-creg-snps.o |
| 49 | obj-$(CONFIG_GPIO_CRYSTAL_COVE) += gpio-crystalcove.o |
| 50 | obj-$(CONFIG_GPIO_CS5535) += gpio-cs5535.o |
| 51 | obj-$(CONFIG_GPIO_DA9052) += gpio-da9052.o |
| 52 | obj-$(CONFIG_GPIO_DA9055) += gpio-da9055.o |
| 53 | obj-$(CONFIG_GPIO_DAVINCI) += gpio-davinci.o |
| 54 | obj-$(CONFIG_GPIO_DLN2) += gpio-dln2.o |
| 55 | obj-$(CONFIG_GPIO_DWAPB) += gpio-dwapb.o |
| 56 | obj-$(CONFIG_GPIO_EIC_SPRD) += gpio-eic-sprd.o |
| 57 | obj-$(CONFIG_GPIO_EM) += gpio-em.o |
| 58 | obj-$(CONFIG_GPIO_EP93XX) += gpio-ep93xx.o |
| 59 | obj-$(CONFIG_GPIO_EXAR) += gpio-exar.o |
| 60 | obj-$(CONFIG_GPIO_F7188X) += gpio-f7188x.o |
| 61 | obj-$(CONFIG_GPIO_FTGPIO010) += gpio-ftgpio010.o |
| 62 | obj-$(CONFIG_GPIO_GE_FPGA) += gpio-ge.o |
| 63 | obj-$(CONFIG_GPIO_GPIO_MM) += gpio-gpio-mm.o |
| 64 | obj-$(CONFIG_GPIO_GRGPIO) += gpio-grgpio.o |
| 65 | obj-$(CONFIG_GPIO_GW_PLD) += gpio-gw-pld.o |
Luo Jiaxing | 356b01a | 2020-12-14 16:24:13 +0800 | [diff] [blame] | 66 | obj-$(CONFIG_GPIO_HISI) += gpio-hisi.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 67 | obj-$(CONFIG_GPIO_HLWD) += gpio-hlwd.o |
| 68 | obj-$(CONFIG_HTC_EGPIO) += gpio-htc-egpio.o |
| 69 | obj-$(CONFIG_GPIO_ICH) += gpio-ich.o |
Thomas Bogendoerfer | 4195926 | 2021-05-14 14:33:07 +0200 | [diff] [blame] | 70 | obj-$(CONFIG_GPIO_IDT3243X) += gpio-idt3243x.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 71 | obj-$(CONFIG_GPIO_IOP) += gpio-iop.o |
| 72 | obj-$(CONFIG_GPIO_IT87) += gpio-it87.o |
| 73 | obj-$(CONFIG_GPIO_IXP4XX) += gpio-ixp4xx.o |
| 74 | obj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz-ttl.o |
| 75 | obj-$(CONFIG_GPIO_KEMPLD) += gpio-kempld.o |
Paul Kocialkowski | c16485a | 2019-12-03 15:12:43 +0100 | [diff] [blame] | 76 | obj-$(CONFIG_GPIO_LOGICVC) += gpio-logicvc.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 77 | obj-$(CONFIG_GPIO_LOONGSON1) += gpio-loongson1.o |
| 78 | obj-$(CONFIG_GPIO_LOONGSON) += gpio-loongson.o |
| 79 | obj-$(CONFIG_GPIO_LP3943) += gpio-lp3943.o |
| 80 | obj-$(CONFIG_GPIO_LP873X) += gpio-lp873x.o |
| 81 | obj-$(CONFIG_GPIO_LP87565) += gpio-lp87565.o |
| 82 | obj-$(CONFIG_GPIO_LPC18XX) += gpio-lpc18xx.o |
Arnd Bergmann | f2ee731 | 2019-08-09 16:40:31 +0200 | [diff] [blame] | 83 | obj-$(CONFIG_GPIO_LPC32XX) += gpio-lpc32xx.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 84 | obj-$(CONFIG_GPIO_MADERA) += gpio-madera.o |
| 85 | obj-$(CONFIG_GPIO_MAX3191X) += gpio-max3191x.o |
| 86 | obj-$(CONFIG_GPIO_MAX7300) += gpio-max7300.o |
| 87 | obj-$(CONFIG_GPIO_MAX7301) += gpio-max7301.o |
| 88 | obj-$(CONFIG_GPIO_MAX730X) += gpio-max730x.o |
| 89 | obj-$(CONFIG_GPIO_MAX732X) += gpio-max732x.o |
| 90 | obj-$(CONFIG_GPIO_MAX77620) += gpio-max77620.o |
| 91 | obj-$(CONFIG_GPIO_MAX77650) += gpio-max77650.o |
| 92 | obj-$(CONFIG_GPIO_MB86S7X) += gpio-mb86s7x.o |
| 93 | obj-$(CONFIG_GPIO_MC33880) += gpio-mc33880.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 94 | obj-$(CONFIG_GPIO_MENZ127) += gpio-menz127.o |
| 95 | obj-$(CONFIG_GPIO_MERRIFIELD) += gpio-merrifield.o |
| 96 | obj-$(CONFIG_GPIO_ML_IOH) += gpio-ml-ioh.o |
| 97 | obj-$(CONFIG_GPIO_MLXBF) += gpio-mlxbf.o |
Asmaa Mnebhi | bc0ae0e | 2020-03-02 16:04:46 -0500 | [diff] [blame] | 98 | obj-$(CONFIG_GPIO_MLXBF2) += gpio-mlxbf2.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 99 | obj-$(CONFIG_GPIO_MM_LANTIQ) += gpio-mm-lantiq.o |
| 100 | obj-$(CONFIG_GPIO_MOCKUP) += gpio-mockup.o |
Marek Behún | 856ed97 | 2019-08-12 18:11:17 +0200 | [diff] [blame] | 101 | obj-$(CONFIG_GPIO_MOXTET) += gpio-moxtet.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 102 | obj-$(CONFIG_GPIO_MPC5200) += gpio-mpc5200.o |
| 103 | obj-$(CONFIG_GPIO_MPC8XXX) += gpio-mpc8xxx.o |
Daniel Palmer | 93224ed | 2020-11-29 20:08:00 +0900 | [diff] [blame] | 104 | obj-$(CONFIG_GPIO_MSC313) += gpio-msc313.o |
Sergio Paracuellos | 4ba9c3a | 2018-07-05 15:43:10 +0200 | [diff] [blame] | 105 | obj-$(CONFIG_GPIO_MT7621) += gpio-mt7621.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 106 | obj-$(CONFIG_GPIO_MVEBU) += gpio-mvebu.o |
| 107 | obj-$(CONFIG_GPIO_MXC) += gpio-mxc.o |
| 108 | obj-$(CONFIG_GPIO_MXS) += gpio-mxs.o |
| 109 | obj-$(CONFIG_GPIO_OCTEON) += gpio-octeon.o |
| 110 | obj-$(CONFIG_GPIO_OMAP) += gpio-omap.o |
| 111 | obj-$(CONFIG_GPIO_PALMAS) += gpio-palmas.o |
| 112 | obj-$(CONFIG_GPIO_PCA953X) += gpio-pca953x.o |
Sungbo Eo | 16d44b6 | 2020-07-09 22:48:29 +0900 | [diff] [blame] | 113 | obj-$(CONFIG_GPIO_PCA9570) += gpio-pca9570.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 114 | obj-$(CONFIG_GPIO_PCF857X) += gpio-pcf857x.o |
| 115 | obj-$(CONFIG_GPIO_PCH) += gpio-pch.o |
| 116 | obj-$(CONFIG_GPIO_PCIE_IDIO_24) += gpio-pcie-idio-24.o |
| 117 | obj-$(CONFIG_GPIO_PCI_IDIO_16) += gpio-pci-idio-16.o |
| 118 | obj-$(CONFIG_GPIO_PISOSR) += gpio-pisosr.o |
| 119 | obj-$(CONFIG_GPIO_PL061) += gpio-pl061.o |
Baolin Wang | 348f3cd | 2018-03-05 10:56:52 +0800 | [diff] [blame] | 120 | obj-$(CONFIG_GPIO_PMIC_EIC_SPRD) += gpio-pmic-eic-sprd.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 121 | obj-$(CONFIG_GPIO_PXA) += gpio-pxa.o |
| 122 | obj-$(CONFIG_GPIO_RASPBERRYPI_EXP) += gpio-raspberrypi-exp.o |
| 123 | obj-$(CONFIG_GPIO_RC5T583) += gpio-rc5t583.o |
| 124 | obj-$(CONFIG_GPIO_RCAR) += gpio-rcar.o |
Manivannan Sadhasivam | d57eb82 | 2019-10-21 12:14:12 +0530 | [diff] [blame] | 125 | obj-$(CONFIG_GPIO_RDA) += gpio-rda.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 126 | obj-$(CONFIG_GPIO_RDC321X) += gpio-rdc321x.o |
Sander Vanheule | 0d82fb1 | 2021-03-30 19:48:43 +0200 | [diff] [blame] | 127 | obj-$(CONFIG_GPIO_REALTEK_OTTO) += gpio-realtek-otto.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 128 | obj-$(CONFIG_GPIO_REG) += gpio-reg.o |
Jianqun Xu | 936ee26 | 2021-08-16 09:20:53 +0800 | [diff] [blame] | 129 | obj-$(CONFIG_GPIO_ROCKCHIP) += gpio-rockchip.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 130 | obj-$(CONFIG_ARCH_SA1100) += gpio-sa1100.o |
Andrei.Stefanescu@microchip.com | fb0b35d | 2018-12-12 11:57:15 +0000 | [diff] [blame] | 131 | obj-$(CONFIG_GPIO_SAMA5D2_PIOBU) += gpio-sama5d2-piobu.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 132 | obj-$(CONFIG_GPIO_SCH311X) += gpio-sch311x.o |
| 133 | obj-$(CONFIG_GPIO_SCH) += gpio-sch.o |
Yash Shah | 96868dc | 2019-12-10 16:41:13 +0530 | [diff] [blame] | 134 | obj-$(CONFIG_GPIO_SIFIVE) += gpio-sifive.o |
Bartosz Golaszewski | cb8c474 | 2021-12-07 10:34:09 +0100 | [diff] [blame] | 135 | obj-$(CONFIG_GPIO_SIM) += gpio-sim.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 136 | obj-$(CONFIG_GPIO_SIOX) += gpio-siox.o |
Michael Walle | b7536d8 | 2020-09-14 23:43:35 +0200 | [diff] [blame] | 137 | obj-$(CONFIG_GPIO_SL28CPLD) += gpio-sl28cpld.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 138 | obj-$(CONFIG_GPIO_SODAVILLE) += gpio-sodaville.o |
| 139 | obj-$(CONFIG_GPIO_SPEAR_SPICS) += gpio-spear-spics.o |
| 140 | obj-$(CONFIG_GPIO_SPRD) += gpio-sprd.o |
| 141 | obj-$(CONFIG_GPIO_STA2X11) += gpio-sta2x11.o |
| 142 | obj-$(CONFIG_GPIO_STMPE) += gpio-stmpe.o |
| 143 | obj-$(CONFIG_GPIO_STP_XWAY) += gpio-stp-xway.o |
| 144 | obj-$(CONFIG_GPIO_SYSCON) += gpio-syscon.o |
| 145 | obj-$(CONFIG_GPIO_TB10X) += gpio-tb10x.o |
| 146 | obj-$(CONFIG_GPIO_TC3589X) += gpio-tc3589x.o |
| 147 | obj-$(CONFIG_GPIO_TEGRA186) += gpio-tegra186.o |
| 148 | obj-$(CONFIG_GPIO_TEGRA) += gpio-tegra.o |
| 149 | obj-$(CONFIG_GPIO_THUNDERX) += gpio-thunderx.o |
| 150 | obj-$(CONFIG_GPIO_TIMBERDALE) += gpio-timberdale.o |
| 151 | obj-$(CONFIG_GPIO_TPIC2810) += gpio-tpic2810.o |
| 152 | obj-$(CONFIG_GPIO_TPS65086) += gpio-tps65086.o |
| 153 | obj-$(CONFIG_GPIO_TPS65218) += gpio-tps65218.o |
| 154 | obj-$(CONFIG_GPIO_TPS6586X) += gpio-tps6586x.o |
| 155 | obj-$(CONFIG_GPIO_TPS65910) += gpio-tps65910.o |
| 156 | obj-$(CONFIG_GPIO_TPS65912) += gpio-tps65912.o |
| 157 | obj-$(CONFIG_GPIO_TPS68470) += gpio-tps68470.o |
| 158 | obj-$(CONFIG_GPIO_TQMX86) += gpio-tqmx86.o |
| 159 | obj-$(CONFIG_GPIO_TS4800) += gpio-ts4800.o |
| 160 | obj-$(CONFIG_GPIO_TS4900) += gpio-ts4900.o |
| 161 | obj-$(CONFIG_GPIO_TS5500) += gpio-ts5500.o |
| 162 | obj-$(CONFIG_GPIO_TWL4030) += gpio-twl4030.o |
| 163 | obj-$(CONFIG_GPIO_TWL6040) += gpio-twl6040.o |
| 164 | obj-$(CONFIG_GPIO_UCB1400) += gpio-ucb1400.o |
| 165 | obj-$(CONFIG_GPIO_UNIPHIER) += gpio-uniphier.o |
| 166 | obj-$(CONFIG_GPIO_VF610) += gpio-vf610.o |
| 167 | obj-$(CONFIG_GPIO_VIPERBOARD) += gpio-viperboard.o |
Viresh Kumar | 3a29355 | 2021-08-19 10:00:22 +0530 | [diff] [blame] | 168 | obj-$(CONFIG_GPIO_VIRTIO) += gpio-virtio.o |
Nobuhiro Iwamatsu | 2ad74f4 | 2020-12-17 23:43:36 +0900 | [diff] [blame] | 169 | obj-$(CONFIG_GPIO_VISCONTI) += gpio-visconti.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 170 | obj-$(CONFIG_GPIO_VR41XX) += gpio-vr41xx.o |
| 171 | obj-$(CONFIG_GPIO_VX855) += gpio-vx855.o |
Srinivas Kandagatla | 59c32468 | 2020-01-07 13:08:44 +0000 | [diff] [blame] | 172 | obj-$(CONFIG_GPIO_WCD934X) += gpio-wcd934x.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 173 | obj-$(CONFIG_GPIO_WHISKEY_COVE) += gpio-wcove.o |
| 174 | obj-$(CONFIG_GPIO_WINBOND) += gpio-winbond.o |
| 175 | obj-$(CONFIG_GPIO_WM831X) += gpio-wm831x.o |
| 176 | obj-$(CONFIG_GPIO_WM8350) += gpio-wm8350.o |
| 177 | obj-$(CONFIG_GPIO_WM8994) += gpio-wm8994.o |
| 178 | obj-$(CONFIG_GPIO_WS16C48) += gpio-ws16c48.o |
| 179 | obj-$(CONFIG_GPIO_XGENE) += gpio-xgene.o |
| 180 | obj-$(CONFIG_GPIO_XGENE_SB) += gpio-xgene-sb.o |
| 181 | obj-$(CONFIG_GPIO_XILINX) += gpio-xilinx.o |
| 182 | obj-$(CONFIG_GPIO_XLP) += gpio-xlp.o |
| 183 | obj-$(CONFIG_GPIO_XRA1403) += gpio-xra1403.o |
| 184 | obj-$(CONFIG_GPIO_XTENSA) += gpio-xtensa.o |
| 185 | obj-$(CONFIG_GPIO_ZEVIO) += gpio-zevio.o |
Geert Uytterhoeven | db16bad | 2019-06-24 16:49:56 +0200 | [diff] [blame] | 186 | obj-$(CONFIG_GPIO_ZYNQ) += gpio-zynq.o |
Piyush Mehta | 7687a5b | 2021-09-22 19:23:19 +0530 | [diff] [blame] | 187 | obj-$(CONFIG_GPIO_ZYNQMP_MODEPIN) += gpio-zynqmp-modepin.o |