sycamore_row_5G: restore MT6377 NTC thermal zones
This commit is contained in:
parent
d1ef92d873
commit
40531fa43a
3 changed files with 6 additions and 0 deletions
|
|
@ -108,3 +108,8 @@ PRODUCT_COPY_FILES += \
|
|||
# recovery formats local timestamps.
|
||||
PRODUCT_COPY_FILES += \
|
||||
system/timezone/output_data/iana/tzdata:$(TARGET_COPY_OUT_RECOVERY)/root/system/usr/share/zoneinfo/tzdata
|
||||
|
||||
# Stock MT8755 / MT6377 TIA NTC thermal provider.
|
||||
# Restores ap_ntc, ltepa_ntc, nrpa_ntc, and tsx_ntc in recovery.
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/recovery/root/thermal-modules/board_temp.ko:$(TARGET_COPY_OUT_RECOVERY)/root/thermal-modules/board_temp.ko
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ on init
|
|||
# Stock vendor_dlkm generic-ADC thermal provider for NTC sensors.
|
||||
# Required for usb_ntc and the MTK USB burn protection worker.
|
||||
insmod /thermal-modules/thermal-generic-adc.ko
|
||||
insmod /thermal-modules/board_temp.ko
|
||||
|
||||
insmod /lib/modules/mediatek-cpufreq-hw.ko
|
||||
|
||||
|
|
|
|||
BIN
recovery/root/thermal-modules/board_temp.ko
Normal file
BIN
recovery/root/thermal-modules/board_temp.ko
Normal file
Binary file not shown.
Loading…
Reference in a new issue