Page MenuHomeFreeBSD

riscv: support Allwinner D1 clock controllers
Needs ReviewPublic

Authored by julien.cassette_gmail.com on May 16 2022, 2:17 PM.

Details

Reviewers
manu
mhorne
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 OK
Unit
No Unit Test Coverage
Build Status
Buildable 46111
Build 43000: arc lint + arc unit