mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
bq25890: commit initial version
Commit a copy of the bq25890 driver from the core kernel drivers. We will need to make changes. Change-Id: I5c5dfe19e19bec4f3c1ae4f24e6947213894604e Signed-off-by: Ryan Lattrel <ryanl@motorola.com> Reviewed-on: https://gerrit.mot.com/1888564 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Ling Jin <lingjin@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
ff8a553a09
commit
18a12c1e32
3 changed files with 1036 additions and 0 deletions
11
drivers/power/bq25890_mmi/Android.mk
Executable file
11
drivers/power/bq25890_mmi/Android.mk
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
DLKM_DIR := motorola/kernel/modules
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := bq25890_charger_mmi.ko
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
|
||||
KBUILD_OPTIONS_GKI += GKI_OBJ_MODULE_DIR=gki
|
||||
include $(DLKM_DIR)/AndroidKernelModule.mk
|
||||
|
||||
include $(call first-makefiles-under,$(LOCAL_PATH))
|
||||
5
drivers/power/bq25890_mmi/Kbuild
Executable file
5
drivers/power/bq25890_mmi/Kbuild
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include
|
||||
|
||||
obj-m += bq25890_charger_mmi.o
|
||||
1020
drivers/power/bq25890_mmi/bq25890_charger_mmi.c
Executable file
1020
drivers/power/bq25890_mmi/bq25890_charger_mmi.c
Executable file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue