treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / mfd / Makefile
blobb83f172545e1efc93bf1532c867acc3922a72553
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for multifunction miscellaneous devices
6 88pm860x-objs := 88pm860x-core.o 88pm860x-i2c.o
7 obj-$(CONFIG_MFD_88PM860X) += 88pm860x.o
8 obj-$(CONFIG_MFD_88PM800) += 88pm800.o 88pm80x.o
9 obj-$(CONFIG_MFD_88PM805) += 88pm805.o 88pm80x.o
10 obj-$(CONFIG_MFD_ACT8945A) += act8945a.o
11 obj-$(CONFIG_MFD_SM501) += sm501.o
12 obj-$(CONFIG_MFD_ASIC3) += asic3.o tmio_core.o
13 obj-$(CONFIG_ARCH_BCM2835) += bcm2835-pm.o
14 obj-$(CONFIG_MFD_BCM590XX) += bcm590xx.o
15 obj-$(CONFIG_MFD_BD9571MWV) += bd9571mwv.o
16 obj-$(CONFIG_MFD_CROS_EC_DEV) += cros_ec_dev.o
17 obj-$(CONFIG_MFD_EXYNOS_LPASS) += exynos-lpass.o
19 obj-$(CONFIG_HTC_PASIC3) += htc-pasic3.o
20 obj-$(CONFIG_HTC_I2CPLD) += htc-i2cpld.o
22 obj-$(CONFIG_MFD_TI_LP873X) += lp873x.o
23 obj-$(CONFIG_MFD_TI_LP87565) += lp87565.o
25 obj-$(CONFIG_MFD_DAVINCI_VOICECODEC) += davinci_voicecodec.o
26 obj-$(CONFIG_MFD_DM355EVM_MSP) += dm355evm_msp.o
27 obj-$(CONFIG_MFD_TI_AM335X_TSCADC) += ti_am335x_tscadc.o
29 obj-$(CONFIG_MFD_STA2X11) += sta2x11-mfd.o
30 obj-$(CONFIG_MFD_STMPE) += stmpe.o
31 obj-$(CONFIG_STMPE_I2C) += stmpe-i2c.o
32 obj-$(CONFIG_STMPE_SPI) += stmpe-spi.o
33 obj-$(CONFIG_MFD_SUN6I_PRCM) += sun6i-prcm.o
34 obj-$(CONFIG_MFD_TC3589X) += tc3589x.o
35 obj-$(CONFIG_MFD_T7L66XB) += t7l66xb.o tmio_core.o
36 obj-$(CONFIG_MFD_TC6387XB) += tc6387xb.o tmio_core.o
37 obj-$(CONFIG_MFD_TC6393XB) += tc6393xb.o tmio_core.o
38 obj-$(CONFIG_MFD_TQMX86) += tqmx86.o
40 obj-$(CONFIG_MFD_LOCHNAGAR) += lochnagar-i2c.o
42 obj-$(CONFIG_MFD_ARIZONA) += arizona-core.o
43 obj-$(CONFIG_MFD_ARIZONA) += arizona-irq.o
44 obj-$(CONFIG_MFD_ARIZONA_I2C) += arizona-i2c.o
45 obj-$(CONFIG_MFD_ARIZONA_SPI) += arizona-spi.o
46 ifeq ($(CONFIG_MFD_WM5102),y)
47 obj-$(CONFIG_MFD_ARIZONA) += wm5102-tables.o
48 endif
49 ifeq ($(CONFIG_MFD_WM5110),y)
50 obj-$(CONFIG_MFD_ARIZONA) += wm5110-tables.o
51 endif
52 ifeq ($(CONFIG_MFD_WM8997),y)
53 obj-$(CONFIG_MFD_ARIZONA) += wm8997-tables.o
54 endif
55 ifeq ($(CONFIG_MFD_WM8998),y)
56 obj-$(CONFIG_MFD_ARIZONA) += wm8998-tables.o
57 endif
58 ifeq ($(CONFIG_MFD_CS47L24),y)
59 obj-$(CONFIG_MFD_ARIZONA) += cs47l24-tables.o
60 endif
61 obj-$(CONFIG_MFD_WCD934X) += wcd934x.o
62 obj-$(CONFIG_MFD_WM8400) += wm8400-core.o
63 wm831x-objs := wm831x-core.o wm831x-irq.o wm831x-otp.o
64 wm831x-objs += wm831x-auxadc.o
65 obj-$(CONFIG_MFD_WM831X) += wm831x.o
66 obj-$(CONFIG_MFD_WM831X_I2C) += wm831x-i2c.o
67 obj-$(CONFIG_MFD_WM831X_SPI) += wm831x-spi.o
68 wm8350-objs := wm8350-core.o wm8350-regmap.o wm8350-gpio.o
69 wm8350-objs += wm8350-irq.o
70 obj-$(CONFIG_MFD_WM8350) += wm8350.o
71 obj-$(CONFIG_MFD_WM8350_I2C) += wm8350-i2c.o
72 wm8994-objs := wm8994-core.o wm8994-irq.o wm8994-regmap.o
73 obj-$(CONFIG_MFD_WM8994) += wm8994.o
74 obj-$(CONFIG_MFD_WM97xx) += wm97xx-core.o
76 madera-objs := madera-core.o
77 ifeq ($(CONFIG_MFD_CS47L15),y)
78 madera-objs += cs47l15-tables.o
79 endif
80 ifeq ($(CONFIG_MFD_CS47L35),y)
81 madera-objs += cs47l35-tables.o
82 endif
83 ifeq ($(CONFIG_MFD_CS47L85),y)
84 madera-objs += cs47l85-tables.o
85 endif
86 ifeq ($(CONFIG_MFD_CS47L90),y)
87 madera-objs += cs47l90-tables.o
88 endif
89 ifeq ($(CONFIG_MFD_CS47L92),y)
90 madera-objs += cs47l92-tables.o
91 endif
92 obj-$(CONFIG_MFD_MADERA) += madera.o
93 obj-$(CONFIG_MFD_MADERA_I2C) += madera-i2c.o
94 obj-$(CONFIG_MFD_MADERA_SPI) += madera-spi.o
96 obj-$(CONFIG_TPS6105X) += tps6105x.o
97 obj-$(CONFIG_TPS65010) += tps65010.o
98 obj-$(CONFIG_TPS6507X) += tps6507x.o
99 obj-$(CONFIG_MFD_TPS65086) += tps65086.o
100 obj-$(CONFIG_MFD_TPS65217) += tps65217.o
101 obj-$(CONFIG_MFD_TPS65218) += tps65218.o
102 obj-$(CONFIG_MFD_TPS65910) += tps65910.o
103 obj-$(CONFIG_MFD_TPS65912) += tps65912-core.o
104 obj-$(CONFIG_MFD_TPS65912_I2C) += tps65912-i2c.o
105 obj-$(CONFIG_MFD_TPS65912_SPI) += tps65912-spi.o
106 obj-$(CONFIG_MFD_TPS68470) += tps68470.o
107 obj-$(CONFIG_MFD_TPS80031) += tps80031.o
108 obj-$(CONFIG_MENELAUS) += menelaus.o
110 obj-$(CONFIG_TWL4030_CORE) += twl-core.o twl4030-irq.o twl6030-irq.o
111 obj-$(CONFIG_TWL4030_POWER) += twl4030-power.o
112 obj-$(CONFIG_MFD_TWL4030_AUDIO) += twl4030-audio.o
113 obj-$(CONFIG_TWL6040_CORE) += twl6040.o
115 obj-$(CONFIG_MFD_MX25_TSADC) += fsl-imx25-tsadc.o
117 obj-$(CONFIG_MFD_MC13XXX) += mc13xxx-core.o
118 obj-$(CONFIG_MFD_MC13XXX_SPI) += mc13xxx-spi.o
119 obj-$(CONFIG_MFD_MC13XXX_I2C) += mc13xxx-i2c.o
121 obj-$(CONFIG_MFD_CORE) += mfd-core.o
123 obj-$(CONFIG_EZX_PCAP) += ezx-pcap.o
124 obj-$(CONFIG_MFD_CPCAP) += motorola-cpcap.o
126 obj-$(CONFIG_MCP) += mcp-core.o
127 obj-$(CONFIG_MCP_SA11X0) += mcp-sa11x0.o
128 obj-$(CONFIG_MCP_UCB1200) += ucb1x00-core.o
129 obj-$(CONFIG_MFD_SMSC) += smsc-ece1099.o
130 obj-$(CONFIG_MCP_UCB1200_TS) += ucb1x00-ts.o
132 ifeq ($(CONFIG_SA1100_ASSABET),y)
133 obj-$(CONFIG_MCP_UCB1200) += ucb1x00-assabet.o
134 endif
135 obj-$(CONFIG_UCB1400_CORE) += ucb1400_core.o
137 obj-$(CONFIG_PMIC_DA903X) += da903x.o
139 obj-$(CONFIG_PMIC_DA9052) += da9052-irq.o
140 obj-$(CONFIG_PMIC_DA9052) += da9052-core.o
141 obj-$(CONFIG_MFD_DA9052_SPI) += da9052-spi.o
142 obj-$(CONFIG_MFD_DA9052_I2C) += da9052-i2c.o
144 obj-$(CONFIG_MFD_AC100) += ac100.o
145 obj-$(CONFIG_MFD_AXP20X) += axp20x.o
146 obj-$(CONFIG_MFD_AXP20X_I2C) += axp20x-i2c.o
147 obj-$(CONFIG_MFD_AXP20X_RSB) += axp20x-rsb.o
149 obj-$(CONFIG_MFD_LP3943) += lp3943.o
150 obj-$(CONFIG_MFD_LP8788) += lp8788.o lp8788-irq.o
152 obj-$(CONFIG_MFD_TI_LMU) += ti-lmu.o
154 da9055-objs := da9055-core.o da9055-i2c.o
155 obj-$(CONFIG_MFD_DA9055) += da9055.o
156 obj-$(CONFIG_MFD_DA9062) += da9062-core.o
157 da9063-objs := da9063-core.o da9063-irq.o da9063-i2c.o
158 obj-$(CONFIG_MFD_DA9063) += da9063.o
159 obj-$(CONFIG_MFD_DA9150) += da9150-core.o
161 obj-$(CONFIG_MFD_MAX14577) += max14577.o
162 obj-$(CONFIG_MFD_MAX77620) += max77620.o
163 obj-$(CONFIG_MFD_MAX77650) += max77650.o
164 obj-$(CONFIG_MFD_MAX77686) += max77686.o
165 obj-$(CONFIG_MFD_MAX77693) += max77693.o
166 obj-$(CONFIG_MFD_MAX77843) += max77843.o
167 obj-$(CONFIG_MFD_MAX8907) += max8907.o
168 max8925-objs := max8925-core.o max8925-i2c.o
169 obj-$(CONFIG_MFD_MAX8925) += max8925.o
170 obj-$(CONFIG_MFD_MAX8997) += max8997.o max8997-irq.o
171 obj-$(CONFIG_MFD_MAX8998) += max8998.o max8998-irq.o
173 pcf50633-objs := pcf50633-core.o pcf50633-irq.o
174 obj-$(CONFIG_MFD_PCF50633) += pcf50633.o
175 obj-$(CONFIG_PCF50633_ADC) += pcf50633-adc.o
176 obj-$(CONFIG_PCF50633_GPIO) += pcf50633-gpio.o
177 obj-$(CONFIG_ABX500_CORE) += abx500-core.o
178 obj-$(CONFIG_AB3100_CORE) += ab3100-core.o
179 obj-$(CONFIG_AB3100_OTP) += ab3100-otp.o
180 obj-$(CONFIG_AB8500_DEBUG) += ab8500-debugfs.o
181 obj-$(CONFIG_MFD_DB8500_PRCMU) += db8500-prcmu.o
182 # ab8500-core need to come after db8500-prcmu (which provides the channel)
183 obj-$(CONFIG_AB8500_CORE) += ab8500-core.o ab8500-sysctrl.o
184 obj-$(CONFIG_MFD_TIMBERDALE) += timberdale.o
185 obj-$(CONFIG_PMIC_ADP5520) += adp5520.o
186 obj-$(CONFIG_MFD_KEMPLD) += kempld-core.o
187 obj-$(CONFIG_MFD_INTEL_QUARK_I2C_GPIO) += intel_quark_i2c_gpio.o
188 obj-$(CONFIG_LPC_SCH) += lpc_sch.o
189 obj-$(CONFIG_LPC_ICH) += lpc_ich.o
190 obj-$(CONFIG_MFD_RDC321X) += rdc321x-southbridge.o
191 obj-$(CONFIG_MFD_JANZ_CMODIO) += janz-cmodio.o
192 obj-$(CONFIG_MFD_TPS6586X) += tps6586x.o
193 obj-$(CONFIG_MFD_VX855) += vx855.o
194 obj-$(CONFIG_MFD_WL1273_CORE) += wl1273-core.o
196 si476x-core-y := si476x-cmd.o si476x-prop.o si476x-i2c.o
197 obj-$(CONFIG_MFD_SI476X_CORE) += si476x-core.o
199 obj-$(CONFIG_MFD_CS5535) += cs5535-mfd.o
200 obj-$(CONFIG_MFD_OMAP_USB_HOST) += omap-usb-host.o omap-usb-tll.o
201 obj-$(CONFIG_MFD_PM8XXX) += qcom-pm8xxx.o ssbi.o
202 obj-$(CONFIG_MFD_QCOM_RPM) += qcom_rpm.o
203 obj-$(CONFIG_MFD_SPMI_PMIC) += qcom-spmi-pmic.o
204 obj-$(CONFIG_TPS65911_COMPARATOR) += tps65911-comparator.o
205 obj-$(CONFIG_MFD_TPS65090) += tps65090.o
206 obj-$(CONFIG_MFD_AAT2870_CORE) += aat2870-core.o
207 obj-$(CONFIG_MFD_AT91_USART) += at91-usart.o
208 obj-$(CONFIG_MFD_ATMEL_FLEXCOM) += atmel-flexcom.o
209 obj-$(CONFIG_MFD_ATMEL_HLCDC) += atmel-hlcdc.o
210 obj-$(CONFIG_MFD_ATMEL_SMC) += atmel-smc.o
211 obj-$(CONFIG_MFD_INTEL_LPSS) += intel-lpss.o
212 obj-$(CONFIG_MFD_INTEL_LPSS_PCI) += intel-lpss-pci.o
213 obj-$(CONFIG_MFD_INTEL_LPSS_ACPI) += intel-lpss-acpi.o
214 obj-$(CONFIG_MFD_INTEL_MSIC) += intel_msic.o
215 obj-$(CONFIG_MFD_PALMAS) += palmas.o
216 obj-$(CONFIG_MFD_VIPERBOARD) += viperboard.o
217 obj-$(CONFIG_MFD_RC5T583) += rc5t583.o rc5t583-irq.o
218 obj-$(CONFIG_MFD_RK808) += rk808.o
219 obj-$(CONFIG_MFD_RN5T618) += rn5t618.o
220 obj-$(CONFIG_MFD_SEC_CORE) += sec-core.o sec-irq.o
221 obj-$(CONFIG_MFD_SYSCON) += syscon.o
222 obj-$(CONFIG_MFD_LM3533) += lm3533-core.o lm3533-ctrlbank.o
223 obj-$(CONFIG_MFD_VEXPRESS_SYSREG) += vexpress-sysreg.o
224 obj-$(CONFIG_MFD_RETU) += retu-mfd.o
225 obj-$(CONFIG_MFD_AS3711) += as3711.o
226 obj-$(CONFIG_MFD_AS3722) += as3722.o
227 obj-$(CONFIG_MFD_STW481X) += stw481x.o
228 obj-$(CONFIG_MFD_IPAQ_MICRO) += ipaq-micro.o
229 obj-$(CONFIG_MFD_MENF21BMC) += menf21bmc.o
230 obj-$(CONFIG_MFD_HI6421_PMIC) += hi6421-pmic-core.o
231 obj-$(CONFIG_MFD_HI655X_PMIC) += hi655x-pmic.o
232 obj-$(CONFIG_MFD_DLN2) += dln2.o
233 obj-$(CONFIG_MFD_RT5033) += rt5033.o
234 obj-$(CONFIG_MFD_SKY81452) += sky81452.o
236 intel-soc-pmic-objs := intel_soc_pmic_core.o intel_soc_pmic_crc.o
237 obj-$(CONFIG_INTEL_SOC_PMIC) += intel-soc-pmic.o
238 obj-$(CONFIG_INTEL_SOC_PMIC_BXTWC) += intel_soc_pmic_bxtwc.o
239 obj-$(CONFIG_INTEL_SOC_PMIC_CHTWC) += intel_soc_pmic_chtwc.o
240 obj-$(CONFIG_INTEL_SOC_PMIC_CHTDC_TI) += intel_soc_pmic_chtdc_ti.o
241 mt6397-objs := mt6397-core.o mt6397-irq.o
242 obj-$(CONFIG_MFD_MT6397) += mt6397.o
243 obj-$(CONFIG_INTEL_SOC_PMIC_MRFLD) += intel_soc_pmic_mrfld.o
245 obj-$(CONFIG_MFD_ALTERA_A10SR) += altera-a10sr.o
246 obj-$(CONFIG_MFD_ALTERA_SYSMGR) += altera-sysmgr.o
247 obj-$(CONFIG_MFD_STPMIC1) += stpmic1.o
248 obj-$(CONFIG_MFD_SUN4I_GPADC) += sun4i-gpadc.o
250 obj-$(CONFIG_MFD_STM32_LPTIMER) += stm32-lptimer.o
251 obj-$(CONFIG_MFD_STM32_TIMERS) += stm32-timers.o
252 obj-$(CONFIG_MFD_MXS_LRADC) += mxs-lradc.o
253 obj-$(CONFIG_MFD_SC27XX_PMIC) += sprd-sc27xx-spi.o
254 obj-$(CONFIG_RAVE_SP_CORE) += rave-sp.o
255 obj-$(CONFIG_MFD_ROHM_BD70528) += rohm-bd70528.o
256 obj-$(CONFIG_MFD_ROHM_BD71828) += rohm-bd71828.o
257 obj-$(CONFIG_MFD_ROHM_BD718XX) += rohm-bd718x7.o
258 obj-$(CONFIG_MFD_STMFX) += stmfx.o
260 obj-$(CONFIG_SGI_MFD_IOC3) += ioc3.o