meta-digi: Add battery configuration and module autoload for CCIMX51JS.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
b71d8395d5
commit
2e73bd974d
|
|
@ -21,10 +21,12 @@ MACHINE_EXTRA_RRECOMMENDS += "kernel-module-mma7455l \"
|
||||||
MACHINE_EXTRA_RRECOMMENDS += "kernel-module-scc2-driver \"
|
MACHINE_EXTRA_RRECOMMENDS += "kernel-module-scc2-driver \"
|
||||||
MACHINE_EXTRA_RRECOMMENDS += "kernel-module-sahara \"
|
MACHINE_EXTRA_RRECOMMENDS += "kernel-module-sahara \"
|
||||||
MACHINE_EXTRA_RRECOMMENDS += "kernel-module-mt9v111-camera \"
|
MACHINE_EXTRA_RRECOMMENDS += "kernel-module-mt9v111-camera \"
|
||||||
|
MACHINE_EXTRA_RRECOMMENDS += "kernel-module-pmic_battery \"
|
||||||
|
|
||||||
module_autoload_mma7455l = "mma7455l"
|
module_autoload_mma7455l = "mma7455l"
|
||||||
module_autoload_scc2_driver = "scc2_driver"
|
module_autoload_scc2_driver = "scc2_driver"
|
||||||
module_autoload_sahara = "sahara"
|
module_autoload_sahara = "sahara"
|
||||||
module_autoload_mt9v111_camera = "mt9v111_camera"
|
module_autoload_mt9v111_camera = "mt9v111_camera"
|
||||||
|
module_autoload_pmic_battery = "pmic_battery"
|
||||||
|
|
||||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-module-redpine"
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-module-redpine"
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ SRCREV_mx5 = "${AUTOREV}"
|
||||||
LOCALVERSION_mx5 = "mx5+master"
|
LOCALVERSION_mx5 = "mx5+master"
|
||||||
|
|
||||||
KERNEL_CFG_FRAGS_mx5 = "file://config-accel-module.cfg file://config-sahara-module.cfg file://config-camera-module.cfg"
|
KERNEL_CFG_FRAGS_mx5 = "file://config-accel-module.cfg file://config-sahara-module.cfg file://config-camera-module.cfg"
|
||||||
|
KERNEL_CFG_FRAGS_ccimx51js_mx5 = "file://config-battery-module.cfg"
|
||||||
SRC_URI = "${DIGI_LOG_GIT}linux-2.6.git;protocol=git;branch=refs/heads/master \
|
SRC_URI = "${DIGI_LOG_GIT}linux-2.6.git;protocol=git;branch=refs/heads/master \
|
||||||
file://defconfig \
|
file://defconfig \
|
||||||
${KERNEL_CFG_FRAGS} \
|
${KERNEL_CFG_FRAGS} \
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
CONFIG_MXC_MC13892_BATTERY=m
|
||||||
|
CONFIG_MXC_MC13892_BATTERY_DEFAULT_CHARGING_CURRENT=40
|
||||||
|
|
||||||
|
|
@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425
|
||||||
|
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
|
||||||
|
RDEPENDS_${PN} = "kernel-module-pmic_battery"
|
||||||
|
|
||||||
SRC_URI = "file://battery_test"
|
SRC_URI = "file://battery_test"
|
||||||
|
|
||||||
S = "${WORKDIR}/battery_test"
|
S = "${WORKDIR}/battery_test"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue