xref: /kernel/linux/linux-6.6/drivers/gpio/Makefile (revision 62306a36)
162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci# generic gpio support: platform drivers, dedicated expander chips, etc
362306a36Sopenharmony_ci
462306a36Sopenharmony_ciccflags-$(CONFIG_DEBUG_GPIO)	+= -DDEBUG
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciobj-$(CONFIG_GPIOLIB)		+= gpiolib.o
762306a36Sopenharmony_ciobj-$(CONFIG_GPIOLIB)		+= gpiolib-devres.o
862306a36Sopenharmony_ciobj-$(CONFIG_GPIOLIB)		+= gpiolib-legacy.o
962306a36Sopenharmony_ciobj-$(CONFIG_OF_GPIO)		+= gpiolib-of.o
1062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_CDEV)		+= gpiolib-cdev.o
1162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SYSFS)	+= gpiolib-sysfs.o
1262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ACPI)		+= gpiolib-acpi.o
1362306a36Sopenharmony_ciobj-$(CONFIG_GPIOLIB)		+= gpiolib-swnode.o
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci# Device drivers. Generally keep list sorted alphabetically
1662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_REGMAP)	+= gpio-regmap.o
1762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_GENERIC)	+= gpio-generic.o
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci# directly supported by gpio-generic
2062306a36Sopenharmony_cigpio-generic-$(CONFIG_GPIO_GENERIC)	+= gpio-mmio.o
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_104_DIO_48E)		+= gpio-104-dio-48e.o
2362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_104_IDI_48)		+= gpio-104-idi-48.o
2462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_104_IDIO_16)		+= gpio-104-idio-16.o
2562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_74X164)		+= gpio-74x164.o
2662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_74XX_MMIO)		+= gpio-74xx-mmio.o
2762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ADNP)			+= gpio-adnp.o
2862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ADP5520)		+= gpio-adp5520.o
2962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_AGGREGATOR)		+= gpio-aggregator.o
3062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ALTERA_A10SR)		+= gpio-altera-a10sr.o
3162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ALTERA)  		+= gpio-altera.o
3262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_AMD8111)		+= gpio-amd8111.o
3362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_AMD_FCH)		+= gpio-amd-fch.o
3462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_AMDPT)		+= gpio-amdpt.o
3562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ARIZONA)		+= gpio-arizona.o
3662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ASPEED)		+= gpio-aspeed.o
3762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ASPEED_SGPIO)		+= gpio-aspeed-sgpio.o
3862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ATH79)		+= gpio-ath79.o
3962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_BCM_KONA)		+= gpio-bcm-kona.o
4062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_BCM_XGS_IPROC)	+= gpio-xgs-iproc.o
4162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_BD71815)		+= gpio-bd71815.o
4262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_BD71828)		+= gpio-bd71828.o
4362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_BD9571MWV)		+= gpio-bd9571mwv.o
4462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_BRCMSTB)		+= gpio-brcmstb.o
4562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_BT8XX)		+= gpio-bt8xx.o
4662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_CADENCE)		+= gpio-cadence.o
4762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_CLPS711X)		+= gpio-clps711x.o
4862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SNPS_CREG)		+= gpio-creg-snps.o
4962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_CRYSTAL_COVE)		+= gpio-crystalcove.o
5062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_CS5535)		+= gpio-cs5535.o
5162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_DA9052)		+= gpio-da9052.o
5262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_DA9055)		+= gpio-da9055.o
5362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_DAVINCI)		+= gpio-davinci.o
5462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_DLN2)			+= gpio-dln2.o
5562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_DS4520)		+= gpio-ds4520.o
5662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_DWAPB)		+= gpio-dwapb.o
5762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_EIC_SPRD)		+= gpio-eic-sprd.o
5862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ELKHARTLAKE)		+= gpio-elkhartlake.o
5962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_EM)			+= gpio-em.o
6062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_EN7523)		+= gpio-en7523.o
6162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_EP93XX)		+= gpio-ep93xx.o
6262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_EXAR)			+= gpio-exar.o
6362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_F7188X)		+= gpio-f7188x.o
6462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_FTGPIO010)		+= gpio-ftgpio010.o
6562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_FXL6408)		+= gpio-fxl6408.o
6662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_GE_FPGA)		+= gpio-ge.o
6762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_GPIO_MM)		+= gpio-gpio-mm.o
6862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_GRGPIO)		+= gpio-grgpio.o
6962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_GW_PLD)		+= gpio-gw-pld.o
7062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_HISI)                 += gpio-hisi.o
7162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_HLWD)			+= gpio-hlwd.o
7262306a36Sopenharmony_ciobj-$(CONFIG_HTC_EGPIO)			+= gpio-htc-egpio.o
7362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_I8255)		+= gpio-i8255.o
7462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ICH)			+= gpio-ich.o
7562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_IDIO_16)		+= gpio-idio-16.o
7662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_IDT3243X)		+= gpio-idt3243x.o
7762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_IMX_SCU)		+= gpio-imx-scu.o
7862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_IT87)			+= gpio-it87.o
7962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_IXP4XX)		+= gpio-ixp4xx.o
8062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_JANZ_TTL)		+= gpio-janz-ttl.o
8162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_KEMPLD)		+= gpio-kempld.o
8262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_LATCH)		+= gpio-latch.o
8362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_LJCA) 		+= gpio-ljca.o
8462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_LOGICVC)		+= gpio-logicvc.o
8562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_LOONGSON1)		+= gpio-loongson1.o
8662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_LOONGSON)		+= gpio-loongson.o
8762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_LOONGSON_64BIT)	+= gpio-loongson-64bit.o
8862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_LP3943)		+= gpio-lp3943.o
8962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_LP873X)		+= gpio-lp873x.o
9062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_LP87565)		+= gpio-lp87565.o
9162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_LPC18XX)		+= gpio-lpc18xx.o
9262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_LPC32XX)		+= gpio-lpc32xx.o
9362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MADERA)		+= gpio-madera.o
9462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MAX3191X)		+= gpio-max3191x.o
9562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MAX7300)		+= gpio-max7300.o
9662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MAX7301)		+= gpio-max7301.o
9762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MAX730X)		+= gpio-max730x.o
9862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MAX732X)		+= gpio-max732x.o
9962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MAX77620)		+= gpio-max77620.o
10062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MAX77650)		+= gpio-max77650.o
10162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MB86S7X)		+= gpio-mb86s7x.o
10262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MC33880)		+= gpio-mc33880.o
10362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MENZ127)		+= gpio-menz127.o
10462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MERRIFIELD)		+= gpio-merrifield.o
10562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ML_IOH)		+= gpio-ml-ioh.o
10662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MLXBF)		+= gpio-mlxbf.o
10762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MLXBF2)		+= gpio-mlxbf2.o
10862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MLXBF3)		+= gpio-mlxbf3.o
10962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MM_LANTIQ)		+= gpio-mm-lantiq.o
11062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MOCKUP)		+= gpio-mockup.o
11162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MOXTET)		+= gpio-moxtet.o
11262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MPC5200)		+= gpio-mpc5200.o
11362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MPC8XXX)		+= gpio-mpc8xxx.o
11462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MSC313)		+= gpio-msc313.o
11562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MT7621)		+= gpio-mt7621.o
11662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MVEBU)		+= gpio-mvebu.o
11762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MXC)			+= gpio-mxc.o
11862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_MXS)			+= gpio-mxs.o
11962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_OCTEON)		+= gpio-octeon.o
12062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_OMAP)			+= gpio-omap.o
12162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_PALMAS)		+= gpio-palmas.o
12262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_PCA953X)		+= gpio-pca953x.o
12362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_PCA9570)		+= gpio-pca9570.o
12462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_PCF857X)		+= gpio-pcf857x.o
12562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_PCH)			+= gpio-pch.o
12662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_PCIE_IDIO_24)		+= gpio-pcie-idio-24.o
12762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_PCI_IDIO_16)		+= gpio-pci-idio-16.o
12862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_PISOSR)		+= gpio-pisosr.o
12962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_PL061)		+= gpio-pl061.o
13062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_PMIC_EIC_SPRD)	+= gpio-pmic-eic-sprd.o
13162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_PXA)			+= gpio-pxa.o
13262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_RASPBERRYPI_EXP)	+= gpio-raspberrypi-exp.o
13362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_RC5T583)		+= gpio-rc5t583.o
13462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_RCAR)			+= gpio-rcar.o
13562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_RDA)			+= gpio-rda.o
13662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_RDC321X)		+= gpio-rdc321x.o
13762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_REALTEK_OTTO)		+= gpio-realtek-otto.o
13862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_REG)			+= gpio-reg.o
13962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ROCKCHIP)	+= gpio-rockchip.o
14062306a36Sopenharmony_ciobj-$(CONFIG_ARCH_SA1100)		+= gpio-sa1100.o
14162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SAMA5D2_PIOBU)	+= gpio-sama5d2-piobu.o
14262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SCH311X)		+= gpio-sch311x.o
14362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SCH)			+= gpio-sch.o
14462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SIFIVE)		+= gpio-sifive.o
14562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SIM)			+= gpio-sim.o
14662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SIOX)			+= gpio-siox.o
14762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SL28CPLD)		+= gpio-sl28cpld.o
14862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SODAVILLE)		+= gpio-sodaville.o
14962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SPEAR_SPICS)		+= gpio-spear-spics.o
15062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SPRD)			+= gpio-sprd.o
15162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_STMPE)		+= gpio-stmpe.o
15262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_STP_XWAY)		+= gpio-stp-xway.o
15362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_SYSCON)		+= gpio-syscon.o
15462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TANGIER)		+= gpio-tangier.o
15562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TB10X)		+= gpio-tb10x.o
15662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TC3589X)		+= gpio-tc3589x.o
15762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TEGRA186)		+= gpio-tegra186.o
15862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TEGRA)		+= gpio-tegra.o
15962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_THUNDERX)		+= gpio-thunderx.o
16062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TIMBERDALE)		+= gpio-timberdale.o
16162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TN48M_CPLD)		+= gpio-tn48m.o
16262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TPIC2810)		+= gpio-tpic2810.o
16362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TPS65086)		+= gpio-tps65086.o
16462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TPS65218)		+= gpio-tps65218.o
16562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TPS65219)		+= gpio-tps65219.o
16662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TPS6586X)		+= gpio-tps6586x.o
16762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TPS65910)		+= gpio-tps65910.o
16862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TPS65912)		+= gpio-tps65912.o
16962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TPS68470)		+= gpio-tps68470.o
17062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TQMX86)		+= gpio-tqmx86.o
17162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TS4800)		+= gpio-ts4800.o
17262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TS4900)		+= gpio-ts4900.o
17362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TS5500)		+= gpio-ts5500.o
17462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TWL4030)		+= gpio-twl4030.o
17562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_TWL6040)		+= gpio-twl6040.o
17662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_UNIPHIER)		+= gpio-uniphier.o
17762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_VF610)		+= gpio-vf610.o
17862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_VIPERBOARD)		+= gpio-viperboard.o
17962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_VIRTIO)		+= gpio-virtio.o
18062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_VISCONTI)		+= gpio-visconti.o
18162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_VX855)		+= gpio-vx855.o
18262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_WCD934X)		+= gpio-wcd934x.o
18362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_WHISKEY_COVE)		+= gpio-wcove.o
18462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_WINBOND)		+= gpio-winbond.o
18562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_WM831X)		+= gpio-wm831x.o
18662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_WM8350)		+= gpio-wm8350.o
18762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_WM8994)		+= gpio-wm8994.o
18862306a36Sopenharmony_ciobj-$(CONFIG_GPIO_WS16C48)		+= gpio-ws16c48.o
18962306a36Sopenharmony_ciobj-$(CONFIG_GPIO_XGENE)		+= gpio-xgene.o
19062306a36Sopenharmony_ciobj-$(CONFIG_GPIO_XGENE_SB)		+= gpio-xgene-sb.o
19162306a36Sopenharmony_ciobj-$(CONFIG_GPIO_XILINX)		+= gpio-xilinx.o
19262306a36Sopenharmony_ciobj-$(CONFIG_GPIO_XLP)			+= gpio-xlp.o
19362306a36Sopenharmony_ciobj-$(CONFIG_GPIO_XRA1403)		+= gpio-xra1403.o
19462306a36Sopenharmony_ciobj-$(CONFIG_GPIO_XTENSA)		+= gpio-xtensa.o
19562306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ZEVIO)		+= gpio-zevio.o
19662306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ZYNQ)			+= gpio-zynq.o
19762306a36Sopenharmony_ciobj-$(CONFIG_GPIO_ZYNQMP_MODEPIN)	+= gpio-zynqmp-modepin.o
198