sycamore_row_5G: restore MT6377 NTC thermal zones

This commit is contained in:
Nicholas Andrew 2026-09-01 19:58:38 -04:00
commit 40531fa43a
3 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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

Binary file not shown.