Page MenuHomeFreeBSD

riscv: Allwinner D1 clock and reset driver
ClosedPublic

Authored by mhorne on Nov 11 2024, 5:22 PM.
Tags
None
Referenced Files
F164862869: D47515.id146600.diff
Tue, Aug 4, 8:57 AM
Unknown Object (File)
Tue, Aug 4, 2:46 AM
Unknown Object (File)
Mon, Aug 3, 6:58 AM
Unknown Object (File)
Wed, Jul 29, 11:16 PM
Unknown Object (File)
Sat, Jul 25, 11:49 AM
Unknown Object (File)
Fri, Jul 24, 2:35 PM
Unknown Object (File)
Wed, Jul 22, 8:22 PM
Unknown Object (File)
Wed, Jul 22, 4:04 PM

Details

Summary

Add the SOC_ALLWINNER_D1 config option, following other platforms.

There are still a couple of clocks marked TODO, notably the CPU clock
needed for cpufreq_dt(4). These will be added before commit.

Co-authored-by: mhorne

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 11 2024, 6:13 PM

Add clocks for CLK_RISCV, CLK_RISCV_AXI.

Double check the lists of CCU_GATE and CCU_RESET. Add some that were missing and reorder according to the IDs.

This revision now requires review to proceed.Nov 13 2024, 6:01 PM
This revision was not accepted when it landed; it landed in state Needs Review.Nov 16 2024, 7:04 PM
This revision was automatically updated to reflect the committed changes.