Commit Graph

2 Commits

Author SHA1 Message Date
ghostrider-reborn
13ca7d9b37 sm8450-common: Fix battery and USB OTG detection
* In cape (msm-5.10) pmic driver now lies in adsp [1], so
   adsp firmware must to be loaded along with qti battery/
   charger kernel module, in order to get battery and usb
   power_supply up & running

 * With this, we dont need to set usb mode to peripheral
   explicitly either

 * The GKI kernel for 5.10 explicitly disabled
   FW_LOADER_USER_HELPER_FALLBACK, and the right way to enable it is to
   echo 1 to the /proc/sys/kernel/firmware_config/force_sysfs_fallback,
   so do this before writing to adsp sysfs node.

[1]: 4e2b0f663a

Depends-On: Id0e64302dbbdc53620cbc1825c36e13bb9e58aef
Change-Id: I835fa5daaa53eb704cc6c0777d7069d47ecbe10c
2024-08-12 10:24:41 +02:00
Arian
d9a4f0ce33 sm8450-common: Import qcom common scripts from LA.VENDOR.1.0.r1-11000-WAIPIO.0
Change-Id: Ia3030c7c18ad39ac58d17a3147b269a6f1093b59
2024-01-25 16:29:40 +01:00