1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2e849dc04SLinus Walleij# generic gpio support: platform drivers, dedicated expander chips, etc 3a9c5fff5SDavid Brownell 4a9c5fff5SDavid Brownellccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG 5a9c5fff5SDavid Brownell 66a89a314SShawn Guoobj-$(CONFIG_GPIOLIB) += gpiolib.o 732d064a1SLinus Walleijobj-$(CONFIG_GPIOLIB) += gpiolib-devres.o 8122c94deSAlexandre Courbotobj-$(CONFIG_GPIOLIB) += gpiolib-legacy.o 99427ecbeSMika Westerbergobj-$(CONFIG_GPIOLIB) += gpiolib-devprop.o 10f141ed65SGrant Likelyobj-$(CONFIG_OF_GPIO) += gpiolib-of.o 110eb4c6c2SAlexandre Courbotobj-$(CONFIG_GPIO_SYSFS) += gpiolib-sysfs.o 12e29482e8SMathias Nymanobj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o 13d2876d08SDavid Brownell 14c103de24SGrant Likely# Device drivers. Generally keep list sorted alphabetically 15c103de24SGrant Likelyobj-$(CONFIG_GPIO_GENERIC) += gpio-generic.o 16c103de24SGrant Likely 17e9f4d569SChristian Lamparter# directly supported by gpio-generic 18e9f4d569SChristian Lampartergpio-generic-$(CONFIG_GPIO_GENERIC) += gpio-mmio.o 19e9f4d569SChristian Lamparter 201b06d64fSWilliam Breathitt Grayobj-$(CONFIG_GPIO_104_DIO_48E) += gpio-104-dio-48e.o 216ddcf9b4SWilliam Breathitt Grayobj-$(CONFIG_GPIO_104_IDI_48) += gpio-104-idi-48.o 22db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_104_IDIO_16) += gpio-104-idio-16.o 23c103de24SGrant Likelyobj-$(CONFIG_GPIO_74X164) += gpio-74x164.o 24af0a33e2SAlexander Shiyanobj-$(CONFIG_GPIO_74XX_MMIO) += gpio-74xx-mmio.o 255e969a40SThierry Redingobj-$(CONFIG_GPIO_ADNP) += gpio-adnp.o 26c103de24SGrant Likelyobj-$(CONFIG_GPIO_ADP5520) += gpio-adp5520.o 27c103de24SGrant Likelyobj-$(CONFIG_GPIO_ADP5588) += gpio-adp5588.o 2826a48c4cSThor Thayerobj-$(CONFIG_GPIO_ALTERA_A10SR) += gpio-altera-a10sr.o 29db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_ALTERA) += gpio-altera.o 30f942a7deSDmitry Eremin-Solenikovobj-$(CONFIG_GPIO_AMD8111) += gpio-amd8111.o 31db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_AMD_FCH) += gpio-amd-fch.o 326057d40fSYD Tsengobj-$(CONFIG_GPIO_AMDPT) += gpio-amdpt.o 3331ba56f2SMark Brownobj-$(CONFIG_GPIO_ARIZONA) += gpio-arizona.o 34361b7911SJoel Stanleyobj-$(CONFIG_GPIO_ASPEED) += gpio-aspeed.o 35db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_ATH79) += gpio-ath79.o 36757651e3SMarkus Mayerobj-$(CONFIG_GPIO_BCM_KONA) += gpio-bcm-kona.o 3718bc64b3SMatti Vaittinenobj-$(CONFIG_GPIO_BD70528) += gpio-bd70528.o 3893847930SMarek Vasutobj-$(CONFIG_GPIO_BD9571MWV) += gpio-bd9571mwv.o 393b0213d5SGregory Fongobj-$(CONFIG_GPIO_BRCMSTB) += gpio-brcmstb.o 40c103de24SGrant Likelyobj-$(CONFIG_GPIO_BT8XX) += gpio-bt8xx.o 4172ab2f76SJan Kotasobj-$(CONFIG_GPIO_CADENCE) += gpio-cadence.o 42a3b8d4a5SAlexander Shiyanobj-$(CONFIG_GPIO_CLPS711X) += gpio-clps711x.o 43db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_SNPS_CREG) += gpio-creg-snps.o 44104fb1d5SZhu, Lejunobj-$(CONFIG_GPIO_CRYSTAL_COVE) += gpio-crystalcove.o 45db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_CS5535) += gpio-cs5535.o 4607bfc915Sashishj3obj-$(CONFIG_GPIO_DA9052) += gpio-da9052.o 4704ed4279SAshish Jangamobj-$(CONFIG_GPIO_DA9055) += gpio-da9055.o 48ee89cf63SGrygorii Strashkoobj-$(CONFIG_GPIO_DAVINCI) += gpio-davinci.o 496732127fSDaniel Balutaobj-$(CONFIG_GPIO_DLN2) += gpio-dln2.o 507779b345SJamie Ilesobj-$(CONFIG_GPIO_DWAPB) += gpio-dwapb.o 5125518e02SBaolin Wangobj-$(CONFIG_GPIO_EIC_SPRD) += gpio-eic-sprd.o 52a07e103eSMagnus Dammobj-$(CONFIG_GPIO_EM) += gpio-em.o 53c6b52c13SH Hartley Sweetenobj-$(CONFIG_GPIO_EP93XX) += gpio-ep93xx.o 546596e59eSSudip Mukherjeeobj-$(CONFIG_GPIO_EXAR) += gpio-exar.o 556c17aa01SSimon Guinotobj-$(CONFIG_GPIO_F7188X) += gpio-f7188x.o 569d3a15aaSLinus Walleijobj-$(CONFIG_GPIO_FTGPIO010) += gpio-ftgpio010.o 576518bb69SMartyn Welchobj-$(CONFIG_GPIO_GE_FPGA) += gpio-ge.o 586ea5dcdfSWilliam Breathitt Grayobj-$(CONFIG_GPIO_GPIO_MM) += gpio-gpio-mm.o 59ddb27f3bSAndreas Larssonobj-$(CONFIG_GPIO_GRGPIO) += gpio-grgpio.o 602a0b0a57SLinus Walleijobj-$(CONFIG_GPIO_GW_PLD) += gpio-gw-pld.o 618f55fed3SJonathan Neuschäferobj-$(CONFIG_GPIO_HLWD) += gpio-hlwd.o 623c6e8d05SLinus Walleijobj-$(CONFIG_HTC_EGPIO) += gpio-htc-egpio.o 636ed9f9c4SPeter Tyserobj-$(CONFIG_GPIO_ICH) += gpio-ich.o 64db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_INTEL_MID) += gpio-intel-mid.o 65e9004f50SLinus Walleijobj-$(CONFIG_GPIO_IOP) += gpio-iop.o 66b8664924SDiego Elio Pettenòobj-$(CONFIG_GPIO_IT87) += gpio-it87.o 67db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_IXP4XX) += gpio-ixp4xx.o 68c103de24SGrant Likelyobj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz-ttl.o 69d22fcde0SGuenter Roeckobj-$(CONFIG_GPIO_KEMPLD) += gpio-kempld.o 708c9b0434SLinus Walleijobj-$(CONFIG_ARCH_KS8695) += gpio-ks8695.o 71db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_LOONGSON1) += gpio-loongson1.o 72991ff4e3SHuacai Chenobj-$(CONFIG_GPIO_LOONGSON) += gpio-loongson.o 730cc59b9dSMilo Kimobj-$(CONFIG_GPIO_LP3943) += gpio-lp3943.o 7483f14103SKeerthyobj-$(CONFIG_GPIO_LP873X) += gpio-lp873x.o 755c7f2c76SKeerthyobj-$(CONFIG_GPIO_LP87565) += gpio-lp87565.o 76db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_LPC18XX) += gpio-lpc18xx.o 77*f2ee7314SArnd Bergmannobj-$(CONFIG_GPIO_LPC32XX) += gpio-lpc32xx.o 781d09aaa6SMathias Nymanobj-$(CONFIG_GPIO_LYNXPOINT) += gpio-lynxpoint.o 79aca429ffSRichard Fitzgeraldobj-$(CONFIG_GPIO_MADERA) += gpio-madera.o 80b2f68edfSLukas Wunnerobj-$(CONFIG_GPIO_MAX3191X) += gpio-max3191x.o 81c103de24SGrant Likelyobj-$(CONFIG_GPIO_MAX7300) += gpio-max7300.o 82c103de24SGrant Likelyobj-$(CONFIG_GPIO_MAX7301) += gpio-max7301.o 83db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_MAX730X) += gpio-max730x.o 84c103de24SGrant Likelyobj-$(CONFIG_GPIO_MAX732X) += gpio-max732x.o 8502c5ba1eSLaxman Dewanganobj-$(CONFIG_GPIO_MAX77620) += gpio-max77620.o 8672b5135bSBartosz Golaszewskiobj-$(CONFIG_GPIO_MAX77650) += gpio-max77650.o 870da094d8SJassi Brarobj-$(CONFIG_GPIO_MB86S7X) += gpio-mb86s7x.o 88c103de24SGrant Likelyobj-$(CONFIG_GPIO_MC33880) += gpio-mc33880.o 89608589b1Swu guoxingobj-$(CONFIG_GPIO_MC9S08DZ60) += gpio-mc9s08dz60.o 90db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_MENZ127) += gpio-menz127.o 91db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_MERRIFIELD) += gpio-merrifield.o 92c103de24SGrant Likelyobj-$(CONFIG_GPIO_ML_IOH) += gpio-ml-ioh.o 93db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_MLXBF) += gpio-mlxbf.o 945238f7bcSJohn Crispinobj-$(CONFIG_GPIO_MM_LANTIQ) += gpio-mm-lantiq.o 950f98dd1bSBamvor Jian Zhangobj-$(CONFIG_GPIO_MOCKUP) += gpio-mockup.o 966eae1aceSGrant Likelyobj-$(CONFIG_GPIO_MPC5200) += gpio-mpc5200.o 97c68308ddSWolfram Sangobj-$(CONFIG_GPIO_MPC8XXX) += gpio-mpc8xxx.o 9825cf2507SMathias Nymanobj-$(CONFIG_GPIO_MSIC) += gpio-msic.o 994ba9c3afSSergio Paracuellosobj-$(CONFIG_GPIO_MT7621) += gpio-mt7621.o 100fefe7b09SThomas Petazzoniobj-$(CONFIG_GPIO_MVEBU) += gpio-mvebu.o 101d37a65bbSShawn Guoobj-$(CONFIG_GPIO_MXC) += gpio-mxc.o 1027b2fa570SGrant Likelyobj-$(CONFIG_GPIO_MXS) += gpio-mxs.o 103aca58a66SDavid Daneyobj-$(CONFIG_GPIO_OCTEON) += gpio-octeon.o 104cd0a3748SJavier Martinez Canillasobj-$(CONFIG_GPIO_OMAP) += gpio-omap.o 105db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_PALMAS) += gpio-palmas.o 106c103de24SGrant Likelyobj-$(CONFIG_GPIO_PCA953X) += gpio-pca953x.o 107c103de24SGrant Likelyobj-$(CONFIG_GPIO_PCF857X) += gpio-pcf857x.o 108c103de24SGrant Likelyobj-$(CONFIG_GPIO_PCH) += gpio-pch.o 10958556204SWilliam Breathitt Grayobj-$(CONFIG_GPIO_PCIE_IDIO_24) += gpio-pcie-idio-24.o 110db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_PCI_IDIO_16) += gpio-pci-idio-16.o 111df6df93cSAndrew F. Davisobj-$(CONFIG_GPIO_PISOSR) += gpio-pisosr.o 112c103de24SGrant Likelyobj-$(CONFIG_GPIO_PL061) += gpio-pl061.o 113348f3cdeSBaolin Wangobj-$(CONFIG_GPIO_PMIC_EIC_SPRD) += gpio-pmic-eic-sprd.o 114157d2644SHaojian Zhuangobj-$(CONFIG_GPIO_PXA) += gpio-pxa.o 115db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_RASPBERRYPI_EXP) += gpio-raspberrypi-exp.o 116e9fe32bcSLaxman Dewanganobj-$(CONFIG_GPIO_RC5T583) += gpio-rc5t583.o 117119f5e44SMagnus Dammobj-$(CONFIG_GPIO_RCAR) += gpio-rcar.o 118db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_RDC321X) += gpio-rdc321x.o 119380639c7SRussell Kingobj-$(CONFIG_GPIO_REG) += gpio-reg.o 1202428835fSLinus Walleijobj-$(CONFIG_ARCH_SA1100) += gpio-sa1100.o 121fb0b35d3SAndrei.Stefanescu@microchip.comobj-$(CONFIG_GPIO_SAMA5D2_PIOBU) += gpio-sama5d2-piobu.o 12212262befSBruno Randolfobj-$(CONFIG_GPIO_SCH311X) += gpio-sch311x.o 123db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_SCH) += gpio-sch.o 124db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_SIOX) += gpio-siox.o 125b43ab901SSebastian Andrzej Siewiorobj-$(CONFIG_GPIO_SODAVILLE) += gpio-sodaville.o 126b53bc281SShiraz Hashimobj-$(CONFIG_GPIO_SPEAR_SPICS) += gpio-spear-spics.o 1279a3821c2SBaolin Wangobj-$(CONFIG_GPIO_SPRD) += gpio-sprd.o 1287b0d44f3SAlessandro Rubiniobj-$(CONFIG_GPIO_STA2X11) += gpio-sta2x11.o 129c103de24SGrant Likelyobj-$(CONFIG_GPIO_STMPE) += gpio-stmpe.o 1305238f7bcSJohn Crispinobj-$(CONFIG_GPIO_STP_XWAY) += gpio-stp-xway.o 1316a8a0c1dSAlexander Shiyanobj-$(CONFIG_GPIO_SYSCON) += gpio-syscon.o 132c6ce2b6bSChristian Ruppertobj-$(CONFIG_GPIO_TB10X) += gpio-tb10x.o 133c103de24SGrant Likelyobj-$(CONFIG_GPIO_TC3589X) += gpio-tc3589x.o 1345b2b135aSThierry Redingobj-$(CONFIG_GPIO_TEGRA186) += gpio-tegra186.o 135db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_TEGRA) += gpio-tegra.o 1365a2a3002SDavid Daneyobj-$(CONFIG_GPIO_THUNDERX) += gpio-thunderx.o 137c103de24SGrant Likelyobj-$(CONFIG_GPIO_TIMBERDALE) += gpio-timberdale.o 138b866526dSAndrew F. Davisobj-$(CONFIG_GPIO_TPIC2810) += gpio-tpic2810.o 13999f0fd54SAndrew F. Davisobj-$(CONFIG_GPIO_TPS65086) += gpio-tps65086.o 140c366c76aSNicolas Saenz Julienneobj-$(CONFIG_GPIO_TPS65218) += gpio-tps65218.o 14172bd9860SLaxman Dewanganobj-$(CONFIG_GPIO_TPS6586X) += gpio-tps6586x.o 142c103de24SGrant Likelyobj-$(CONFIG_GPIO_TPS65910) += gpio-tps65910.o 143668a6cc7SMargarita Olayaobj-$(CONFIG_GPIO_TPS65912) += gpio-tps65912.o 144275b13a6SRajmohan Maniobj-$(CONFIG_GPIO_TPS68470) += gpio-tps68470.o 145b868db94SAndrew Lunnobj-$(CONFIG_GPIO_TQMX86) += gpio-tqmx86.o 1465041e791SJulien Grossholtzobj-$(CONFIG_GPIO_TS4800) += gpio-ts4800.o 1479c668632SLucile Quirionobj-$(CONFIG_GPIO_TS4900) += gpio-ts4900.o 148759f5f37SVivien Didelotobj-$(CONFIG_GPIO_TS5500) += gpio-ts5500.o 149c103de24SGrant Likelyobj-$(CONFIG_GPIO_TWL4030) += gpio-twl4030.o 15070ffd691SPeter Ujfalusiobj-$(CONFIG_GPIO_TWL6040) += gpio-twl6040.o 151c103de24SGrant Likelyobj-$(CONFIG_GPIO_UCB1400) += gpio-ucb1400.o 152dbe776c2SMasahiro Yamadaobj-$(CONFIG_GPIO_UNIPHIER) += gpio-uniphier.o 1537f2691a1SStefan Agnerobj-$(CONFIG_GPIO_VF610) += gpio-vf610.o 1549d5b72deSLars Poeschelobj-$(CONFIG_GPIO_VIPERBOARD) += gpio-viperboard.o 155c103de24SGrant Likelyobj-$(CONFIG_GPIO_VR41XX) += gpio-vr41xx.o 156c103de24SGrant Likelyobj-$(CONFIG_GPIO_VX855) += gpio-vx855.o 1570ba19cfcSBin Gaoobj-$(CONFIG_GPIO_WHISKEY_COVE) += gpio-wcove.o 158a0d65009SMaciej S. Szmigieroobj-$(CONFIG_GPIO_WINBOND) += gpio-winbond.o 159c103de24SGrant Likelyobj-$(CONFIG_GPIO_WM831X) += gpio-wm831x.o 160c103de24SGrant Likelyobj-$(CONFIG_GPIO_WM8350) += gpio-wm8350.o 161c103de24SGrant Likelyobj-$(CONFIG_GPIO_WM8994) += gpio-wm8994.o 1629c26df9bSWilliam Breathitt Grayobj-$(CONFIG_GPIO_WS16C48) += gpio-ws16c48.o 16329cbf458SFeng Kanobj-$(CONFIG_GPIO_XGENE) += gpio-xgene.o 164b2b35e10SY Voobj-$(CONFIG_GPIO_XGENE_SB) += gpio-xgene-sb.o 165c103de24SGrant Likelyobj-$(CONFIG_GPIO_XILINX) += gpio-xilinx.o 166ff718800SKamlakant Patelobj-$(CONFIG_GPIO_XLP) += gpio-xlp.o 1675704520dSNandor Hanobj-$(CONFIG_GPIO_XRA1403) += gpio-xra1403.o 1683b31d0ecSBaruch Siachobj-$(CONFIG_GPIO_XTENSA) += gpio-xtensa.o 1699af4d80bSFabian Vogtobj-$(CONFIG_GPIO_ZEVIO) += gpio-zevio.o 170e7aa6d8cSJun Nieobj-$(CONFIG_GPIO_ZX) += gpio-zx.o 171db16bad6SGeert Uytterhoevenobj-$(CONFIG_GPIO_ZYNQ) += gpio-zynq.o 172