Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
garnet: 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]: https://git.codelinaro.org/clo/la/device/qcom/common/-/commit/4e2b0f663a8f4b73000c81999055363411aaf12c Depends-On: Id0e64302dbbdc53620cbc1825c36e13bb9e58aef Change-Id: I835fa5daaa53eb704cc6c0777d7069d47ecbe10c
- Loading branch information