Skip to content

Conversation

@SuperKali
Copy link
Member

Summary

Fix CPU frequency scaling failing on boards where the PMIC initializes late.

On boards like Youyeetoo YY3588 where the RK806 PMIC is on SPI bus and initializes after the cpufreq driver probes, regulator_get_optional() returns -EPROBE_DEFER. The driver was not handling this case, causing cpufreq to fail permanently.

Changes

  • Handle -EPROBE_DEFER from regulator_get_optional()
  • Return the error to allow deferred probe retry
  • CPU frequency scaling becomes available once PMIC is ready

On boards like Youyeetoo YY3588 where the RK806 PMIC initializes late,
the cpufreq driver would fail to get the CPU regulator and abort probe.
This caused CPU frequency scaling to be unavailable.

Handle -EPROBE_DEFER from regulator_get_optional() to allow the driver
to retry when the PMIC becomes available.
@SuperKali SuperKali merged commit 59912a6 into armbian:rk-6.1-rkr5.1 Nov 26, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant