blob: 1b0898306f2d86ad0d5bf6563411dbbc585cd653 [file] [log] [blame]
Linus Walleije849dc02011-05-20 00:40:19 -06001# generic gpio support: platform drivers, dedicated expander chips, etc
David Brownella9c5fff2008-02-04 22:28:17 -08002
3ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG
4
Keno Fischerf9c22ec2016-11-15 17:39:02 -05005obj-$(CONFIG_GPIOLIB) += devres.o
Shawn Guo6a89a312013-01-18 15:57:46 +08006obj-$(CONFIG_GPIOLIB) += gpiolib.o
Alexandre Courbot122c94d2014-07-01 14:45:16 +09007obj-$(CONFIG_GPIOLIB) += gpiolib-legacy.o
Grant Likelyf141ed62012-04-07 14:31:33 -06008obj-$(CONFIG_OF_GPIO) += gpiolib-of.o
Alexandre Courbot0eb4c6c2014-07-01 14:45:15 +09009obj-$(CONFIG_GPIO_SYSFS) += gpiolib-sysfs.o
Mathias Nymane29482e2012-11-30 12:37:36 +010010obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o
David Brownelld2876d02008-02-04 22:28:20 -080011
Grant Likelyc103de22011-06-04 18:38:28 -060012# Device drivers. Generally keep list sorted alphabetically
13obj-$(CONFIG_GPIO_GENERIC) += gpio-generic.o
14
Christian Lampartere9f4d562016-04-28 11:05:12 +020015# directly supported by gpio-generic
16gpio-generic-$(CONFIG_GPIO_GENERIC) += gpio-mmio.o
17
William Breathitt Gray1b06d64f2016-01-20 13:50:11 -050018obj-$(CONFIG_GPIO_104_DIO_48E) += gpio-104-dio-48e.o
William Breathitt Gray1ceacea2015-10-19 12:59:14 -040019obj-$(CONFIG_GPIO_104_IDIO_16) += gpio-104-idio-16.o
William Breathitt Gray6ddcf9b2015-11-23 12:54:50 -050020obj-$(CONFIG_GPIO_104_IDI_48) += gpio-104-idi-48.o
Grant Likelyc103de22011-06-04 18:38:28 -060021obj-$(CONFIG_GPIO_74X164) += gpio-74x164.o
Alexander Shiyanaf0a33e2014-10-03 11:31:57 +040022obj-$(CONFIG_GPIO_74XX_MMIO) += gpio-74xx-mmio.o
Thierry Reding5e969a42012-09-18 10:57:10 +020023obj-$(CONFIG_GPIO_ADNP) += gpio-adnp.o
Grant Likelyc103de22011-06-04 18:38:28 -060024obj-$(CONFIG_GPIO_ADP5520) += gpio-adp5520.o
25obj-$(CONFIG_GPIO_ADP5588) += gpio-adp5588.o
Tien Hock Lohc5abbba2015-02-24 01:53:03 -080026obj-$(CONFIG_GPIO_ALTERA) += gpio-altera.o
Dmitry Eremin-Solenikovf942a7d2012-06-01 17:36:31 +040027obj-$(CONFIG_GPIO_AMD8111) += gpio-amd8111.o
YD Tseng6057d402015-10-19 11:07:37 +080028obj-$(CONFIG_GPIO_AMDPT) += gpio-amdpt.o
Mark Brown31ba56f2012-06-23 13:29:25 +010029obj-$(CONFIG_GPIO_ARIZONA) += gpio-arizona.o
Alban Bedelab327702016-01-28 20:44:29 +010030obj-$(CONFIG_GPIO_ATH79) += gpio-ath79.o
Joel Stanley361b7912016-08-30 17:24:27 +093031obj-$(CONFIG_GPIO_ASPEED) += gpio-aspeed.o
Maxime Ripardf72f4b42016-07-20 16:11:36 +020032obj-$(CONFIG_GPIO_AXP209) += gpio-axp209.o
Markus Mayer757651e2013-09-10 11:07:01 -070033obj-$(CONFIG_GPIO_BCM_KONA) += gpio-bcm-kona.o
Gregory Fong3b0213d2015-05-28 19:14:05 -070034obj-$(CONFIG_GPIO_BRCMSTB) += gpio-brcmstb.o
Grant Likelyc103de22011-06-04 18:38:28 -060035obj-$(CONFIG_GPIO_BT8XX) += gpio-bt8xx.o
Alexander Shiyana3b8d4a2012-10-09 20:05:56 +040036obj-$(CONFIG_GPIO_CLPS711X) += gpio-clps711x.o
Grant Likelyc103de22011-06-04 18:38:28 -060037obj-$(CONFIG_GPIO_CS5535) += gpio-cs5535.o
Zhu, Lejun104fb1d2014-06-03 13:26:04 +080038obj-$(CONFIG_GPIO_CRYSTAL_COVE) += gpio-crystalcove.o
ashishj307bfc912011-07-06 16:02:13 +053039obj-$(CONFIG_GPIO_DA9052) += gpio-da9052.o
Ashish Jangam04ed4272012-09-14 19:00:16 +053040obj-$(CONFIG_GPIO_DA9055) += gpio-da9055.o
Grygorii Strashkoee89cf62013-11-21 17:34:36 +020041obj-$(CONFIG_GPIO_DAVINCI) += gpio-davinci.o
Daniel Baluta67321272014-11-06 15:48:05 +020042obj-$(CONFIG_GPIO_DLN2) += gpio-dln2.o
Jamie Iles7779b342014-02-25 17:01:01 -060043obj-$(CONFIG_GPIO_DWAPB) += gpio-dwapb.o
Magnus Damma07e1032012-05-17 15:22:23 +090044obj-$(CONFIG_GPIO_EM) += gpio-em.o
H Hartley Sweetenc6b52c12011-06-01 10:09:19 -070045obj-$(CONFIG_GPIO_EP93XX) += gpio-ep93xx.o
Rabin Vincentd3425712015-06-06 22:30:40 +020046obj-$(CONFIG_GPIO_ETRAXFS) += gpio-etraxfs.o
Simon Guinot6c17aa02013-08-29 22:56:56 +020047obj-$(CONFIG_GPIO_F7188X) += gpio-f7188x.o
Martyn Welch6518bb62012-03-12 17:12:58 +000048obj-$(CONFIG_GPIO_GE_FPGA) += gpio-ge.o
William Breathitt Gray6ea5dcd2016-08-02 09:57:47 -040049obj-$(CONFIG_GPIO_GPIO_MM) += gpio-gpio-mm.o
Andreas Larssonddb27f32013-04-17 14:36:50 +020050obj-$(CONFIG_GPIO_GRGPIO) += gpio-grgpio.o
Linus Walleij3c6e8d02016-09-16 13:48:12 +020051obj-$(CONFIG_HTC_EGPIO) += gpio-htc-egpio.o
Peter Tyser6ed9f9c2012-04-18 09:48:24 -050052obj-$(CONFIG_GPIO_ICH) += gpio-ich.o
Linus Walleije9004f52013-09-09 11:59:51 +020053obj-$(CONFIG_GPIO_IOP) += gpio-iop.o
Diego Elio Pettenòb8664922015-09-21 18:24:24 +020054obj-$(CONFIG_GPIO_IT87) += gpio-it87.o
Grant Likelyc103de22011-06-04 18:38:28 -060055obj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz-ttl.o
Guenter Roeckd22fcde2013-06-23 21:00:05 -070056obj-$(CONFIG_GPIO_KEMPLD) += gpio-kempld.o
Linus Walleij8c9b0432011-12-05 14:47:48 +010057obj-$(CONFIG_ARCH_KS8695) += gpio-ks8695.o
David Cohen84743ea2013-10-04 13:01:41 -070058obj-$(CONFIG_GPIO_INTEL_MID) += gpio-intel-mid.o
Huacai Chen991ff4e2015-04-01 10:20:08 +080059obj-$(CONFIG_GPIO_LOONGSON) += gpio-loongson.o
Milo Kim0cc59b92013-12-06 11:18:42 +090060obj-$(CONFIG_GPIO_LP3943) += gpio-lp3943.o
Joachim Eastwood13a43fd2015-05-02 23:11:34 +020061obj-$(CONFIG_GPIO_LPC18XX) += gpio-lpc18xx.o
Linus Walleijf80cb522011-08-22 08:44:45 +010062obj-$(CONFIG_ARCH_LPC32XX) += gpio-lpc32xx.o
Keerthy83f14102016-08-31 14:28:11 +053063obj-$(CONFIG_GPIO_LP873X) += gpio-lp873x.o
Mathias Nyman1d09aaa2012-12-12 17:42:38 +020064obj-$(CONFIG_GPIO_LYNXPOINT) += gpio-lynxpoint.o
Grant Likelyc103de22011-06-04 18:38:28 -060065obj-$(CONFIG_GPIO_MAX730X) += gpio-max730x.o
66obj-$(CONFIG_GPIO_MAX7300) += gpio-max7300.o
67obj-$(CONFIG_GPIO_MAX7301) += gpio-max7301.o
68obj-$(CONFIG_GPIO_MAX732X) += gpio-max732x.o
Laxman Dewangan02c5ba12016-05-13 10:49:14 +053069obj-$(CONFIG_GPIO_MAX77620) += gpio-max77620.o
Jassi Brar0da094d2015-01-19 18:35:53 +080070obj-$(CONFIG_GPIO_MB86S7X) += gpio-mb86s7x.o
Andreas Wernerf436bc22016-02-29 19:44:43 +010071obj-$(CONFIG_GPIO_MENZ127) += gpio-menz127.o
Andy Shevchenkoccf6fd62016-07-08 14:08:23 +030072obj-$(CONFIG_GPIO_MERRIFIELD) += gpio-merrifield.o
Grant Likelyc103de22011-06-04 18:38:28 -060073obj-$(CONFIG_GPIO_MC33880) += gpio-mc33880.o
wu guoxing608589b2012-01-30 14:31:20 +080074obj-$(CONFIG_GPIO_MC9S08DZ60) += gpio-mc9s08dz60.o
Grant Likelyc103de22011-06-04 18:38:28 -060075obj-$(CONFIG_GPIO_MCP23S08) += gpio-mcp23s08.o
76obj-$(CONFIG_GPIO_ML_IOH) += gpio-ml-ioh.o
John Crispin5238f7b2012-05-11 18:48:39 +020077obj-$(CONFIG_GPIO_MM_LANTIQ) += gpio-mm-lantiq.o
Bamvor Jian Zhang0f98dd12016-08-31 11:45:46 +020078obj-$(CONFIG_GPIO_MOCKUP) += gpio-mockup.o
Jonas Jensen0299b772013-11-29 12:11:34 +010079obj-$(CONFIG_GPIO_MOXART) += gpio-moxart.o
Grant Likely6eae1ac2011-07-06 11:54:19 -060080obj-$(CONFIG_GPIO_MPC5200) += gpio-mpc5200.o
Wolfram Sangc68308d2011-09-21 12:49:20 +020081obj-$(CONFIG_GPIO_MPC8XXX) += gpio-mpc8xxx.o
Mathias Nyman25cf2502012-04-24 11:02:49 +010082obj-$(CONFIG_GPIO_MSIC) += gpio-msic.o
Thomas Petazzonifefe7b02012-09-19 22:52:58 +020083obj-$(CONFIG_GPIO_MVEBU) += gpio-mvebu.o
Shawn Guod37a65b2011-06-06 00:07:54 +080084obj-$(CONFIG_GPIO_MXC) += gpio-mxc.o
Grant Likely7b2fa572011-06-06 09:37:58 -060085obj-$(CONFIG_GPIO_MXS) += gpio-mxs.o
David Daneyaca58a62013-07-29 14:29:10 -070086obj-$(CONFIG_GPIO_OCTEON) += gpio-octeon.o
Javier Martinez Canillascd0a3742014-04-06 16:58:15 +020087obj-$(CONFIG_GPIO_OMAP) += gpio-omap.o
Grant Likelyc103de22011-06-04 18:38:28 -060088obj-$(CONFIG_GPIO_PCA953X) += gpio-pca953x.o
89obj-$(CONFIG_GPIO_PCF857X) += gpio-pcf857x.o
90obj-$(CONFIG_GPIO_PCH) += gpio-pch.o
Andrew F. Davisdf6df932016-01-25 10:37:31 -060091obj-$(CONFIG_GPIO_PISOSR) += gpio-pisosr.o
Grant Likelyc103de22011-06-04 18:38:28 -060092obj-$(CONFIG_GPIO_PL061) += gpio-pl061.o
Haojian Zhuang157d2642011-10-17 20:37:52 +080093obj-$(CONFIG_GPIO_PXA) += gpio-pxa.o
Laxman Dewangane9fe32b2012-05-14 12:46:12 +053094obj-$(CONFIG_GPIO_RC5T583) += gpio-rc5t583.o
Grant Likelyc103de22011-06-04 18:38:28 -060095obj-$(CONFIG_GPIO_RDC321X) += gpio-rdc321x.o
Magnus Damm119f5e42013-03-13 20:32:13 +090096obj-$(CONFIG_GPIO_RCAR) += gpio-rcar.o
Linus Walleij24288352011-08-22 08:49:07 +010097obj-$(CONFIG_ARCH_SA1100) += gpio-sa1100.o
Grant Likelyc103de22011-06-04 18:38:28 -060098obj-$(CONFIG_GPIO_SCH) += gpio-sch.o
Bruno Randolf12262be2013-12-04 23:56:43 +000099obj-$(CONFIG_GPIO_SCH311X) += gpio-sch311x.o
Sebastian Andrzej Siewiorb43ab902011-06-27 09:26:23 +0200100obj-$(CONFIG_GPIO_SODAVILLE) += gpio-sodaville.o
Shiraz Hashimb53bc282012-11-16 10:45:25 +0530101obj-$(CONFIG_GPIO_SPEAR_SPICS) += gpio-spear-spics.o
Alessandro Rubini7b0d44f32012-04-12 10:48:55 +0200102obj-$(CONFIG_GPIO_STA2X11) += gpio-sta2x11.o
Grant Likelyc103de22011-06-04 18:38:28 -0600103obj-$(CONFIG_GPIO_STMPE) += gpio-stmpe.o
John Crispin5238f7b2012-05-11 18:48:39 +0200104obj-$(CONFIG_GPIO_STP_XWAY) += gpio-stp-xway.o
Grant Likelyc103de22011-06-04 18:38:28 -0600105obj-$(CONFIG_GPIO_SX150X) += gpio-sx150x.o
Alexander Shiyan6a8a0c12014-03-11 21:55:14 +0400106obj-$(CONFIG_GPIO_SYSCON) += gpio-syscon.o
Christian Ruppertc6ce2b62013-10-08 14:25:22 +0200107obj-$(CONFIG_GPIO_TB10X) += gpio-tb10x.o
Grant Likelyc103de22011-06-04 18:38:28 -0600108obj-$(CONFIG_GPIO_TC3589X) += gpio-tc3589x.o
Alexander Stein4dd4dd12016-02-24 20:54:32 +0100109obj-$(CONFIG_GPIO_TEGRA) += gpio-tegra.o
Grant Likelyc103de22011-06-04 18:38:28 -0600110obj-$(CONFIG_GPIO_TIMBERDALE) += gpio-timberdale.o
Laxman Dewangan3d50a272013-01-03 16:16:59 +0530111obj-$(CONFIG_GPIO_PALMAS) += gpio-palmas.o
Andrew F. Davisb8665262016-01-25 10:14:12 -0600112obj-$(CONFIG_GPIO_TPIC2810) += gpio-tpic2810.o
Andrew F. Davis99f0fd52016-02-06 10:12:10 -0600113obj-$(CONFIG_GPIO_TPS65086) += gpio-tps65086.o
Nicolas Saenz Juliennec366c762016-01-30 17:06:44 +0000114obj-$(CONFIG_GPIO_TPS65218) += gpio-tps65218.o
Laxman Dewangan72bd9862012-07-18 11:50:48 +0530115obj-$(CONFIG_GPIO_TPS6586X) += gpio-tps6586x.o
Grant Likelyc103de22011-06-04 18:38:28 -0600116obj-$(CONFIG_GPIO_TPS65910) += gpio-tps65910.o
Margarita Olaya668a6cc2011-06-09 14:50:19 -0500117obj-$(CONFIG_GPIO_TPS65912) += gpio-tps65912.o
Julien Grossholtz5041e792016-01-13 11:57:43 -0500118obj-$(CONFIG_GPIO_TS4800) += gpio-ts4800.o
Lucile Quirion9c668632016-08-12 11:16:49 -0400119obj-$(CONFIG_GPIO_TS4900) += gpio-ts4900.o
Vivien Didelot759f5f32012-12-07 21:36:34 -0500120obj-$(CONFIG_GPIO_TS5500) += gpio-ts5500.o
Grant Likelyc103de22011-06-04 18:38:28 -0600121obj-$(CONFIG_GPIO_TWL4030) += gpio-twl4030.o
Peter Ujfalusi70ffd692012-08-16 15:13:15 +0300122obj-$(CONFIG_GPIO_TWL6040) += gpio-twl6040.o
James Hogan9caf1f22013-06-25 15:27:43 +0100123obj-$(CONFIG_GPIO_TZ1090) += gpio-tz1090.o
James Hogan79bb6462013-06-25 15:27:44 +0100124obj-$(CONFIG_GPIO_TZ1090_PDC) += gpio-tz1090-pdc.o
Grant Likelyc103de22011-06-04 18:38:28 -0600125obj-$(CONFIG_GPIO_UCB1400) += gpio-ucb1400.o
Stefan Agner7f2691a2014-10-16 21:47:58 +0200126obj-$(CONFIG_GPIO_VF610) += gpio-vf610.o
Lars Poeschel9d5b72d2012-11-05 15:48:24 +0100127obj-$(CONFIG_GPIO_VIPERBOARD) += gpio-viperboard.o
Grant Likelyc103de22011-06-04 18:38:28 -0600128obj-$(CONFIG_GPIO_VR41XX) += gpio-vr41xx.o
129obj-$(CONFIG_GPIO_VX855) += gpio-vx855.o
Bin Gao0ba19cf2016-07-25 14:59:38 -0700130obj-$(CONFIG_GPIO_WHISKEY_COVE) += gpio-wcove.o
Grant Likelyc103de22011-06-04 18:38:28 -0600131obj-$(CONFIG_GPIO_WM831X) += gpio-wm831x.o
132obj-$(CONFIG_GPIO_WM8350) += gpio-wm8350.o
133obj-$(CONFIG_GPIO_WM8994) += gpio-wm8994.o
William Breathitt Gray9c26df92016-01-20 13:45:33 -0500134obj-$(CONFIG_GPIO_WS16C48) += gpio-ws16c48.o
Feng Kan29cbf452014-07-31 12:03:25 -0700135obj-$(CONFIG_GPIO_XGENE) += gpio-xgene.o
Y Vob2b35e12015-01-16 14:34:19 +0700136obj-$(CONFIG_GPIO_XGENE_SB) += gpio-xgene-sb.o
Grant Likelyc103de22011-06-04 18:38:28 -0600137obj-$(CONFIG_GPIO_XILINX) += gpio-xilinx.o
Kamlakant Patelff718802015-04-28 20:10:45 +0530138obj-$(CONFIG_GPIO_XLP) += gpio-xlp.o
Baruch Siach3b31d0e2013-12-12 11:18:41 +0200139obj-$(CONFIG_GPIO_XTENSA) += gpio-xtensa.o
Fabian Vogt9af4d802014-02-24 20:54:58 +0100140obj-$(CONFIG_GPIO_ZEVIO) += gpio-zevio.o
Harini Katakam3242ba12014-07-08 16:32:35 +0530141obj-$(CONFIG_GPIO_ZYNQ) += gpio-zynq.o
Jun Niee7aa6d82015-06-29 10:35:57 +0800142obj-$(CONFIG_GPIO_ZX) += gpio-zx.o
Kelvin Cheungbd37c992016-04-06 20:34:53 +0800143obj-$(CONFIG_GPIO_LOONGSON1) += gpio-loongson1.o
Karthikeyan Ramasubramanian97a10282016-09-16 12:01:18 -0600144obj-$(CONFIG_MSM_SMP2P) += gpio-msm-smp2p.o
145obj-$(CONFIG_MSM_SMP2P_TEST) += gpio-msm-smp2p-test.o