DavidWithTuxedo / android_kernel_vivo_y81

Broken Source From Official
Other
1 stars 2 forks source link

[TBD] Current Status about broken kernel source #3

Open DavidWithTuxedo opened 1 year ago

DavidWithTuxedo commented 1 year ago

commit-id: 8e2825841c0a4c1c41b9aeb69ac2ea2c1b9039cc

CC      drivers/misc/mediatek/rtc/mtk_rtc_common.o
drivers/misc/mediatek/rtc/mtk_rtc_common.c:76:30: fatal error: charge_interface.h: No such file or directory
 #include <charge_interface.h>
                              ^
compilation terminated.

After marking it,

error: implicit declaration of function ‘get_platform_charger_detect’

Remove that "rtc" folder,

LD      drivers/usb/built-in.o
  LD      drivers/built-in.o
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
drivers/built-in.o: In function `musb_hal_is_vbus_exist':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/usb20/mt6765/usb20.c:624: undefined reference to `upmu_is_chr_det'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/usb20/mt6765/usb20.c:624: undefined reference to `upmu_is_chr_det'
drivers/built-in.o: In function `_set_vbus':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/usb20/mt6765/usb20_host.c:218: undefined reference to `config_otg_mode'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/usb20/mt6765/usb20_host.c:205: undefined reference to `config_otg_mode'
drivers/built-in.o: In function `fgauge_get_zcv':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:1256: undefined reference to `is_power_path_supported'
drivers/built-in.o: In function `fgauge_set_nafg_intr_internal':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:1312: undefined reference to `is_power_path_supported'
drivers/built-in.o: In function `read_hw_ocv_6357_power_on':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:608: undefined reference to `is_power_path_supported'
drivers/built-in.o: In function `read_hw_ocv_6357_plug_in':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:565: undefined reference to `is_power_path_supported'
drivers/built-in.o: In function `fgauge_get_rtc_ui_soc':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:1807: undefined reference to `get_rtc_spare_fg_value'
drivers/built-in.o: In function `fgauge_set_reset_status':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:1835: undefined reference to `get_rtc_spare_fg_value'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:1838: undefined reference to `set_rtc_spare_fg_value'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:1841: undefined reference to `get_rtc_spare_fg_value'
drivers/built-in.o: In function `fgauge_set_rtc_ui_soc':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:1789: undefined reference to `get_rtc_spare_fg_value'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:1797: undefined reference to `set_rtc_spare_fg_value'
drivers/built-in.o: In function `fgauge_read_RTC_boot_status':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:205: undefined reference to `get_rtc_spare_fg_value'
drivers/built-in.o: In function `do_ptim_internal':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/pmic_throttling_dlpt.c:610: undefined reference to `is_power_path_supported'
drivers/built-in.o: In function `pmic_get_battery_voltage':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mtk_battery_adc_intf.c:34: undefined reference to `is_power_path_supported'
drivers/built-in.o: In function `pmic_get_charging_current':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mtk_battery_adc_intf.c:125: undefined reference to `is_power_path_supported'
drivers/built-in.o: In function `config_ap_side_feature':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/eccci/ccci_modem.c:901: undefined reference to `crystal_exist_status'
drivers/built-in.o: In function `battery_get_property':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/power/supply/mediatek/battery/mtk_battery.c:859: undefined reference to `vivo_battery_get_uisoc'
drivers/built-in.o: In function `get_dynamic_period':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/power/supply/mediatek/misc/mtk_gauge_time_service.c:384: undefined reference to `vivo_get_dynamic_period'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/power/supply/mediatek/misc/mtk_gauge_time_service.c:385: undefined reference to `vivo_get_dynamic_period'
drivers/built-in.o: In function `arch_reset':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/watchdog/mediatek/wdk/wd_api.c:689: undefined reference to `rtc_mark_kpoc'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/watchdog/mediatek/wdk/wd_api.c:680: undefined reference to `rtc_mark_recovery'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/watchdog/mediatek/wdk/wd_api.c:682: undefined reference to `rtc_mark_fast'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/watchdog/mediatek/wdk/wd_api.c:691: undefined reference to `rtc_mark_bsptmode'
drivers/built-in.o: In function `pmic_chrdet_init':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/pmic_chr_type_det_v2.c:490: undefined reference to `do_chrdet_int_task_pmic'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/aarch64-linux-gnu-6.3/bin/aarch64-linux-gnu-ld: drivers/built-in.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `do_chrdet_int_task_pmic' can not be used when making a shared object; recompile with -fPIC
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/pmic_chr_type_det_v2.c:490: undefined reference to `do_chrdet_int_task_pmic'
Makefile:978: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

Merely "undef macro in mtk_rtc_common.c"

LD      drivers/built-in.o
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
drivers/built-in.o: In function `musb_hal_is_vbus_exist':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/usb20/mt6765/usb20.c:624: undefined reference to `upmu_is_chr_det'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/usb20/mt6765/usb20.c:624: undefined reference to `upmu_is_chr_det'
drivers/built-in.o: In function `_set_vbus':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/usb20/mt6765/usb20_host.c:218: undefined reference to `config_otg_mode'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/usb20/mt6765/usb20_host.c:205: undefined reference to `config_otg_mode'
drivers/built-in.o: In function `fgauge_get_zcv':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:1256: undefined reference to `is_power_path_supported'
drivers/built-in.o: In function `fgauge_set_nafg_intr_internal':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:1312: undefined reference to `is_power_path_supported'
drivers/built-in.o: In function `read_hw_ocv_6357_power_on':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:608: undefined reference to `is_power_path_supported'
drivers/built-in.o: In function `read_hw_ocv_6357_plug_in':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/mt6357_gauge.c:565: undefined reference to `is_power_path_supported'
drivers/built-in.o: In function `do_ptim_internal':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/pmic_throttling_dlpt.c:610: undefined reference to `is_power_path_supported'
drivers/built-in.o:/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mtk_battery_adc_intf.c:34: more undefined references to `is_power_path_supported' follow
drivers/built-in.o: In function `rtc_bbpu_power_down':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/rtc/mtk_rtc_common.c:428: undefined reference to `mtk_chr_is_charger_exist'
drivers/built-in.o: In function `mt_power_off':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/rtc/mtk_rtc_common.c:469: undefined reference to `mtk_chr_is_charger_exist'
drivers/built-in.o: In function `battery_get_property':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/power/supply/mediatek/battery/mtk_battery.c:859: undefined reference to `vivo_battery_get_uisoc'
drivers/built-in.o: In function `get_dynamic_period':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/power/supply/mediatek/misc/mtk_gauge_time_service.c:384: undefined reference to `vivo_get_dynamic_period'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/power/supply/mediatek/misc/mtk_gauge_time_service.c:385: undefined reference to `vivo_get_dynamic_period'
drivers/built-in.o: In function `pmic_chrdet_init':
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/pmic_chr_type_det_v2.c:490: undefined reference to `do_chrdet_int_task_pmic'
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/aarch64-linux-gnu-6.3/bin/aarch64-linux-gnu-ld: drivers/built-in.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `do_chrdet_int_task_pmic' can not be used when making a shared object; recompile with -fPIC
/home/runner/work/android_kernel_vivo_y81/android_kernel_vivo_y81/src/drivers/misc/mediatek/pmic/mt6357/v1/pmic_chr_type_det_v2.c:490: undefined reference to `do_chrdet_int_task_pmic'
Makefile:978: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
DavidWithTuxedo commented 1 year ago

Missing files

/drivers/power/supply/vivo/battery.c
/drivers/power/supply/vivo/power_control.c
/drivers/power/supply/vivo/battery_interface.c
/drivers/power/supply/vivo/bq25890h.c
/drivers/power/supply/vivo/bq25601d.c
---------------------------
/drivers/power/supply/vivo/charge_interface.h

Conclusion

Those funcs implemented here

DavidWithTuxedo commented 1 year ago

Symbols Here

---- drivers/power/supply
ffffff8008992df0 t battery_property_is_writeable
ffffff8008992e00 t battery_respond_switch
ffffff8008992e40 t battery_respond_cable_in
ffffff8008992ec0 t battery_respond_cable
ffffff8008992f60 t battery_pm_restore_noirq
ffffff8008992f68 t battery_get_current
ffffff8008992fc0 t battery_get_voltage_avg
ffffff8008993018 t battery_get_ui_soc_ready
ffffff8008993070 t battery_get_ui_soc
ffffff8008993138 t battery_temperature_check
ffffff8008993258 t battery_voltage_check
ffffff8008993300 t battery_vendor_check
ffffff8008993380 t store_charger_voltage
ffffff80089933d0 t store_charger_type
ffffff8008993420 t store_fg_coulomb
ffffff8008993470 t store_fg_current
ffffff80089934c0 t store_vbat
ffffff8008993510 t battery_set_property
ffffff8008993558 t battery_get_property
ffffff8008993700 t wireless_get_property
ffffff8008993740 t usb_get_property
ffffff8008993780 t ac_get_property
ffffff80089937c0 t battery_get_voltage
ffffff8008993818 t battery_get_status
ffffff8008993870 t pc_battery_init
ffffff8008993c88 t battery_get_data
ffffff8008993fb8 t battery_respond_cable_out
ffffff8008994058 t show_operate
ffffff8008994080 t battery_dts_probe
ffffff8008994160 t battery_notify_probe
ffffff80089941d8 t show_battery_notify
ffffff8008994260 t show_test_battery_level
ffffff8008994310 t show_warning_notify
ffffff8008994380 t show_charging_sleep
ffffff80089943f0 t show_fast_charge_condition
ffffff80089944a0 t show_cooperation_contract
ffffff8008994510 t show_charge_hiz
ffffff8008994548 t show_charge_enable
ffffff8008994580 t show_charge_protection
ffffff80089945f0 t show_charger_voltage
ffffff80089946a8 t show_charger_type
ffffff8008994718 t show_low_volt_threshold
ffffff8008994788 t show_call_state
ffffff80089947f8 t show_fg_coulomb
ffffff80089948a8 t show_fg_current
ffffff8008994980 t show_vbat
ffffff8008994a18 t bat_log_write
ffffff8008994bb0 t store_operate
ffffff8008994d10 t store_warning_notify
ffffff8008994df8 t store_cooperation_contract
ffffff8008994ee0 t store_low_volt_threshold
ffffff8008994fa0 t store_call_state
ffffff8008995070 t store_charging_sleep
ffffff8008995150 t store_fast_charge_condition
ffffff8008995220 t store_charge_enable
ffffff8008995318 t store_charge_protection
ffffff80089953f8 t store_charge_hiz
ffffff8008995550 t battery_probe
ffffff8008995810 T battery_id_register
ffffff80089958c0 t bat_ctrl_cmd
ffffff80089959e8 t battery_sync_battery_full
ffffff8008995a48 t battery_get_vendor
ffffff8008995ac0 t battery_0percent_track.isra.4
ffffff8008995b80 t soft_term_work
ffffff8008995c68 t battery_pm_event
ffffff8008995d58 t battery_shutdown
ffffff8008995d98 t battery_remove
ffffff8008995de0 t battery_get_temperature
ffffff8008995e68 t show_test_temperature
ffffff8008995f48 t battery_get_temperature_avg
ffffff8008995fb8 t battery_update
ffffff8008996e50 t battery_init_work_callback
ffffff8008996f00 t store_test_temperature
ffffff8008996fe8 t battery_pm_freeze
ffffff8008996ff0 t battery_pm_restore
ffffff8008996ff8 t battery_pm_suspend
ffffff8008997000 t battery_pm_resume
ffffff8008997018 T battery_get_dual_engine_state
ffffff8008997070 t meter_get_coulomb_delta
ffffff8008997088 t meter_get_zcv
ffffff80089970a0 t meter_get_npercent_zcv
ffffff80089970b8 t meter_get_npercent_point
ffffff80089970d0 t meter_get_q_max
ffffff80089970e8 t meter_get_q_max_loaded
ffffff8008997100 t meter_get_v_c_delta
ffffff8008997118 t meter_get_v_c_delta_is_err
ffffff8008997160 t meter_check
ffffff8008997168 t meter_shutdown
ffffff80089971a8 t read_v_by_d
ffffff8008997348 t read_r_by_d
ffffff80089974e8 t construct_curve_profile
ffffff8008997818 t meter_respond_cable
ffffff8008997898 t meter_dts_probe
ffffff8008997938 t fg_int_handler
ffffff8008997990 t meter_get_ocv
ffffff80089979b8 t show_qmax
ffffff80089979e8 t show_running_info
ffffff8008997a18 t show_boot_info
ffffff8008997a48 t pc_meter_init
ffffff8008997b88 t meter_get_current
ffffff8008997bb0 t meter_get_current_sign
ffffff8008997be0 t meter_get_coulomb
ffffff8008997c08 t vivo_fg_custom_parse_table
ffffff8008997de8 t meter_get_im_current
ffffff8008997e10 t meter_remove
ffffff8008997e58 t mtr_ctrl_cmd
ffffff8008997f80 t meter_set_coulomb_interrupt
ffffff8008997fd8 t meter_resume
ffffff80089980b8 t meter_suspend
ffffff80089981c0 t battery_curve_match.isra.5
ffffff80089990e8 t meter_probe
ffffff8008999458 t read_r_by_v.constprop.8
ffffff80089995c0 t compensate_battery_voltage.constprop.7
ffffff8008999720 t read_d_by_v.constprop.9
ffffff8008999888 t meter_initialize
ffffff8008999e80 t meter_get_capacity
ffffff8008999f00 t meter_reset
ffffff8008999ff0 t fg_running
ffffff800899a658 t hrtimer_handler
ffffff800899a690 t get_battery_vendor
ffffff800899a9d0 t battery_id_probe
ffffff800899ab70 t store_adc_channel
ffffff800899ac30 t store_check_enable
ffffff800899ad00 t show_adc_channel
ffffff800899ad68 t show_check_enable
ffffff800899add0 t show_id_info
ffffff800899ae40 t check_battery_vendor
ffffff800899aeb8 T set_vendor_name
ffffff800899aec8 T is_power_path_supported
ffffff800899af00 T BAT_Get_Battery_Voltage
ffffff800899afb0 T get_bat_charging_current_level
ffffff800899b060 T charge_get_type
ffffff800899b0e8 T charge_get_vchg
ffffff800899b198 T battery_get_vbat
ffffff800899b248 T meter_get_i_sign
ffffff800899b2f8 T meter_get_im_i
ffffff800899b3a8 T vivo_battery_get_uisoc
ffffff800899b468 T vivo_battery_get_soc
ffffff800899b538 T read_tbat_value
ffffff800899b5f8 T vivo_get_dynamic_period
ffffff800899b6a0 t pc_running
ffffff800899b7e8 t pc_collect_info
ffffff800899b968 t store_smart_charging
ffffff800899b9b8 t store_screen_state
ffffff800899ba08 T wake_up_bat
ffffff800899ba88 T pcs_thd_wakeup
ffffff800899baf8 T pmic_chrdet_status
ffffff800899bbc8 T upmu_is_chr_det
ffffff800899bc98 t pcs_init
ffffff800899c200 t pc_battery_warning
ffffff800899c340 t pcs_dts_probe
ffffff800899c3d0 t store_smartcharging_fboff
ffffff800899c630 t store_smartcharging_fbon
ffffff800899c8a8 t show_usboe
ffffff800899c938 t show_smart_charging
ffffff800899c9a0 t show_screen_state
ffffff800899ca10 t show_smartcharging_fboff
ffffff800899cb08 t show_smartcharging_fbon
ffffff800899cc00 t smart_charging_current
ffffff800899cdc0 t charging_full_check.isra.0
ffffff800899ce58 t pc_power_off_check.isra.2
ffffff800899cf08 t pcs_remove
ffffff800899cf50 T do_chrdet_int_task_chr_ic
ffffff800899cfc0 T fg_wake_up
ffffff800899d068 t pc_switch_charging
ffffff800899dc48 t pcs_parse_dt.constprop.13
ffffff800899e190 T init_command
ffffff800899e228 T get_average_value
ffffff800899e398 T index_to_parameter
ffffff800899e3f8 T parameter_to_index
ffffff800899e4d0 T find_closest_level
ffffff800899e5d8 T get_usboe_status
ffffff800899e610 T config_usboe
ffffff800899e728 T do_chrdet_int_task
ffffff800899eba8 T do_chrdet_int_task_pmic
ffffff800899ebc0 T config_otg_mode
ffffff800899ec88 t store_usboe
ffffff800899ed08 t power_control_slow
ffffff800899f320 t pcs_pm_event
ffffff800899f580 t pcs_thd
ffffff800899f7a8 T get_battery_is_charging
ffffff800899f7f8 T first_time_current
ffffff800899f870 T low_voltage_current
ffffff800899f8e8 T pcs_hrtimer_init
ffffff800899f978 t pcs_probe
ffffff800899fc80 T mt_get_charger_type
ffffff800899fcb8 T pc_register_battery
ffffff800899fe28 T pc_register_meter
ffffff800899ff98 T pc_register_charge
ffffff80089a0108 T pc_charger_type_ready
ffffff80089a0238 T get_adc_isense
ffffff80089a0250 T get_adc_batsns
ffffff80089a0268 T get_adc_vbat_sns
ffffff80089a02a0 T get_adc_vtemp_sns
ffffff80089a02b8 T get_adc_bat_id_sns
ffffff80089a02d0 T get_battery_status
ffffff80089a0358 T fg_get_ocv
ffffff80089a03c0 T fg_get_ocv_resume
ffffff80089a0448 T fg_set_coulomb_interrupt
ffffff80089a0450 T fg_get_current_sign
ffffff80089a04a0 T fg_get_im_current
ffffff80089a04a8 T fg_get_current
ffffff80089a0530 T fg_get_coulomb
ffffff80089a0598 T fg_get_coulomb_precise
ffffff80089a05f0 T fg_reset
ffffff80089a0608 T fg_init
ffffff80089a0650 T fg_register_interrupt_callback
ffffff80089a0658 T fg_get_battery_plug_out_status
ffffff80089a0670 T fg_set_coulomb_tune
ffffff80089a06b8 T get_platform_charger_voltage
ffffff80089a06f0 T get_platform_charger_detect
ffffff80089a0710 T get_platform_charger_type
ffffff80089a0728 T get_mtk_pmic_charger_type
ffffff80089a0740 T get_platform_wake_reason
ffffff80089a0758 T get_platform_boot_mode
ffffff80089a0770 T get_platform_boot_reason
ffffff80089a0788 T set_platform_reset
ffffff80089a07a8 T set_platform_power_off
ffffff80089a07c0 T otg_id_pin_work
ffffff80089a07d8 T set_platform_chrdet_int_en
ffffff80089a0800 T get_bts_temp
ffffff80089a0828 T get_screen_off_state
ffffff80089a0848 T platform_usb_connect
ffffff80089a0870 T platform_usb_disconnect
ffffff80089a08a0 T pmic_get_channel_value
ffffff80089a08b8 T ap_get_channel_value
ffffff80089a0918 T collect_value
ffffff80089a0948 T collect_data
ffffff80089a0980 t get_user_custom
ffffff80089a0998 t get_custom_input
ffffff80089a09a8 t get_custom_ibat
ffffff80089a09b8 t get_custom_volt
ffffff80089a09c8 t get_fex_version
ffffff80089a09d8 T fuelsummary_register_pc
ffffff80089a0ae8 t fuelsummary_suspend
ffffff80089a0b20 t fuelsummary_shutdown
ffffff80089a0b50 t set_fex_version
ffffff80089a0b88 t set_custom_volt
ffffff80089a0bd0 t set_custom_ibat
ffffff80089a0c18 t set_custom_input
ffffff80089a0c58 t set_user_custom
ffffff80089a0ca8 t fuelsummary_resume
ffffff80089a0cf8 t fuelsummary_remove
ffffff80089a0dc0 t fuelsummary_set_property
ffffff80089a0ec8 t fuelsummary_get_property
ffffff80089a0f98 t fex_version_fops_open
ffffff80089a0fc8 t custom_volt_fops_open
ffffff80089a0ff8 t custom_ibat_fops_open
ffffff80089a1028 t custom_input_fops_open
ffffff80089a1058 t user_custom_fops_open
ffffff80089a1088 t fuelsummary_access_open
ffffff80089a10b0 t show_fuelsummary_access
ffffff80089a10e0 t store_fuelsummary_access
ffffff80089a1238 t fex_running
ffffff80089a14c8 T clear_data
ffffff80089a1508 t fuelsummary_respond_cable
ffffff80089a1580 t fex_list_init.isra.3
ffffff80089a15f8 t init_fwork
ffffff80089a1680 t fuelsummary_ensure_psy_available
ffffff80089a1788 t fuelsummary_running
ffffff80089a18c0 T fex_create
ffffff80089a19b0 T set_exbit
ffffff80089a1a58 t soc_fex_analyze
ffffff80089a21c8 t warning_fex_analyze
ffffff80089a2480 t chgic_fex_analyze
ffffff80089a2970 t fg_fex_analyze
ffffff80089a2ad0 t chg_fex_analyze
ffffff80089a3500 t fuelsummary_boot_start
ffffff80089a3740 t fuelsummary_external_power_changed
ffffff80089a3828 t fuelsummary_probe
ffffff80089a4110 T get_psy_data

ffffff80089a4170 t charge_set_charging_steal
ffffff80089a4178 t charging_time_check
ffffff80089a41f0 t charge_get_platfrom_boot_mode
ffffff80089a4248 t charge_get_platfrom_boot_reason
ffffff80089a42a0 t charge_get_charger_voltage
ffffff80089a42c8 t charge_set_power_off
ffffff80089a4310 t charge_set_platform_reset
ffffff80089a4358 t bq25890_charger_irq_workfunc
ffffff80089a4380 t bq25890_user_space_probe
ffffff80089a43e8 t chg_ctrl_cmd
ffffff80089a44e0 t charge_get_is_pcm_timer_trigger
ffffff80089a4548 t bq25890_irq
ffffff80089a4640 T bq25890_read_byte
ffffff80089a4730 t show_bq25890_access
ffffff80089a4998 T bq25890_write_byte
ffffff80089a4a78 T bq25890_read_interface
ffffff80089a4b88 t charge_get_otg_bit
ffffff80089a4bf8 t charge_get_vindpm
ffffff80089a4c78 t charge_get_charger_det_status
ffffff80089a4d30 t charge_get_charging_done
ffffff80089a4e00 t charge_get_current
ffffff80089a4e98 t charging_limit_current
ffffff80089a5180 T bq25890_config_interface
ffffff80089a52a0 t charge_check_otg_mode
ffffff80089a5370 t charge_reset_watch_dog_timer
ffffff80089a53c8 t charge_set_abs_vindpm
ffffff80089a5430 t charge_dynamic_adjust_vindpm
ffffff80089a5500 t charge_vph_power_switch
ffffff80089a55f0 t charge_set_watch_dog_timer
ffffff80089a5658 t charge_set_input_current
ffffff80089a5738 t charge_set_current
ffffff80089a5840 t charge_set_cv_voltage
ffffff80089a5950 t charge_hiz
ffffff80089a59e0 t store_bq25890_access
ffffff80089a5a80 t charge_enable
ffffff80089a5b60 T bq25890_reg_config_interface
ffffff80089a5b78 T bq25890_set_en_hiz
ffffff80089a5ba0 T bq25890_get_otg_config
ffffff80089a5bf8 T bq25890_otg_en
ffffff80089a5c20 T bq25890_set_boost_ilim
ffffff80089a5c48 T bq25890_set_boost_vlim
ffffff80089a5c70 T bq25890_set_wd_timer
ffffff80089a5c98 T bq25890_enable
ffffff80089a5d78 T bq25890_vph_power_switch
ffffff80089a5e68 T bq25890_set_current
ffffff80089a5f70 T bq25890_set_input_current
ffffff80089a6050 t bq25890_driver_shutdown
ffffff80089a61c0 t charging_power_detect_work
ffffff80089a6630 T bq25890_vdpm_state
ffffff80089a6698 T bq25890_idpm_state
ffffff80089a6700 T bq25890_ico_optimized
ffffff80089a6768 T bq25890_idpm_lim
ffffff80089a67d0 T chg_check_salve_charger_exist
ffffff80089a67d8 T chg_salve_charger_cmd
ffffff80089a67e0 T bq25890_get_charger_type
ffffff80089a69a8 t charge_get_charger_type
ffffff80089a6a00 t charge_charger_type_retry
ffffff80089a6ae8 t charge_charger_type_retry_hvdcp
ffffff80089a6dd0 t bq25890_hvdcp_det_workfunc
ffffff80089a6ff8 T bq25890_hw_component_detect
ffffff80089a7090 T is_bq25890_exist
ffffff80089a70e8 T bq25890_dump_register
ffffff80089a71e8 t charge_dump_register
ffffff80089a7200 t charge_get_data
ffffff80089a7318 t charge_config_otg_mode
ffffff80089a7440 T bq25890_hw_init
ffffff80089a7558 t charge_hw_init
ffffff80089a75d0 t pc_charge_init
ffffff80089a7800 t charge_respond_cable_out
ffffff80089a7898 t charge_respond_cable_in
ffffff80089a7940 t bq25890_driver_probe

ffffff80089a7ca8 T chg_force_subchg_only
ffffff80089a7d08 T chg_force_mainchg_only
ffffff80089a7d78 T chg_register_slave_charge
ffffff80089a7e48 t charge_vph_power_switch
ffffff80089a7e50 t charging_time_check
ffffff80089a7ec8 t charge_get_current
ffffff80089a7f18 t charge_get_platfrom_boot_mode
ffffff80089a7f70 t charge_get_platfrom_boot_reason
ffffff80089a7fc8 t charge_get_charger_voltage
ffffff80089a7ff0 t charge_set_power_off
ffffff80089a8038 t charge_set_platform_reset
ffffff80089a8080 t bq25601d_charger_irq_workfunc
ffffff80089a80a8 t bq25601d_user_space_probe
ffffff80089a8110 t chg_ctrl_cmd
ffffff80089a8208 t bq25601d_irq
ffffff80089a8290 t charge_get_is_pcm_timer_trigger
ffffff80089a82f8 t charge_set_charging_steal
ffffff80089a8300 T bq25601d_read_byte
ffffff80089a83f0 T show_bq25601d_access
ffffff80089a8628 T bq25601d_write_byte
ffffff80089a8708 T bq25601d_read_interface
ffffff80089a8818 t charging_limit_current
ffffff80089a8ac0 t charge_get_otg_bit
ffffff80089a8b30 t charge_get_vindpm
ffffff80089a8ba0 t charge_get_charger_det_status
ffffff80089a8c58 t charge_get_charging_done
ffffff80089a8d28 t charge_get_hiz
ffffff80089a8dc0 T bq25601d_config_interface
ffffff80089a8ee0 t charge_check_otg_mode
ffffff80089a8fb0 t charge_reset_watch_dog_timer
ffffff80089a9008 t charge_set_input_current
ffffff80089a90e8 t charge_set_current
ffffff80089a91f8 t charging_power_detect_work
ffffff80089a9448 t charge_set_abs_vindpm
ffffff80089a94a0 t charge_dynamic_adjust_vindpm
ffffff80089a9570 t charge_set_watch_dog_timer
ffffff80089a95d8 t charge_set_cv_voltage
ffffff80089a96e8 t charge_enable
ffffff80089a97c8 t charge_hiz
ffffff80089a9858 t store_bq25601d_access
ffffff80089a98f8 T bq25601d_reg_config_interface
ffffff80089a9910 T bq25601d_set_en_hiz
ffffff80089a9938 T bq25601d_get_otg_config
ffffff80089a9990 T bq25601d_otg_en
ffffff80089a99b8 T bq25601d_set_boost_ilim
ffffff80089a99e0 T bq25601d_set_boost_vlim
ffffff80089a9a08 T bq25601d_set_wd_timer
ffffff80089a9a30 T bq25601d_enable
ffffff80089a9b10 T bq25601d_vph_power_switch
ffffff80089a9b18 T bq25601d_set_current
ffffff80089a9c28 T bq25601d_set_input_current
ffffff80089a9d00 t bq25601d_driver_shutdown
ffffff80089a9e08 T bq25601d_vdpm_state
ffffff80089a9e70 T bq25601d_idpm_state
ffffff80089a9ed8 T bq25601d_get_charger_type
ffffff80089aa0a0 t charge_get_charger_type
ffffff80089aa0f8 t charge_charger_type_retry
ffffff80089aa1e0 t charge_charger_type_retry_dpdm
ffffff80089aa368 t bq25601d_type_det_workfunc
ffffff80089aa590 T bq25601d_hw_component_detect
ffffff80089aa628 T is_bq25601d_exist
ffffff80089aa680 T bq25601d_dump_register
ffffff80089aa760 t charge_dump_register
ffffff80089aa778 t charge_get_data
ffffff80089aa7c8 t charge_config_otg_mode
ffffff80089aa8f0 T bq25601d_hw_init
ffffff80089aa9b8 t charge_hw_init
ffffff80089aaa30 t pc_charge_init
ffffff80089aac60 t charge_respond_cable_out
ffffff80089aacf0 t charge_respond_cable_in
ffffff80089aad80 t bq25601d_driver_probe

