| # SPDX-License-Identifier: GPL-2.0 |
| |
| # LED Core |
| obj-$(CONFIG_NEW_LEDS) += led-core.o |
| obj-$(CONFIG_LEDS_CLASS) += led-class.o |
| obj-$(CONFIG_LEDS_CLASS_FLASH) += led-class-flash.o |
| obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o |
| |
| # LED Platform Drivers |
| obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o |
| obj-$(CONFIG_LEDS_AAT1290) += leds-aat1290.o |
| obj-$(CONFIG_LEDS_AS3645A) += leds-as3645a.o |
| obj-$(CONFIG_LEDS_BCM6328) += leds-bcm6328.o |
| obj-$(CONFIG_LEDS_BCM6358) += leds-bcm6358.o |
| obj-$(CONFIG_LEDS_BD2802) += leds-bd2802.o |
| obj-$(CONFIG_LEDS_CPCAP) += leds-cpcap.o |
| obj-$(CONFIG_LEDS_LOCOMO) += leds-locomo.o |
| obj-$(CONFIG_LEDS_LM3530) += leds-lm3530.o |
| obj-$(CONFIG_LEDS_LM3533) += leds-lm3533.o |
| obj-$(CONFIG_LEDS_LM3642) += leds-lm3642.o |
| obj-$(CONFIG_LEDS_MIKROTIK_RB532) += leds-rb532.o |
| obj-$(CONFIG_LEDS_S3C24XX) += leds-s3c24xx.o |
| obj-$(CONFIG_LEDS_NET48XX) += leds-net48xx.o |
| obj-$(CONFIG_LEDS_WRAP) += leds-wrap.o |
| obj-$(CONFIG_LEDS_COBALT_QUBE) += leds-cobalt-qube.o |
| obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-cobalt-raq.o |
| obj-$(CONFIG_LEDS_SUNFIRE) += leds-sunfire.o |
| obj-$(CONFIG_LEDS_PCA9532) += leds-pca9532.o |
| obj-$(CONFIG_LEDS_GPIO_REGISTER) += leds-gpio-register.o |
| obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o |
| obj-$(CONFIG_LEDS_LP3944) += leds-lp3944.o |
| obj-$(CONFIG_LEDS_LP3952) += leds-lp3952.o |
| obj-$(CONFIG_LEDS_LP55XX_COMMON) += leds-lp55xx-common.o |
| obj-$(CONFIG_LEDS_LP5521) += leds-lp5521.o |
| obj-$(CONFIG_LEDS_LP5523) += leds-lp5523.o |
| obj-$(CONFIG_LEDS_LP5562) += leds-lp5562.o |
| obj-$(CONFIG_LEDS_LP8501) += leds-lp8501.o |
| obj-$(CONFIG_LEDS_LP8788) += leds-lp8788.o |
| obj-$(CONFIG_LEDS_LP8860) += leds-lp8860.o |
| obj-$(CONFIG_LEDS_TCA6507) += leds-tca6507.o |
| obj-$(CONFIG_LEDS_TLC591XX) += leds-tlc591xx.o |
| obj-$(CONFIG_LEDS_CLEVO_MAIL) += leds-clevo-mail.o |
| obj-$(CONFIG_LEDS_IPAQ_MICRO) += leds-ipaq-micro.o |
| obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o |
| obj-$(CONFIG_LEDS_OT200) += leds-ot200.o |
| obj-$(CONFIG_LEDS_FSG) += leds-fsg.o |
| obj-$(CONFIG_LEDS_PCA955X) += leds-pca955x.o |
| obj-$(CONFIG_LEDS_PCA963X) += leds-pca963x.o |
| obj-$(CONFIG_LEDS_DA903X) += leds-da903x.o |
| obj-$(CONFIG_LEDS_DA9052) += leds-da9052.o |
| obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o |
| obj-$(CONFIG_LEDS_WM8350) += leds-wm8350.o |
| obj-$(CONFIG_LEDS_PWM) += leds-pwm.o |
| obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o |
| obj-$(CONFIG_LEDS_INTEL_SS4200) += leds-ss4200.o |
| obj-$(CONFIG_LEDS_LT3593) += leds-lt3593.o |
| obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o |
| obj-$(CONFIG_LEDS_MC13783) += leds-mc13783.o |
| obj-$(CONFIG_LEDS_NS2) += leds-ns2.o |
| obj-$(CONFIG_LEDS_NETXBIG) += leds-netxbig.o |
| obj-$(CONFIG_LEDS_ASIC3) += leds-asic3.o |
| obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o |
| obj-$(CONFIG_LEDS_MAX8997) += leds-max8997.o |
| obj-$(CONFIG_LEDS_LM355x) += leds-lm355x.o |
| obj-$(CONFIG_LEDS_BLINKM) += leds-blinkm.o |
| obj-$(CONFIG_LEDS_SYSCON) += leds-syscon.o |
| obj-$(CONFIG_LEDS_MENF21BMC) += leds-menf21bmc.o |
| obj-$(CONFIG_LEDS_KTD2692) += leds-ktd2692.o |
| obj-$(CONFIG_LEDS_POWERNV) += leds-powernv.o |
| obj-$(CONFIG_LEDS_IS31FL319X) += leds-is31fl319x.o |
| obj-$(CONFIG_LEDS_IS31FL32XX) += leds-is31fl32xx.o |
| obj-$(CONFIG_LEDS_PM8058) += leds-pm8058.o |
| obj-$(CONFIG_LEDS_MLXCPLD) += leds-mlxcpld.o |
| obj-$(CONFIG_LEDS_NIC78BX) += leds-nic78bx.o |
| obj-$(CONFIG_LEDS_MT6323) += leds-mt6323.o |
| obj-$(CONFIG_LEDS_MT6362) += leds-mt6362.o |
| |
| subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/flashlight \ |
| -I$(srctree)/drivers/misc/mediatek/include/mt-plat |
| |
| # LED SPI Drivers |
| obj-$(CONFIG_LEDS_DAC124S085) += leds-dac124s085.o |
| |
| # LED Userspace Drivers |
| obj-$(CONFIG_LEDS_USER) += uleds.o |
| |
| # LED Triggers |
| obj-$(CONFIG_LEDS_TRIGGERS) += trigger/ |
| |
| ifeq ($(CONFIG_DRM_MEDIATEK),y) |
| ccflags-y += -DDRM_OPLUS_DISPLAY_NODES |
| endif |