Page MenuHomeFreeBSD

riscv: support Allwinner D1 clock controllers
AbandonedPublic

Authored by mhorne on May 16 2022, 2:17 PM.
Tags
None
Referenced Files
F139329707: D35221.id107377.diff
Wed, Dec 10, 10:06 PM
Unknown Object (File)
Mon, Dec 1, 6:15 PM
Unknown Object (File)
Thu, Nov 27, 6:00 PM
Unknown Object (File)
Thu, Nov 27, 12:25 PM
Unknown Object (File)
Tue, Nov 25, 12:48 AM
Unknown Object (File)
Wed, Nov 12, 3:48 AM
Unknown Object (File)
Nov 6 2025, 8:44 PM
Unknown Object (File)
Nov 3 2025, 5:17 AM

Details

Reviewers
manu
julien.cassette_gmail.com
andrew
Group Reviewers
riscv
Summary

The CCU controls reset and clocks of most peripherals, so this adds
the definitions needed by the aw_ccung driver to support the D1.

The RTC clock outputs (iosc and osc32k) are needed by the CCU so this
also adds the D1 compatible data to aw_rtc.

Signed-off-by: Julien Cassette <julien.cassette@gmail.com>

Test Plan

The drivers output consistent clock configuration: see https://pastebin.com/9mpYiFqS

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46111
Build 43000: arc lint + arc unit

Event Timeline

mhorne edited reviewers, added: julien.cassette_gmail.com; removed: mhorne.

Updated and split into separate reviews: D47514, D47515.