ffffff80089ab098 T charge_check_hvdcp_status
ffffff80089ab130 t charge_vph_power_switch
ffffff80089ab138 t charging_limit_work
ffffff80089ab140 t charging_time_check
ffffff80089ab1b8 t charge_get_platfrom_boot_mode
ffffff80089ab210 t charge_get_platfrom_boot_reason
ffffff80089ab268 t charge_get_charger_voltage
ffffff80089ab290 t charge_set_power_off
ffffff80089ab2d8 t charge_set_platform_reset
ffffff80089ab320 t charge_charger_type_retry
ffffff80089ab378 t bq24157_user_space_probe
ffffff80089ab3d8 t chg_ctrl_cmd
ffffff80089ab4d0 t charge_get_is_pcm_timer_trigger
ffffff80089ab538 t charge_set_charging_steal
ffffff80089ab540 t charge_set_watch_dog_timer
ffffff80089ab548 T bq24157_read_byte
ffffff80089ab618 t charge_dump_register
ffffff80089ab730 T bq24157_write_byte
ffffff80089ab7f8 t charge_re_init_safety_reg
ffffff80089ab8b0 T bq24157_read_interface
ffffff80089ab9b8 t charging_limit_input
ffffff80089abb20 t charge_check_safe_reg
ffffff80089abc30 t charge_get_otg_bit
ffffff80089abca0 t charge_get_charger_det_status
ffffff80089abd70 t charge_get_charger_type
ffffff80089abe78 t charge_get_charging_done
ffffff80089abf60 t charge_get_current
ffffff80089ac000 T bq24157_config_interface
ffffff80089ac120 t charge_check_otg_mode
ffffff80089ac1f8 t charge_reset_watch_dog_timer
ffffff80089ac250 t charge_get_data
ffffff80089ac280 t charging_otg_work
ffffff80089ac460 t charge_set_cv_voltage
ffffff80089ac578 t charge_config_otg_mode
ffffff80089ac6e8 t charge_dynamic_adjust_vindpm
ffffff80089ac7b8 t charge_set_input_current
ffffff80089ac8c8 t charge_set_current
ffffff80089ac9a0 t charge_hiz
ffffff80089aca38 t bq24157_shutdown
ffffff80089aca88 t store_bq24157_access
ffffff80089acb28 T get_charge_gpio11_status
ffffff80089acb50 t charge_enable
ffffff80089acc78 t charge_hw_init
ffffff80089acd38 t pc_charge_init
ffffff80089acf88 t charge_respond_cable_out
ffffff80089ad010 t charge_respond_cable_in
ffffff80089ad088 T show_bq24157_access
ffffff80089ad268 T bq24157_hw_component_detect
ffffff80089ad310 T bq24157_driver_probe
muhammadrafiasyddiq commented 1 year ago

Missing files

/drivers/power/supply/vivo/battery.c
/drivers/power/supply/vivo/power_control.c
/drivers/power/supply/vivo/battery_interface.c
/drivers/power/supply/vivo/bq25890h.c
/drivers/power/supply/vivo/bq25601d.c
---------------------------
/drivers/power/supply/vivo/charge_interface.h

Conclusion

Those funcs implemented here

  • get_platform_charger_detect

see my source i fix but bug batery