crust-firmware / crust

SCP (power management) firmware for sunxi SoCs
Other
150 stars 34 forks source link

configs: Add defconfigs for Libretech ALL-H3-CC H3 / ALL-H3-CC H5 boards #189

Closed rfinnie closed 3 years ago

rfinnie commented 3 years ago

Note: Not a typo; the H5 model is named "ALL-H3-CC H5".

There are other variants, such as the "ALL-H5-CC H5" which I believe is an updated variant of the ALL-H3-CC H5, but these two are the only ones I can personally verify.

Partially addresses crust-firmware/crust#188

Signed-off-by: Ryan Finnie ryan@finnie.org

smaeul commented 3 years ago

Thanks for testing!

Were you able to suspend/resume either board with those configurations? Looking at the schematics linked from their website, PL8 is PWR-STB, which drives both EN2 and EN3 of the AXP8036. Since EN3 controls VDD-SYS, which cannot be turned off during sleep, I would expect the boards to crash/hang when resuming from sleep. If that is the case, you'll want to remove CONFIG_REGULATOR_GPIO_CPU=y from the defconfigs for now.

rfinnie commented 3 years ago

Looking at the schematics linked from their website, PL8 is PWR-STB, which drives both EN2 and EN3 of the AXP8036. Since EN3 controls VDD-SYS, which cannot be turned off during sleep, I would expect the boards to crash/hang when resuming from sleep.

Ah yes, confirmed hang on resume. I read the help on REGULATOR_GPIO_CPU but for some reason interpreted it as reboot (which works fine), not resume. Branch updated, thanks!