Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lk2nd: fastboot: debug: Add command to dump SPMI regulator state
This allows reading which PMIC/SPMI regulators are enabled and which voltage they are configured with during boot. Example output for PM8916 on MSM8916: $ fastboot oem debug spmi-regulators (bootloader) Detected PMIC 0x2000b (bootloader) s1: 1012500 mV, enabled, normal (ult_lo_smps) (bootloader) s2: 1150000 mV, enabled, normal (ult_lo_smps) (bootloader) s3: 1250000 mV, enabled, normal (ult_lo_smps) (bootloader) s4: 2050000 mV, enabled, normal (ult_ho_smps) (bootloader) l1: 1287500 mV, disabled, normal (ult_nldo) (bootloader) l2: 1200000 mV, enabled, idle (ult_nldo) (bootloader) l3: 1150000 mV, enabled, idle (ult_nldo) (bootloader) l4: 2050000 mV, disabled, normal (ult_pldo) (bootloader) l5: 1800000 mV, enabled, idle (ult_pldo) (bootloader) l6: 1800000 mV, enabled, normal (ult_pldo) (bootloader) l7: 1800000 mV, enabled, idle (ult_pldo) (bootloader) l8: 2900000 mV, enabled, normal (ult_pldo) (bootloader) l9: 3300000 mV, disabled, normal (ult_pldo) (bootloader) l10: 2800000 mV, disabled, normal (ult_pldo) (bootloader) l11: 2950000 mV, enabled, normal (ult_pldo) (bootloader) l12: 2950000 mV, enabled, normal (ult_pldo) (bootloader) l13: 3075000 mV, enabled, normal (ult_pldo) (bootloader) l14: 1800000 mV, disabled, normal (ult_pldo) (bootloader) l15: 1800000 mV, disabled, normal (ult_pldo) (bootloader) l16: 1800000 mV, disabled, normal (ult_pldo) (bootloader) l17: 2850000 mV, enabled, normal (ult_pldo) (bootloader) l18: 2700000 mV, disabled, normal (ult_pldo)
- Loading branch information