treewide: Setup inline build for moto bengal/devon modules
Change-Id: If6b9e0dfc980fb0f631a52d79d8e2ce1419bdc9f
This commit is contained in:
42 files changed
+386
-250
No files matched your search
@@ -246,4 +246,6 @@ source "drivers/tzlog_dump/Kconfig"
|
||||
source "drivers/watchdog_cpu_ctx/Kconfig"
|
||||
|
||||
source "drivers/watchdogtest/Kconfig"
|
||||
|
||||
source "drivers/backlight/Kconfig"
|
||||
endmenu
|
||||
@@ -200,3 +200,4 @@ obj-$(CONFIG_MOTO_F_USBNET) += moto_f_usbnet/
|
||||
obj-$(CONFIG_TZLOG_DUMP) += tzlog_dump/
|
||||
obj-$(CONFIG_WATCHDOG_CPU_CTX) += watchdog_cpu_ctx/
|
||||
obj-$(CONFIG_WATCHDOGTEST) += watchdogtest/
|
||||
obj-y += backlight/
|
||||
@@ -0,0 +1,3 @@
|
||||
source "drivers/backlight/aw99703/Kconfig"
|
||||
|
||||
source "drivers/backlight/lm3697/Kconfig"
|
||||
@@ -0,0 +1,2 @@
|
||||
obj-$(CONFIG_LEDS_AW99703) += aw99703/
|
||||
obj-$(CONFIG_LEDS_LM3697) += lm3697/
|
||||
@@ -1,5 +1 @@
|
||||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(TOP)/motorola/kernel/modules/include
|
||||
|
||||
obj-m += leds_aw99703.o
|
||||
obj-$(CONFIG_LEDS_AW99703) += leds_aw99703.o
|
||||
@@ -0,0 +1,11 @@
|
||||
config LEDS_AW99703
|
||||
tristate "AW99703 LED driver"
|
||||
default n
|
||||
help
|
||||
Say Y here if you have AW99703 LED in
|
||||
your system.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called leds_aw99703.
|
||||
@@ -1,8 +1,4 @@
|
||||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(TOP)/motorola/kernel/modules/include
|
||||
|
||||
obj-m := leds_lm3697.o
|
||||
obj-$(CONFIG_LEDS_LM3697) := leds_lm3697.o
|
||||
leds_lm3697-objs += ti_lm3697.o
|
||||
leds_lm3697-objs += ti_lm3697_backlight.o
|
||||
leds_lm3697-objs += ti_lm3697_backlight_data.o
|
||||
@@ -0,0 +1,11 @@
|
||||
config LEDS_LM3697
|
||||
tristate "LM3697 LED driver"
|
||||
default n
|
||||
help
|
||||
Say Y here if you have LM3697 LED in
|
||||
your system.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called leds_lm3697.
|
||||
@@ -885,6 +885,7 @@ config INPUT_SC27XX_VIBRA
|
||||
To compile this driver as a module, choose M here. The module will
|
||||
be called sc27xx_vibra.
|
||||
|
||||
source "drivers/input/misc/ets_bix_mmi/Kconfig"
|
||||
source "drivers/input/misc/ets_fps_mmi/Kconfig"
|
||||
source "drivers/input/misc/fpc_fps_mmi/Kconfig"
|
||||
source "drivers/input/misc/qpnp_power_on_mmi/Kconfig"
|
||||
|
||||
@@ -86,6 +86,7 @@ obj-$(CONFIG_INPUT_XEN_KBDDEV_FRONTEND) += xen-kbdfront.o
|
||||
obj-$(CONFIG_INPUT_YEALINK) += yealink.o
|
||||
obj-$(CONFIG_INPUT_IDEAPAD_SLIDEBAR) += ideapad_slidebar.o
|
||||
|
||||
obj-$(CONFIG_INPUT_EGISTEC_BIX) += ets_bix_mmi/
|
||||
obj-$(CONFIG_INPUT_EGISTEC_FPS) += ets_fps_mmi/
|
||||
obj-$(CONFIG_INPUT_MISC_FPC1020) += fpc_fps_mmi/
|
||||
obj-$(CONFIG_INPUT_QPNP_POWER_ON_MMI) += qpnp_power_on_mmi/
|
||||
|
||||
@@ -1,21 +1,3 @@
|
||||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include \
|
||||
-I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/drivers/input/misc/ets_bix_mmi
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_EGIS_PANEL_NOTIFICATIONS)),)
|
||||
EXTRA_CFLAGS += -DCONFIG_PANEL_NOTIFICATIONS
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_EGIS_DRM_PANEL_NOTIFICATIONS)),)
|
||||
EXTRA_CFLAGS += -DCONFIG_DRM_PANEL_NOTIFICATIONS
|
||||
endif
|
||||
#ifneq ($(filter m y,$(CONFIG_ET721_FOD)),)
|
||||
# EXTRA_CFLAGS += -DET721_FOD
|
||||
#endif
|
||||
|
||||
ets_bix_mmi-y += etxxx_fp.o
|
||||
|
||||
|
||||
obj-m += ets_bix_mmi.o
|
||||
|
||||
obj-$(CONFIG_INPUT_EGISTEC_BIX) += ets_bix_mmi.o
|
||||
@@ -0,0 +1,6 @@
|
||||
config INPUT_EGISTEC_BIX
|
||||
tristate "Egistec fingerprint sensor BIX MMI"
|
||||
default n
|
||||
help
|
||||
Say Y here if you wish to include support for BIX MMI EGIS finger print sensor.
|
||||
If unsure, say N.
|
||||
@@ -1376,6 +1376,10 @@ source "drivers/input/touchscreen/touchscreen_mmi/Kconfig"
|
||||
|
||||
source "drivers/input/touchscreen/stmicro_mmi/Kconfig"
|
||||
|
||||
source "drivers/input/touchscreen/focaltech_0flash_v2_mmi/Kconfig"
|
||||
|
||||
source "drivers/input/touchscreen/focaltech_v2_mmi/Kconfig"
|
||||
|
||||
source "drivers/input/touchscreen/ili9882_mmi/Kconfig"
|
||||
|
||||
endif
|
||||
@@ -120,4 +120,6 @@ obj-$(CONFIG_TOUCHSCREEN_HIMAX_CHIPSET) += hxchipset/
|
||||
obj-$(CONFIG_TOUCHSCREEN_NT36xxx_HOSTDL_SPI_MMI) += nova_0flash_mmi/
|
||||
obj-$(CONFIG_INPUT_TOUCHSCREEN_MMI) += touchscreen_mmi/
|
||||
obj-$(CONFIG_TOUCHSCREEN_FTS_TS) += stmicro_mmi/
|
||||
obj-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI) += focaltech_0flash_v2_mmi/
|
||||
obj-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_V2_MMI) += focaltech_v2_mmi/
|
||||
obj-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI) += ili9882_mmi/
|
||||
@@ -1,10 +1,6 @@
|
||||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include \
|
||||
-I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/drivers/input/touchscreen/focaltech_0flash_v2_mmi \
|
||||
-I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/drivers/input/touchscreen/focaltech_0flash_v2_mmi/include
|
||||
ccflags-y += -I$(srctree)/drivers/input/touchscreen/focaltech_0flash_v2_mmi/include
|
||||
|
||||
obj-m := focaltech_0flash_v2_mmi.o
|
||||
obj-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI) := focaltech_0flash_v2_mmi.o
|
||||
focaltech_0flash_v2_mmi-objs += focaltech_core.o
|
||||
focaltech_0flash_v2_mmi-objs += focaltech_esdcheck.o
|
||||
focaltech_0flash_v2_mmi-objs += focaltech_ex_fun.o
|
||||
@@ -14,37 +10,17 @@ focaltech_0flash_v2_mmi-objs += focaltech_gesture.o
|
||||
focaltech_0flash_v2_mmi-objs += focaltech_point_report_check.o
|
||||
focaltech_0flash_v2_mmi-objs += focaltech_spi.o
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_INPUT_FOCALTECH_0FLASH_MMI_ENABLE_DOUBLE_TAP)),)
|
||||
EXTRA_CFLAGS += -DFOCALTECH_SENSOR_EN
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../../../sensors/$(GKI_OBJ_MODULE_DIR)/Module.symvers
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_INPUT_FOCALTECH_0FLASH_MMI_NOTIFY_TOUCH_STATE)),)
|
||||
EXTRA_CFLAGS += -DFTS_SET_TOUCH_STATE
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_INPUT_FOCALTECH_ESD_EN)),)
|
||||
EXTRA_CFLAGS += -DFOCALTECH_ESD_EN
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_INPUT_FOCALTECH_PANEL_NOTIFICATIONS)),)
|
||||
EXTRA_CFLAGS += -DFOCALTECH_CONFIG_PANEL_NOTIFICATIONS
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_INPUT_FOCALTECH_DEBUG_EN)),)
|
||||
EXTRA_CFLAGS += -DFOCALTECH_DEBUG_EN
|
||||
endif
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_ENABLE_DOUBLE_TAP) += -DFOCALTECH_SENSOR_EN
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_NOTIFY_TOUCH_STATE) += -DFTS_SET_TOUCH_STATE
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_ESD_EN) += -DFOCALTECH_ESD_EN
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_PANEL_NOTIFICATIONS) += -DFOCALTECH_CONFIG_PANEL_NOTIFICATIONS
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_DEBUG_EN) += -DFOCALTECH_DEBUG_EN
|
||||
|
||||
ifneq ($(filter ft8057,$(CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME)),)
|
||||
EXTRA_CFLAGS += -DCONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME_FT8057
|
||||
ccflags-y += -DCONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME_FT8057
|
||||
else
|
||||
ccflags-y += -DCONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME_FT8726
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_INPUT_FOCALTECH_PINCTRL_EN)),)
|
||||
EXTRA_CFLAGS += -DFOCALTECH_PINCTRL_EN
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_FOCALTECH_LAST_TIME)),)
|
||||
EXTRA_CFLAGS += -DFTS_LAST_TIME_EN
|
||||
endif
|
||||
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/../../kernel/msm-$(MODULE_KERNEL_VERSION)/Module.symvers
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_PINCTRL_EN) += -DFOCALTECH_PINCTRL_EN
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_LAST_TIME) += -DFTS_LAST_TIME_EN
|
||||
@@ -2,15 +2,80 @@
|
||||
# Focaltech Touchscreen driver configuration
|
||||
#
|
||||
|
||||
config TOUCHSCREEN_FTS
|
||||
bool "Focaltech Touchscreen"
|
||||
config INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI
|
||||
tristate "FocalTech Touchscreen Driver 0flash V2 MMI"
|
||||
default n
|
||||
help
|
||||
Say Y here if you have Focaltech touch panel.
|
||||
Say Y here if you wish to include support for FocalTech Touchscreen 0flash V2 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config TOUCHSCREEN_FTS_DIRECTORY
|
||||
string "Focaltech ts directory name"
|
||||
default "focaltech_touch"
|
||||
depends on TOUCHSCREEN_FTS
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called focaltech_0flash_v2_mmi.
|
||||
|
||||
if INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI
|
||||
|
||||
config INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_ENABLE_DOUBLE_TAP
|
||||
bool "FocalTech 0flash V2 MMI Double tap"
|
||||
depends on SENSORS_CLASS
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have Double tap support on Moto FocalTech 0flash V2.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_NOTIFY_TOUCH_STATE
|
||||
bool "FocalTech 0flash V2 MMI Notify touch state"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have Notify touch state support on Moto FocalTech 0flash V2.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_ESD_EN
|
||||
bool "FocalTech 0flash V2 MMI ESD"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have ESD support on Moto FocalTech 0flash V2.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_PANEL_NOTIFICATIONS
|
||||
bool "FocalTech 0flash V2 MMI Panel notifications"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have panel notifications support on Moto FocalTech 0flash V2.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_DEBUG_EN
|
||||
bool "FocalTech 0flash V2 MMI Debug"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have debug support on Moto FocalTech 0flash V2.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_IC_NAME
|
||||
string "FocalTech 0flash V2 MMI IC Name"
|
||||
default "ft8726"
|
||||
help
|
||||
Provide the IC name of the FocalTech 0flash V2 MMI device.
|
||||
|
||||
config INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_PINCTRL_EN
|
||||
bool "FocalTech 0flash V2 MMI Pinctrl"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have pinctrl support on Moto FocalTech 0flash V2.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI_LAST_TIME
|
||||
bool "FocalTech 0flash V2 MMI Timestamp"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have timestamp support on Moto FocalTech 0flash V2.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
endif
|
||||
@@ -1,68 +1,20 @@
|
||||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include \
|
||||
-I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/drivers/input/touchscreen/ili9882_mmi \
|
||||
-I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/drivers/input/touchscreen/ili9882_mmi/firmware
|
||||
ccflags-y += -I$(srctree)/drivers/input/touchscreen/ili9882_mmi/firmware
|
||||
|
||||
ifeq ($(filter m y, $(CONFIG_TOUCHSCREEN_ILITEK_CHIPSET)),)
|
||||
obj-m += ili9882_mmi.o
|
||||
endif
|
||||
obj-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI) += ili9882_mmi.o
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_INPUT_ILI_0FLASH_MMI_ENABLE_DOUBLE_TAP)),)
|
||||
EXTRA_CFLAGS += -DILI_SENSOR_EN
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../../../sensors/$(GKI_OBJ_MODULE_DIR)/Module.symvers
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_INPUT_ILI_0FLASH_MMI_NOTIFY_TOUCH_STATE)),)
|
||||
EXTRA_CFLAGS += -DILI_SET_TOUCH_STATE
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y, $(CONFIG_BOARD_USES_DOUBLE_TAP_CTRL)),)
|
||||
EXTRA_CFLAGS += -DCONFIG_BOARD_USES_DOUBLE_TAP_CTRL
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_INPUT_ILI_PANEL_NOTIFICATIONS)),)
|
||||
EXTRA_CFLAGS += -DILI_CONFIG_PANEL_NOTIFICATIONS
|
||||
endif
|
||||
ifneq ($(filter m y,$(CONFIG_ILITEK_RESUME_BY_DDI)),)
|
||||
EXTRA_CFLAGS += -DILI_CONFIG_RESUME_BY_DDI
|
||||
endif
|
||||
ifneq ($(filter m y,$(CONFIG_ILITEK_FW_PANEL)),)
|
||||
EXTRA_CFLAGS += -DILI_FW_PANEL
|
||||
endif
|
||||
ifneq ($(filter m y,$(CONFIG_ILITEK_SUSPEND_PWROFF)),)
|
||||
EXTRA_CFLAGS += -DILI_SUSPEND_PWROFF
|
||||
endif
|
||||
ifneq ($(filter m y,$(CONFIG_ILITEK_CHARGER)),)
|
||||
EXTRA_CFLAGS += -DILI_CONFIG_CHARGER
|
||||
endif
|
||||
ifneq ($(filter m y,$(CONFIG_ILITEK_ESD)),)
|
||||
EXTRA_CFLAGS += -DILI_CONFIG_ESD
|
||||
endif
|
||||
ifneq ($(filter m y,$(CONFIG_ILITEK_GESTURE)),)
|
||||
EXTRA_CFLAGS += -DILI_CONFIG_GESTURE
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_INPUT_ILITEK_MMI_PEN_NOTIFIER)),)
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../../../misc/pen/$(GKI_OBJ_MODULE_DIR)/Module.symvers
|
||||
EXTRA_CFLAGS += -DILITEK_PEN_NOTIFIER
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_ILITEK_PANEL_GESTURE)),)
|
||||
EXTRA_CFLAGS += -DILI_CONFIG_PANEL_GESTURE
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_DRM_PANEL_EVENT_NOTIFICATIONS)),)
|
||||
EXTRA_CFLAGS += -DCONFIG_DRM_PANEL_EVENT_NOTIFICATIONS
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_ILITEK_PASSIVE_PEN)),)
|
||||
EXTRA_CFLAGS += -DILI_PASSIVE_PEN
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_ILI_TOUCH_LAST_TIME)),)
|
||||
EXTRA_CFLAGS += -DILI_TOUCH_LAST_TIME
|
||||
endif
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_ENABLE_DOUBLE_TAP) += -DILI_SENSOR_EN
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_NOTIFY_TOUCH_STATE) += -DILI_SET_TOUCH_STATE
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_PANEL_NOTIFICATIONS) += -DILI_CONFIG_PANEL_NOTIFICATIONS
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_RESUME_BY_DDI) += -DILI_CONFIG_RESUME_BY_DDI
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_FW_PANEL) += -DILI_FW_PANEL
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_SUSPEND_PWROFF) += -DILI_SUSPEND_PWROFF
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_CHARGER) += -DILI_CONFIG_CHARGER
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_ESD) += -DILI_CONFIG_ESD
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_PEN_NOTIFIER) += -DILITEK_PEN_NOTIFIER
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_GESTURE) += -DILI_CONFIG_GESTURE
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_PANEL_GESTURE) += -DILI_CONFIG_PANEL_GESTURE
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_PASSIVE_PEN) += -DILI_PASSIVE_PEN
|
||||
ccflags-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI_LAST_TIME) += -DILI_TOUCH_LAST_TIME
|
||||
|
||||
ili9882_mmi-objs += ili9882.o
|
||||
ili9882_mmi-objs += ili9882_spi.o
|
||||
@@ -72,14 +24,11 @@ ili9882_mmi-objs += ili9882_touch.o
|
||||
ili9882_mmi-objs += ili9882_mp.o
|
||||
ili9882_mmi-objs += ili9882_hostdl.o
|
||||
ili9882_mmi-objs += ili9882_node.o
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_INPUT_TOUCHSCREEN_MMI)),)
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../touchscreen_mmi/$(GKI_OBJ_MODULE_DIR)/Module.symvers
|
||||
EXTRA_CFLAGS += -DCONFIG_INPUT_TOUCHSCREEN_MMI
|
||||
ccflags-y += -DCONFIG_INPUT_TOUCHSCREEN_MMI
|
||||
ili9882_mmi-objs += ili_mmi_class.o
|
||||
endif
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/../../kernel/msm-$(MODULE_KERNEL_VERSION)/Module.symvers
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_GTP_DDA_STYLUS)),)
|
||||
EXTRA_CFLAGS += -DCONFIG_MOTO_DDA_PASSIVESTYLUS
|
||||
ili9882_mmi-objs += moto_ts_dda.o
|
||||
endif
|
||||
ccflags-$(CONFIG_GTP_DDA_STYLUS) += -DCONFIG_MOTO_DDA_PASSIVESTYLUS
|
||||
ili9882_mmi-$(CONFIG_GTP_DDA_STYLUS) += moto_ts_dda.o
|
||||
@@ -0,0 +1,119 @@
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI
|
||||
tristate "Ilitek Touchscreen Driver 9882 MMI"
|
||||
default n
|
||||
help
|
||||
Say Y here if you wish to include support for Ilitek Touchscreen Driver 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called ili9882_mmi.
|
||||
|
||||
if INPUT_TOUCHSCREEN_ILI_9882_MMI
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_ENABLE_DOUBLE_TAP
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI Double tap"
|
||||
depends on SENSORS_CLASS
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have double tap support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_NOTIFY_TOUCH_STATE
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI Touch state"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have touch state support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_PANEL_NOTIFICATIONS
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI Panel notifications"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have panel notifications support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_RESUME_BY_DDI
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI Resume by DDI"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have resume by DDI support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_FW_PANEL
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI FW panel"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have FW panel support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_SUSPEND_PWROFF
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI Suspend power-off"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have suspend power-off support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_CHARGER
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI Charger"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have charger support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_ESD
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI ESD"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have ESD support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_PEN_NOTIFIER
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI Pen notifier"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have pen notifier support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_GESTURE
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI Gesture"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have gesture support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_PANEL_GESTURE
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI Panel gesture"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have panel gesture support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_PASSIVE_PEN
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI Passive pen"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have passive pen support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config INPUT_TOUCHSCREEN_ILI_9882_MMI_LAST_TIME
|
||||
bool "Ilitek Touchscreen Driver 9882 MMI Timestamp"
|
||||
default n
|
||||
help
|
||||
Say Y here if you want to have timestamp support on Ilitek 9882 MMI.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
endif
|
||||
@@ -1,5 +0,0 @@
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(TOP)/motorola/kernel/modules/include
|
||||
|
||||
|
||||
obj-m += ledtrig-sol.o
|
||||
@@ -129,4 +129,11 @@ config LEDS_TRIGGER_NETDEV
|
||||
This allows LEDs to be controlled by network device activity.
|
||||
If unsure, say Y.
|
||||
|
||||
config LEDS_TRIGGER_SOL
|
||||
tristate "LED Sign-of-life Trigger"
|
||||
depends on NET
|
||||
help
|
||||
This allows LEDs to be controlled by battery status.
|
||||
If unsure, say Y.
|
||||
|
||||
endif # LEDS_TRIGGERS
|
||||
@@ -13,3 +13,4 @@ obj-$(CONFIG_LEDS_TRIGGER_TRANSIENT) += ledtrig-transient.o
|
||||
obj-$(CONFIG_LEDS_TRIGGER_CAMERA) += ledtrig-camera.o
|
||||
obj-$(CONFIG_LEDS_TRIGGER_PANIC) += ledtrig-panic.o
|
||||
obj-$(CONFIG_LEDS_TRIGGER_NETDEV) += ledtrig-netdev.o
|
||||
obj-$(CONFIG_LEDS_TRIGGER_SOL) += ledtrig-sol.o
|
||||
@@ -653,6 +653,7 @@ source "drivers/misc/sx933x/Kconfig"
|
||||
source "drivers/misc/sx937x/Kconfig"
|
||||
source "drivers/misc/utag/Kconfig"
|
||||
source "drivers/misc/aw9610x/Kconfig"
|
||||
source "drivers/misc/ldo_vibrator_mmi/Kconfig"
|
||||
source "drivers/misc/regulator_vibrator_mmi/Kconfig"
|
||||
endmenu
|
||||
|
||||
|
||||
@@ -85,4 +85,5 @@ obj-$(CONFIG_MOTO_UTAGS) += utag/
|
||||
obj-$(CONFIG_SARSENSOR_SX933X) += sx933x/
|
||||
obj-$(CONFIG_SARSENSOR_SX937X) += sx937x/
|
||||
obj-$(CONFIG_AW9610X_SAR) += aw9610x/
|
||||
obj-$(CONFIG_LDO_VIBRATOR_MMI) += ldo_vibrator_mmi/
|
||||
obj-$(CONFIG_REGULATOR_VIBRATOR_MMI) += regulator_vibrator_mmi/
|
||||
@@ -1,12 +1,3 @@
|
||||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_VIBRATOR_NOISE_CAMERA)),)
|
||||
EXTRA_CFLAGS += -DCONFIG_VIBRATOR_NOISE_CAMERA
|
||||
endif
|
||||
|
||||
ldo_vibrator_mmi-y += moto_ldo_vibrator.o
|
||||
|
||||
obj-m += ldo_vibrator_mmi.o
|
||||
|
||||
obj-$(CONFIG_LDO_VIBRATOR_MMI) += ldo_vibrator_mmi.o
|
||||
@@ -0,0 +1,10 @@
|
||||
config LDO_VIBRATOR_MMI
|
||||
tristate "EXT Vibrator-LDO driver"
|
||||
help
|
||||
Say Y here if you have EXT Vibrator-LDO Device in
|
||||
your system.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called ldo_vibrator_mmi.
|
||||
@@ -1,5 +1,3 @@
|
||||
ccflags-$(CONFIG_VIBRATOR_NOISE_CAMERA) += -DCONFIG_VIBRATOR_NOISE_CAMERA
|
||||
|
||||
regulator_vibrator_mmi-y += moto_regulator_vibrator.o
|
||||
|
||||
obj-$(CONFIG_REGULATOR_VIBRATOR_MMI) += regulator_vibrator_mmi.o
|
||||
@@ -1,7 +1,7 @@
|
||||
config REGULATOR_VIBRATOR_MMI
|
||||
tristate "EXT Vibrator-LDO driver"
|
||||
tristate "EXT Vibrator-Regulator driver"
|
||||
help
|
||||
Say Y here if you have EXT Vibrator-LDO Device in
|
||||
Say Y here if you have EXT Vibrator-Regulator Device in
|
||||
your system.
|
||||
|
||||
If unsure, say N.
|
||||
@@ -11,6 +11,6 @@ config REGULATOR_VIBRATOR_MMI
|
||||
|
||||
config VIBRATOR_NOISE_CAMERA
|
||||
bool "Enable Vibrator Noise Camera"
|
||||
depends on REGULATOR_VIBRATOR_MMI
|
||||
depends on REGULATOR_VIBRATOR_MMI || REGULATOR_LDO_MMI
|
||||
help
|
||||
Enable Vibrator Noise Camera.
|
||||
@@ -1,7 +1 @@
|
||||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include
|
||||
|
||||
obj-m += st21nfc.o
|
||||
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../../mmi_info/Module.symvers
|
||||
obj-$(CONFIG_NFC_ST21NFC) += st21nfc.o
|
||||
@@ -7,9 +7,13 @@ source "drivers/power/qpnp-smbcharger-mmi/Kconfig"
|
||||
source "drivers/power/mmi_parallel_charger/Kconfig"
|
||||
source "drivers/power/mmi_parallel_charger_qc3p/Kconfig"
|
||||
source "drivers/power/bq2597x_mmi/Kconfig"
|
||||
source "drivers/power/bq2597x_mmi_iio/Kconfig"
|
||||
source "drivers/power/sgm4154x_chg_mmi/Kconfig"
|
||||
source "drivers/power/bq2589x_chg_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_qc3p_wt6670f/Kconfig"
|
||||
source "drivers/power/cw2217b_fg_mmi/Kconfig"
|
||||
source "drivers/power/sm5602_fg_mmi/Kconfig"
|
||||
source "drivers/power/rt9471_chg_mmi/Kconfig"
|
||||
@@ -8,9 +8,13 @@ obj-$(CONFIG_QPNP_SMBCHARGER_MMI) += qpnp-smbcharger-mmi/
|
||||
obj-$(CONFIG_MMI_PARALLEL_CHARGER) += mmi_parallel_charger/
|
||||
obj-$(CONFIG_MMI_PARALLEL_CHARGER_QC3P) += mmi_parallel_charger_qc3p/
|
||||
obj-$(CONFIG_BQ2597X_MMI) += bq2597x_mmi/
|
||||
obj-$(CONFIG_BQ2597X_MMI_IIO) += bq2597x_mmi_iio/
|
||||
obj-$(CONFIG_BQ2589X_CHARGER) += bq2589x_chg_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_QC3P_WT6670F) += mmi_qc3p_wt6670f/
|
||||
obj-$(CONFIG_SGM4154X_CHARGER) += sgm4154x_chg_mmi/
|
||||
obj-$(CONFIG_CW2217B_FG_MMI) += cw2217b_fg_mmi/
|
||||
obj-$(CONFIG_SM5602_FQ_MMI) += sm5602_fg_mmi/
|
||||
obj-$(CONFIG_RT9471_CHG_MMI) += rt9471_chg_mmi/
|
||||
@@ -1,4 +1 @@
|
||||
ccflags-$(CONFIG_BQ2589X_MMI_QC3P_TURBO_CHARGER) += -DCONFIG_MMI_QC3P_TURBO_CHARGER
|
||||
ccflags-$(CONFIG_BQ2589X_MMI_QC3P_WT6670_DETECTED) += -DCONFIG_MMI_QC3P_WT6670_DETECTED
|
||||
|
||||
obj-$(CONFIG_BQ2589X_CHARGER) += bq2589x_charger.o
|
||||
@@ -22,15 +22,6 @@ config BQ2589X_MMI_QC3P_TURBO_CHARGER
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config BQ2589X_MMI_QC3P_WT6670_DETECTED
|
||||
bool "Enable BQ2589X Moto QC3P WT6670"
|
||||
depends on BQ2589X_CHARGER
|
||||
default n
|
||||
help
|
||||
Say Y here if you have a BQ2589X Moto QC3P WT6670 compatible device connected.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config MMI_EXT_CHG_LED
|
||||
bool "Enable MMI external charger LED"
|
||||
default n
|
||||
|
||||
@@ -1,7 +1 @@
|
||||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include \
|
||||
-I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/drivers/power/bq2597x_mmi_iio
|
||||
|
||||
obj-m += bq2597x_mmi_iio.o
|
||||
|
||||
obj-$(CONFIG_BQ2597X_MMI_IIO) += bq2597x_mmi_iio.o
|
||||
@@ -0,0 +1,9 @@
|
||||
config BQ2597X_MMI_IIO
|
||||
tristate "BQ2597X MMI IIO"
|
||||
default n
|
||||
help
|
||||
Say Y here if you have a bq2597x iio compatible
|
||||
device connected.
|
||||
|
||||
This driver can also be built as a module. If so, the module
|
||||
will be called bq2597x_mmi_iio.
|
||||
@@ -1,13 +1,4 @@
|
||||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include \
|
||||
-I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/drivers/power/mmi_discrete_turbo_charger
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_MMI_QC3P_WT6670_DETECTED)),)
|
||||
EXTRA_CFLAGS += -DCONFIG_MMI_QC3P_WT6670_DETECTED
|
||||
endif
|
||||
|
||||
obj-m += mmi_discrete_turbo_charger.o
|
||||
obj-$(CONFIG_MMI_DISCRETE_TURBO_CHARGER) += mmi_discrete_turbo_charger.o
|
||||
mmi_discrete_turbo_charger-objs += mmi_charger_class.o
|
||||
mmi_discrete_turbo_charger-objs += mmi_charger_core.o
|
||||
mmi_discrete_turbo_charger-objs += mmi_charger_pump_policy.o
|
||||
@@ -15,8 +6,3 @@ mmi_discrete_turbo_charger-objs += mmi_cp_charger.o
|
||||
mmi_discrete_turbo_charger-objs += qpnp_pmic_charger.o
|
||||
mmi_discrete_turbo_charger-objs += mmi_qc3p.o
|
||||
mmi_discrete_turbo_charger-objs += mmi_qc3p_cp_policy.o
|
||||
|
||||
#ifeq ($(CONFIG_MMI_PL_CP_POLICY), y)
|
||||
#endif
|
||||
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../../usb/typec/adapter_class/$(GKI_OBJ_MODULE_DIR)/Module.symvers
|
||||
@@ -0,0 +1,12 @@
|
||||
config MMI_DISCRETE_TURBO_CHARGER
|
||||
tristate "MMI Discrete Turbo Charger Driver"
|
||||
depends on ADAPTER_CLASS && MMI_CHARGER
|
||||
default n
|
||||
help
|
||||
Say Y here if you have mmi discrete turbo charger support
|
||||
in your system.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called mmi_discrete_turbo_charger.
|
||||
@@ -1,9 +1,2 @@
|
||||
# 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/mmi_qc3p_wt6670f
|
||||
ifneq ($(filter m y,$(CONFIG_MMI_QC3P_TURBO_CHARGER_ISP_5G)),)
|
||||
EXTRA_CFLAGS += -DCONFIG_MMI_QC3P_TURBO_CHARGER_ISP_5G
|
||||
endif
|
||||
mmi_qc3p_wt6670f-objs += wt6670f_qc3p.o wt6670f_upgrade.o
|
||||
obj-m += mmi_qc3p_wt6670f.o
|
||||
obj-$(CONFIG_MMI_QC3P_WT6670F) += mmi_qc3p_wt6670f.o
|
||||
@@ -0,0 +1,46 @@
|
||||
config MMI_QC3P_WT6670F
|
||||
tristate "MMI QC3P WT6670F Driver"
|
||||
depends on ADAPTER_CLASS && MMI_CHARGER
|
||||
default n
|
||||
help
|
||||
Say Y here if you have mmi qc3p wt6670f support
|
||||
in your system.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called mmi_qc3p_wt6670f.
|
||||
|
||||
config MMI_QC3P_WT6670_DETECTED
|
||||
bool "Enable MMI QC3P WT6670 detection"
|
||||
depends on MMI_QC3P_WT6670F
|
||||
default n
|
||||
help
|
||||
Say Y here to enable mmi QC3P WT6670 detection.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config MMI_QC3P_Z350_DETECTED
|
||||
bool "Enable MMI QC3P Z350 detection"
|
||||
depends on MMI_QC3P_WT6670F
|
||||
default n
|
||||
help
|
||||
Say Y here to enable mmi QC3P Z350 detection.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config MMI_QC3P_TURBO_CHARGER
|
||||
bool "Enable MMI QC3P Turbo Charger"
|
||||
default n
|
||||
help
|
||||
Say Y here to enable mmi QC3P Turbo Charger.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config MMI_QC3P_TURBO_CHARGER_ISP_5G
|
||||
bool "Enable MMI QC3P Turbo Charger ISP 5G"
|
||||
default n
|
||||
help
|
||||
Say Y here to enable mmi QC3P Turbo Charger ISP 5G.
|
||||
|
||||
If unsure, say N.
|
||||
@@ -1,16 +1 @@
|
||||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include \
|
||||
-I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/drivers/power/rt9471_chg_mmi
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_MMI_QC3P_TURBO_CHARGER)),)
|
||||
EXTRA_CFLAGS += -DCONFIG_MMI_QC3P_TURBO_CHARGER
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_MMI_QC3P_WT6670_DETECTED)),)
|
||||
EXTRA_CFLAGS += -DCONFIG_MMI_QC3P_WT6670_DETECTED
|
||||
endif
|
||||
|
||||
obj-m += rt9471_charger.o
|
||||
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../mmi_discrete_charger/$(GKI_OBJ_MODULE_DIR)/Module.symvers
|
||||
obj-$(CONFIG_RT9471_CHG_MMI) += rt9471_charger.o
|
||||
@@ -0,0 +1,12 @@
|
||||
config RT9471_CHG_MMI
|
||||
tristate "MMI RT9471 Charger Driver"
|
||||
depends on ADAPTER_CLASS && MMI_CHARGER
|
||||
default n
|
||||
help
|
||||
Say Y here if you have mmi rt9471 support
|
||||
in your system.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called rt9471_charger.
|
||||
@@ -1,5 +1 @@
|
||||
ccflags-$(CONFIG_SGM4154X_MMI_QC3P_TURBO_CHARGER) += -DCONFIG_MMI_QC3P_TURBO_CHARGER
|
||||
ccflags-$(CONFIG_SGM4154X_MMI_QC3P_WT6670_DETECTED) += -DCONFIG_MMI_QC3P_WT6670_DETECTED
|
||||
ccflags-$(CONFIG_SGM4154X_MMI_SGM41513_CHARGER) += -DCONFIG_MMI_SGM41513_CHARGER
|
||||
|
||||
obj-$(CONFIG_SGM4154X_CHARGER) += sgm4154x_charger.o
|
||||
@@ -13,25 +13,7 @@ config SGM4154X_CHARGER
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called sgm415x_charger.
|
||||
|
||||
config SGM4154X_MMI_QC3P_TURBO_CHARGER
|
||||
bool "Enable SGM4154X Moto QC3P Turbo Charger"
|
||||
depends on SGM4154X_CHARGER
|
||||
default n
|
||||
help
|
||||
Say Y here if you have a SGM4154X Moto QC3P turbo charger compatible device connected.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config SGM4154X_MMI_QC3P_WT6670_DETECTED
|
||||
bool "Enable SGM4154X Moto QC3P WT6670"
|
||||
depends on SGM4154X_CHARGER
|
||||
default n
|
||||
help
|
||||
Say Y here if you have a SGM4154X Moto QC3P WT6670 compatible device connected.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config SGM4154X_MMI_SGM41513_CHARGER
|
||||
config MMI_SGM41513_CHARGER
|
||||
bool "Enable SGM4154X Moto SGM41513 Charger"
|
||||
depends on SGM4154X_CHARGER
|
||||
default n
|
||||
|
||||
Reference in new issue
Block a user