18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci# generic gpio support: platform drivers, dedicated expander chips, etc
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciccflags-$(CONFIG_DEBUG_GPIO)	+= -DDEBUG
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIOLIB)		+= gpiolib.o
78c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIOLIB)		+= gpiolib-devres.o
88c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIOLIB)		+= gpiolib-legacy.o
98c2ecf20Sopenharmony_ciobj-$(CONFIG_OF_GPIO)		+= gpiolib-of.o
108c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_CDEV)		+= gpiolib-cdev.o
118c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_SYSFS)	+= gpiolib-sysfs.o
128c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ACPI)		+= gpiolib-acpi.o
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci# Device drivers. Generally keep list sorted alphabetically
158c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_REGMAP)	+= gpio-regmap.o
168c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_GENERIC)	+= gpio-generic.o
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci# directly supported by gpio-generic
198c2ecf20Sopenharmony_cigpio-generic-$(CONFIG_GPIO_GENERIC)	+= gpio-mmio.o
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_104_DIO_48E)		+= gpio-104-dio-48e.o
228c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_104_IDI_48)		+= gpio-104-idi-48.o
238c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_104_IDIO_16)		+= gpio-104-idio-16.o
248c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_74X164)		+= gpio-74x164.o
258c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_74XX_MMIO)		+= gpio-74xx-mmio.o
268c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ADNP)			+= gpio-adnp.o
278c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ADP5520)		+= gpio-adp5520.o
288c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ADP5588)		+= gpio-adp5588.o
298c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_AGGREGATOR)		+= gpio-aggregator.o
308c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ALTERA_A10SR)		+= gpio-altera-a10sr.o
318c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ALTERA)  		+= gpio-altera.o
328c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_AMD8111)		+= gpio-amd8111.o
338c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_AMD_FCH)		+= gpio-amd-fch.o
348c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_AMDPT)		+= gpio-amdpt.o
358c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ARIZONA)		+= gpio-arizona.o
368c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ASPEED)		+= gpio-aspeed.o
378c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ASPEED_SGPIO)		+= gpio-aspeed-sgpio.o
388c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ATH79)		+= gpio-ath79.o
398c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_BCM_KONA)		+= gpio-bcm-kona.o
408c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_BCM_XGS_IPROC)	+= gpio-xgs-iproc.o
418c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_BD70528)		+= gpio-bd70528.o
428c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_BD71828)		+= gpio-bd71828.o
438c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_BD9571MWV)		+= gpio-bd9571mwv.o
448c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_BRCMSTB)		+= gpio-brcmstb.o
458c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_BT8XX)		+= gpio-bt8xx.o
468c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_CADENCE)		+= gpio-cadence.o
478c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_CLPS711X)		+= gpio-clps711x.o
488c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_SNPS_CREG)		+= gpio-creg-snps.o
498c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_CRYSTAL_COVE)		+= gpio-crystalcove.o
508c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_CS5535)		+= gpio-cs5535.o
518c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_DA9052)		+= gpio-da9052.o
528c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_DA9055)		+= gpio-da9055.o
538c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_DAVINCI)		+= gpio-davinci.o
548c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_DLN2)			+= gpio-dln2.o
558c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_DWAPB)		+= gpio-dwapb.o
568c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_EIC_SPRD)		+= gpio-eic-sprd.o
578c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_EM)			+= gpio-em.o
588c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_EP93XX)		+= gpio-ep93xx.o
598c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_EXAR)			+= gpio-exar.o
608c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_F7188X)		+= gpio-f7188x.o
618c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_FTGPIO010)		+= gpio-ftgpio010.o
628c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_GE_FPGA)		+= gpio-ge.o
638c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_GPIO_MM)		+= gpio-gpio-mm.o
648c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_GRGPIO)		+= gpio-grgpio.o
658c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_GW_PLD)		+= gpio-gw-pld.o
668c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_HLWD)			+= gpio-hlwd.o
678c2ecf20Sopenharmony_ciobj-$(CONFIG_HTC_EGPIO)			+= gpio-htc-egpio.o
688c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ICH)			+= gpio-ich.o
698c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_INTEL_MID)		+= gpio-intel-mid.o
708c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_IOP)			+= gpio-iop.o
718c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_IT87)			+= gpio-it87.o
728c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_IXP4XX)		+= gpio-ixp4xx.o
738c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_JANZ_TTL)		+= gpio-janz-ttl.o
748c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_KEMPLD)		+= gpio-kempld.o
758c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_LOGICVC)		+= gpio-logicvc.o
768c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_LOONGSON1)		+= gpio-loongson1.o
778c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_LOONGSON)		+= gpio-loongson.o
788c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_LP3943)		+= gpio-lp3943.o
798c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_LP873X)		+= gpio-lp873x.o
808c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_LP87565)		+= gpio-lp87565.o
818c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_LPC18XX)		+= gpio-lpc18xx.o
828c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_LPC32XX)		+= gpio-lpc32xx.o
838c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MADERA)		+= gpio-madera.o
848c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MAX3191X)		+= gpio-max3191x.o
858c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MAX7300)		+= gpio-max7300.o
868c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MAX7301)		+= gpio-max7301.o
878c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MAX730X)		+= gpio-max730x.o
888c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MAX732X)		+= gpio-max732x.o
898c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MAX77620)		+= gpio-max77620.o
908c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MAX77650)		+= gpio-max77650.o
918c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MB86S7X)		+= gpio-mb86s7x.o
928c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MC33880)		+= gpio-mc33880.o
938c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MC9S08DZ60)		+= gpio-mc9s08dz60.o
948c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MENZ127)		+= gpio-menz127.o
958c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MERRIFIELD)		+= gpio-merrifield.o
968c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ML_IOH)		+= gpio-ml-ioh.o
978c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MLXBF)		+= gpio-mlxbf.o
988c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MLXBF2)		+= gpio-mlxbf2.o
998c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MM_LANTIQ)		+= gpio-mm-lantiq.o
1008c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MOCKUP)		+= gpio-mockup.o
1018c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MOXTET)		+= gpio-moxtet.o
1028c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MPC5200)		+= gpio-mpc5200.o
1038c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MPC8XXX)		+= gpio-mpc8xxx.o
1048c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MSIC)			+= gpio-msic.o
1058c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MT7621)		+= gpio-mt7621.o
1068c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MVEBU)		+= gpio-mvebu.o
1078c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MXC)			+= gpio-mxc.o
1088c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_MXS)			+= gpio-mxs.o
1098c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_OCTEON)		+= gpio-octeon.o
1108c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_OMAP)			+= gpio-omap.o
1118c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_PALMAS)		+= gpio-palmas.o
1128c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_PCA953X)		+= gpio-pca953x.o
1138c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_PCA9570)		+= gpio-pca9570.o
1148c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_PCF857X)		+= gpio-pcf857x.o
1158c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_PCH)			+= gpio-pch.o
1168c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_PCIE_IDIO_24)		+= gpio-pcie-idio-24.o
1178c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_PCI_IDIO_16)		+= gpio-pci-idio-16.o
1188c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_PISOSR)		+= gpio-pisosr.o
1198c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_PL061)		+= gpio-pl061.o
1208c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_PMIC_EIC_SPRD)	+= gpio-pmic-eic-sprd.o
1218c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_PXA)			+= gpio-pxa.o
1228c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_RASPBERRYPI_EXP)	+= gpio-raspberrypi-exp.o
1238c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_RC5T583)		+= gpio-rc5t583.o
1248c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_RCAR)			+= gpio-rcar.o
1258c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_RDA)			+= gpio-rda.o
1268c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_RDC321X)		+= gpio-rdc321x.o
1278c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_REG)			+= gpio-reg.o
1288c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_SA1100)		+= gpio-sa1100.o
1298c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_SAMA5D2_PIOBU)	+= gpio-sama5d2-piobu.o
1308c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_SCH311X)		+= gpio-sch311x.o
1318c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_SCH)			+= gpio-sch.o
1328c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_SIFIVE)		+= gpio-sifive.o
1338c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_SIOX)			+= gpio-siox.o
1348c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_SL28CPLD)		+= gpio-sl28cpld.o
1358c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_SODAVILLE)		+= gpio-sodaville.o
1368c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_SPEAR_SPICS)		+= gpio-spear-spics.o
1378c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_SPRD)			+= gpio-sprd.o
1388c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_STA2X11)		+= gpio-sta2x11.o
1398c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_STMPE)		+= gpio-stmpe.o
1408c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_STP_XWAY)		+= gpio-stp-xway.o
1418c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_SYSCON)		+= gpio-syscon.o
1428c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TB10X)		+= gpio-tb10x.o
1438c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TC3589X)		+= gpio-tc3589x.o
1448c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TEGRA186)		+= gpio-tegra186.o
1458c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TEGRA)		+= gpio-tegra.o
1468c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_THUNDERX)		+= gpio-thunderx.o
1478c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TIMBERDALE)		+= gpio-timberdale.o
1488c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TPIC2810)		+= gpio-tpic2810.o
1498c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TPS65086)		+= gpio-tps65086.o
1508c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TPS65218)		+= gpio-tps65218.o
1518c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TPS6586X)		+= gpio-tps6586x.o
1528c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TPS65910)		+= gpio-tps65910.o
1538c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TPS65912)		+= gpio-tps65912.o
1548c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TPS68470)		+= gpio-tps68470.o
1558c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TQMX86)		+= gpio-tqmx86.o
1568c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TS4800)		+= gpio-ts4800.o
1578c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TS4900)		+= gpio-ts4900.o
1588c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TS5500)		+= gpio-ts5500.o
1598c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TWL4030)		+= gpio-twl4030.o
1608c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_TWL6040)		+= gpio-twl6040.o
1618c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_UCB1400)		+= gpio-ucb1400.o
1628c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_UNIPHIER)		+= gpio-uniphier.o
1638c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_VF610)		+= gpio-vf610.o
1648c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_VIPERBOARD)		+= gpio-viperboard.o
1658c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_VR41XX)		+= gpio-vr41xx.o
1668c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_VX855)		+= gpio-vx855.o
1678c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_WCD934X)		+= gpio-wcd934x.o
1688c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_WHISKEY_COVE)		+= gpio-wcove.o
1698c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_WINBOND)		+= gpio-winbond.o
1708c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_WM831X)		+= gpio-wm831x.o
1718c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_WM8350)		+= gpio-wm8350.o
1728c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_WM8994)		+= gpio-wm8994.o
1738c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_WS16C48)		+= gpio-ws16c48.o
1748c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_XGENE)		+= gpio-xgene.o
1758c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_XGENE_SB)		+= gpio-xgene-sb.o
1768c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_XILINX)		+= gpio-xilinx.o
1778c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_XLP)			+= gpio-xlp.o
1788c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_XRA1403)		+= gpio-xra1403.o
1798c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_XTENSA)		+= gpio-xtensa.o
1808c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ZEVIO)		+= gpio-zevio.o
1818c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ZX)			+= gpio-zx.o
1828c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIO_ZYNQ)			+= gpio-zynq.o
183