HomeFreeBSD

riscv: enable cpufreq_dt driver

Description

riscv: enable cpufreq_dt driver

Implement the small amount of MD code required; copied from arm/arm64.

One tweak is made to cpufreq_dt itself: if the opp-shared property is
missing, but there is only one CPU, then we can still attach. This is
relevant for the single-core Allwinner D1.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48124

Details

Provenance
mhorneAuthored on Oct 8 2024, 6:49 PM
Differential Revision
D48124: riscv: enable cpufreq_dt driver
Parents
rGac9de183f370: ofw_cpu: check for "disabled" status during probe
Branches
Unknown
Tags
Unknown