apq8098_latv: Initial commit for new target apq8098_latv

Change-Id: Ifb214a75e1477dfd48d1b2e9f696cac37acf6cf9
This commit is contained in:
Venkataraman Nerellapalli 2017-05-04 11:02:14 +05:30 committed by Gerrit - the friendly Code Review server
parent 8207a8b990
commit b87b15d5b0
9 changed files with 33 additions and 11 deletions

12
base.mk
View File

@ -19,6 +19,7 @@ QCOM_BOARD_PLATFORMS += msm8952
QCOM_BOARD_PLATFORMS += msm8937
QCOM_BOARD_PLATFORMS += msm8953
QCOM_BOARD_PLATFORMS += msm8998
QCOM_BOARD_PLATFORMS += apq8098_latv
QCOM_BOARD_PLATFORMS += sdm660
QCOM_BOARD_PLATFORMS += sdm845
@ -27,10 +28,10 @@ QSD8K_BOARD_PLATFORMS := qsd8k
TARGET_USE_VENDOR_CAMERA_EXT := true
#List of targets that use video hw
MSM_VIDC_TARGET_LIST := msm8974 msm8610 msm8226 apq8084 msm8916 msm8994 msm8909 msm8992 msm8996 msm8952 msm8937 msm8953 msm8998 sdm660 sdm845
MSM_VIDC_TARGET_LIST := msm8974 msm8610 msm8226 apq8084 msm8916 msm8994 msm8909 msm8992 msm8996 msm8952 msm8937 msm8953 msm8998 apq8098_latv sdm660 sdm845
#List of targets that use master side content protection
MASTER_SIDE_CP_TARGET_LIST := msm8996 msm8998 sdm660 sdm845
MASTER_SIDE_CP_TARGET_LIST := msm8996 msm8998 sdm660 sdm845 apq8098_latv
# Below projects/packages with LOCAL_MODULEs will be used by
# PRODUCT_PACKAGES to build LOCAL_MODULEs that are tagged with
@ -104,6 +105,7 @@ AUDIO_HARDWARE += audio.primary.msmgold
AUDIO_HARDWARE += audio.primary.msm8998
AUDIO_HARDWARE += audio.primary.sdm660
AUDIO_HARDWARE += audio.primary.sdm845
AUDIO_HARDWARE += audio.primary.apq8098_latv
#
AUDIO_POLICY := audio_policy.mpq8064
AUDIO_POLICY += audio_policy.apq8084
@ -371,6 +373,7 @@ LIBCAMERA += camera.msm8994
LIBCAMERA += camera.msm8992
LIBCAMERA += camera.msm8996
LIBCAMERA += camera.msm8998
LIBCAMERA += camera.apq8098_latv
LIBCAMERA += camera.sdm660
LIBCAMERA += camera.msm8952
LIBCAMERA += camera.msm8937
@ -411,6 +414,7 @@ LIBCOPYBIT += copybit.msm8998
LIBCOPYBIT += copybit.sdm630
LIBCOPYBIT += copybit.sdm660
LIBCOPYBIT += copybit.sda630
LIBCOPYBIT += copybit.apq8098_latv
#LIBGESTURES
LIBGESTURES := libgestures
@ -441,6 +445,7 @@ LIBGRALLOC += gralloc.msm8937
LIBGRALLOC += gralloc.msm8953
LIBGRALLOC += gralloc.msm8998
LIBGRALLOC += gralloc.sdm845
LIBGRALLOC += gralloc.apq8098_latv
LIBGRALLOC += libmemalloc
LIBGRALLOC += gralloc.sdm630
LIBGRALLOC += gralloc.sdm660
@ -462,6 +467,7 @@ LIBMEMTRACK += memtrack.msm8953
LIBMEMTRACK += memtrack.msm8998
LIBMEMTRACK += memtrack.sdm660
LIBMEMTRACK += memtrack.sdm845
LIBMEMTRACK += memtrack.apq8098_latv
#LIBLIGHTS
LIBLIGHTS := lights.msm8660
@ -487,6 +493,7 @@ LIBLIGHTS += lights.msm8953
LIBLIGHTS += lights.msm8998
LIBLIGHTS += lights.sdm660
LIBLIGHTS += lights.sdm845
LIBLIGHTS += lights.apq8098_latv
#LIBHWCOMPOSER
LIBHWCOMPOSER := hwcomposer.msm8660
@ -513,6 +520,7 @@ LIBHWCOMPOSER += hwcomposer.msm8953
LIBHWCOMPOSER += hwcomposer.msm8998
LIBHWCOMPOSER += hwcomposer.sdm660
LIBHWCOMPOSER += hwcomposer.sdm845
LIBHWCOMPOSER += hwcomposer.apq8098_latv
#LIBAUDIOPARAM -- Exposing AudioParameter as dynamic library for SRS TruMedia to work
LIBAUDIOPARAM := libaudioparameter

