mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
treewide: Setup inline build for miami modules
Change-Id: Ia645e2c006482208936763afa7207a92aac03d05
This commit is contained in:
parent
63b35288f8
commit
ca465040b6
17 changed files with 56 additions and 35 deletions
|
|
@ -905,5 +905,6 @@ config LEDS_INDICATOR_PWM
|
|||
|
||||
comment "LED Triggers"
|
||||
source "drivers/leds/trigger/Kconfig"
|
||||
source "drivers/leds/aw2033/Kconfig"
|
||||
|
||||
endif # NEW_LEDS
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ obj-$(CONFIG_LEDS_QTI_TRI_LED) += leds-qti-tri-led.o
|
|||
obj-$(CONFIG_LEDS_QPNP_FLASH_V2) += leds-qpnp-flash-v2.o
|
||||
obj-$(CONFIG_LEDS_QPNP_VIBRATOR_LDO) += leds-qpnp-vibrator-ldo.o
|
||||
obj-$(CONFIG_LEDS_INDICATOR_PWM) += leds-indicator-pwm.o
|
||||
obj-$(CONFIG_LEDS_AW2033) += aw2033/
|
||||
|
||||
# LED SPI Drivers
|
||||
obj-$(CONFIG_LEDS_CR0014114) += leds-cr0014114.o
|
||||
|
|
|
|||
7
drivers/leds/aw2033/Kbuild
Executable file → Normal file
7
drivers/leds/aw2033/Kbuild
Executable file → Normal file
|
|
@ -1,6 +1 @@
|
|||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(TOP)/motorola/kernel/modules/include
|
||||
|
||||
|
||||
obj-m += leds_aw2033.o
|
||||
obj-$(CONFIG_LEDS_AW2033) += leds_aw2033.o
|
||||
|
|
|
|||
5
drivers/leds/aw2033/Kconfig
Normal file
5
drivers/leds/aw2033/Kconfig
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
config LEDS_AW2033
|
||||
tristate "Awinic AW2033 LED support"
|
||||
help
|
||||
Support for Awinic AW2033 LED controller
|
||||
If unsure, say N
|
||||
|
|
@ -1 +1,2 @@
|
|||
source "drivers/misc/awinic/aw862x/Kconfig"
|
||||
source "drivers/misc/awinic/sarsensor/Kconfig"
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
obj-$(CONFIG_AW862X_HAPTIC) += aw862x/
|
||||
obj-$(CONFIG_AW96XX_SAR) += sarsensor/
|
||||
|
|
|
|||
15
drivers/misc/awinic/aw862x/Kconfig
Normal file
15
drivers/misc/awinic/aw862x/Kconfig
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#
|
||||
# AW862X Driver
|
||||
#
|
||||
|
||||
config AW862X_HAPTIC
|
||||
tristate "Awinic AW862X haptic driver"
|
||||
depends on I2C
|
||||
help
|
||||
Say Y here if you have Awinic AW862X haptic controller
|
||||
chip in your system.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called aw862x.
|
||||
|
|
@ -63,6 +63,8 @@ source "drivers/nfc/samsung/Kconfig"
|
|||
source "drivers/nfc/sn2xx/Kconfig"
|
||||
endmenu
|
||||
|
||||
source "drivers/nfc/sn1xx/Kconfig"
|
||||
|
||||
config NFC_QTI_I2C
|
||||
tristate "QTI NCI based NFC I2C Slave Driver for SNxxx"
|
||||
depends on I2C
|
||||
|
|
|
|||
|
|
@ -18,5 +18,6 @@ obj-$(CONFIG_NFC_NXP_NCI) += nxp-nci/
|
|||
obj-$(CONFIG_NFC_S3FWRN5) += s3fwrn5/
|
||||
obj-$(CONFIG_NFC_ST95HF) += st95hf/
|
||||
obj-$(CONFIG_SEC_NFC) += samsung/
|
||||
obj-$(CONFIG_NFC_SN1XX) += sn1xx/
|
||||
obj-$(CONFIG_NFC_SN2XX) += sn2xx/
|
||||
obj-y += qti/
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include
|
||||
|
||||
obj-m += nfc_i2c.o
|
||||
nfc_i2c-objs:= nfc_common.o nfc_i2c_drv.o
|
||||
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../../mmi_info/Module.symvers
|
||||
obj-$(CONFIG_NFC_SN1XX) += nfc_i2c.o
|
||||
|
|
|
|||
6
drivers/nfc/sn1xx/Kconfig
Normal file
6
drivers/nfc/sn1xx/Kconfig
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
config NFC_SN1XX
|
||||
tristate "QTI NFC for SN1xx"
|
||||
help
|
||||
This enables the QTI NFC driver for SN1xx based devices.
|
||||
|
||||
If unsure, say N.
|
||||
|
|
@ -34,12 +34,14 @@ config MMI_EXT_CHG_LED
|
|||
source "drivers/power/bq2589x_chg_mmi/Kconfig"
|
||||
source "drivers/power/bq2597x_mmi_iio/Kconfig"
|
||||
source "drivers/power/bq25980_mmi_iio/Kconfig"
|
||||
source "drivers/power/cps4019_wls_charger/Kconfig"
|
||||
source "drivers/power/cw2217b_fg_mmi/Kconfig"
|
||||
source "drivers/power/mmi_charger/Kconfig"
|
||||
source "drivers/power/mmi_discrete_charger/Kconfig"
|
||||
source "drivers/power/mmi_discrete_turbo_charger/Kconfig"
|
||||
source "drivers/power/mmi_parallel_charger_iio/Kconfig"
|
||||
source "drivers/power/mmi-smbcharger-iio/Kconfig"
|
||||
source "drivers/power/mm8013c_fg_mmi/Kconfig"
|
||||
source "drivers/power/qpnp_adaptive_charge/Kconfig"
|
||||
source "drivers/power/sgm4154x_chg_mmi/Kconfig"
|
||||
source "drivers/power/sm5602_fg_mmi/Kconfig"
|
||||
|
|
|
|||
|
|
@ -6,12 +6,14 @@ obj-$(CONFIG_POWER_SUPPLY) += supply/
|
|||
obj-$(CONFIG_BQ2589X_CHARGER) += bq2589x_chg_mmi/
|
||||
obj-$(CONFIG_BQ2597X_MMI_IIO) += bq2597x_mmi_iio/
|
||||
obj-$(CONFIG_BQ25980_MMI_IIO_CHARGER) += bq25980_mmi_iio/
|
||||
obj-$(CONFIG_CPS_WLS_CHARGER) += cps4019_wls_charger/
|
||||
obj-$(CONFIG_CW2217B_FG_MMI) += cw2217b_fg_mmi/
|
||||
obj-$(CONFIG_MMI_CHARGER) += mmi_charger/
|
||||
obj-$(CONFIG_MMI_DISCRETE_CHARGER) += mmi_discrete_charger/
|
||||
obj-$(CONFIG_MMI_DISCRETE_TURBO_CHARGER) += mmi_discrete_turbo_charger/
|
||||
obj-$(CONFIG_MMI_PARALLEL_CHARGER_IIO) += mmi_parallel_charger_iio/
|
||||
obj-$(CONFIG_MMI_SMBCHARGER_IIO) += mmi-smbcharger-iio/
|
||||
obj-$(CONFIG_MMI_MM8013C_FG) += mm8013c_fg_mmi/
|
||||
obj-$(CONFIG_QPNP_ADAPTIVE_CHARGE) += qpnp_adaptive_charge/
|
||||
obj-$(CONFIG_SGM4154X_CHARGER) += sgm4154x_chg_mmi/
|
||||
obj-$(CONFIG_MMI_SM5602_FG) += sm5602_fg_mmi/
|
||||
|
|
|
|||
|
|
@ -1,8 +1 @@
|
|||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/drivers/power/cps4019_wls_charger
|
||||
|
||||
obj-m += cps4019_wls_charger.o
|
||||
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../mmi_discrete_charger/$(GKI_OBJ_MODULE_DIR)/Module.symvers
|
||||
obj-$(CONFIG_CPS_WLS_CHARGER) += cps4019_wls_charger.o
|
||||
|
|
|
|||
|
|
@ -1,10 +1,6 @@
|
|||
menu "Qualcomm Technologies Inc Charger and Fuel Gauge support"
|
||||
|
||||
config CPS_WLS_CHARGER
|
||||
bool "CPS wireless charger driver"
|
||||
depends on POWER_SUPPLY
|
||||
depends on I2C
|
||||
help
|
||||
Say Y to enable support for CPS wireless charger.
|
||||
|
||||
endmenu
|
||||
tristate "CPS wireless charger driver"
|
||||
depends on POWER_SUPPLY
|
||||
depends on I2C
|
||||
help
|
||||
Say Y to enable support for CPS wireless charger.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,3 @@
|
|||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/drivers/power/mm8013c_fg_mmi
|
||||
|
||||
mm8013c_fg_mmi-objs += mm8013c_battery.o
|
||||
obj-m += mm8013c_fg_mmi.o
|
||||
|
||||
obj-$(CONFIG_MMI_MM8013C_FG) += mm8013c_fg_mmi.o
|
||||
|
|
|
|||
9
drivers/power/mm8013c_fg_mmi/Kconfig
Normal file
9
drivers/power/mm8013c_fg_mmi/Kconfig
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
config MMI_MM8013C_FG
|
||||
tristate "MMI mm8013c fuel gauge"
|
||||
default n
|
||||
help
|
||||
Say Y here if you have a mmi mm8013c fg compatible
|
||||
device connected.
|
||||
|
||||
This driver can also be built as a module. If so, the module
|
||||
will be called mmi_mm8013c_fg.
|
||||
Loading…
Reference in a new issue