View File

@ -49,7 +49,7 @@ ifeq ($(call is-board-platform-in-list,msm8953), true)
LOCAL_SRC_FILES += power-8953.c
endif
ifeq ($(call is-board-platform-in-list,msm8998), true)
ifeq ($(call is-board-platform-in-list,msm8998 apq8098_latv), true)
LOCAL_SRC_FILES += power-8998.c
endif

View File

@ -178,7 +178,7 @@ config_bt ()
setprop ro.bluetooth.hfp.ver 1.7
fi
;;
"msm8998")
"msm8998" | "apq8098_latv")
setprop ro.bluetooth.hfp.ver 1.6
;;
*)

View File

@ -1221,6 +1221,10 @@ enable_dcc_config()
echo "Enabling DCC config for sdm660."
enable_sdm660_dcc_config
;;
"apq8098_latv")
echo "Enabling DCC config for apq8098_latv."
enable_msm8998_dcc_config
;;
"msm8953")
echo "Enabling DCC config for 8953."
@ -1294,6 +1298,10 @@ enable_osm_wdog_status_config()
echo "Enabling OSM WDOG status registers for msm8998"
enable_msm8998_osm_wdog_status_config
;;
"apq8098_latv")
echo "Enabling OSM WDOG status registers for apq8098_latv"
enable_msm8998_osm_wdog_status_config
;;
esac
}
@ -1307,6 +1315,11 @@ enable_core_gladiator_hang_config()
enable_msm8998_core_hang_config
enable_msm8998_gladiator_hang_config
;;
"apq8098_latv")
echo "Enabling core & gladiator config for apq8098_latv"
enable_msm8998_core_hang_config
enable_msm8998_gladiator_hang_config
;;
esac
}

View File

@ -226,7 +226,7 @@ case "$target" in
;;
esac
;;
"msm8998")
"msm8998" | "apq8098_latv")
case "$soc_hwplatform" in
*)
setprop ro.sf.lcd_density 560

View File

@ -2409,7 +2409,7 @@ case "$target" in
esac
case "$target" in
"msm8998")
"msm8998" | "apq8098_latv")
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus
echo 60 > /sys/devices/system/cpu/cpu4/core_ctl/busy_up_thres
@ -2510,7 +2510,7 @@ case "$target" in
fi
case "$soc_id" in
"292") #msm8998
"292") #msm8998 apq8098_latv
# Start Host based Touch processing
case "$hw_platform" in
"QRD")
@ -2647,7 +2647,7 @@ case "$target" in
start mpdecision
echo 512 > /sys/block/mmcblk0/bdi/read_ahead_kb
;;
"msm8994" | "msm8992" | "msm8996" | "msm8998" | "sdm660")
"msm8994" | "msm8992" | "msm8996" | "msm8998" | "sdm660" | "apq8098_latv")
setprop sys.post_boot.parsed 1
;;
"apq8084")

View File

@ -252,7 +252,7 @@ case "$target" in
;;
esac
;;
"msm8994" | "msm8992" | "msm8998")
"msm8994" | "msm8992" | "msm8998" | "apq8098_latv")
start_msm_irqbalance
;;
"msm8996")

View File

@ -162,7 +162,7 @@ case "$usb_config" in
"msm8952" | "msm8953")
setprop persist.sys.usb.config diag,serial_smd,rmnet_ipa,adb
;;
"msm8998" | "sdm660" | "sdm845")
"msm8998" | "sdm660" | "sdm845" | "apq8098_latv")
setprop persist.sys.usb.config diag,serial_cdev,rmnet,adb
;;
*)
@ -188,7 +188,7 @@ case "$target" in
setprop sys.usb.rndis.func.name "rndis_bam"
setprop sys.usb.rmnet.func.name "rmnet_bam"
;;
"msm8998")
"msm8998" | "apq8098_latv")
setprop sys.usb.controller "a800000.dwc3"
setprop sys.usb.rndis.func.name "gsi"
setprop sys.usb.rmnet.func.name "gsi"

1
vendorsetup.sh Executable file → Normal file
View File

@ -53,3 +53,4 @@ add_lunch_combo msm8998_32-userdebug
add_lunch_combo sdm660_64-userdebug
add_lunch_combo sdm660_32-userdebug
add_lunch_combo sdm845-userdebug
add_lunch_combo apq8098_latv-userdebug