Page MenuHomeFreeBSD

riscv: enable allwinner RTC
AcceptedPublic

Authored by mhorne on Mon, Nov 11, 5:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 2:59 AM
Unknown Object (File)
Tue, Nov 12, 2:18 AM
Unknown Object (File)
Mon, Nov 11, 8:27 PM
Unknown Object (File)
Mon, Nov 11, 7:22 PM
Unknown Object (File)
Mon, Nov 11, 7:15 PM

Details

Reviewers
manu
andrew
Summary

For the Allwinner D1 (Nehza) SBC.

This RTC driver is also a clock provider, which registers two fixed
clocks. In all the devices we currently support, the names of the clocks
are present in the "clock-output-names" property of the device tree.
This is not the case for the D1 DTS, as this property does not appear in
upstream. Therefore the clock definitions are statically assigned a
name, which is overridden when specified.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60488
Build 57372: arc lint + arc unit

Event Timeline

@manu This is the first of several changes enabling Allwinner drivers on the riscv platform (probably not all coming today). It suggests that we might move these sources to a more common place (out of arm subdir), but I do not really see any reason this must happen first.

@manu This is the first of several changes enabling Allwinner drivers on the riscv platform (probably not all coming today). It suggests that we might move these sources to a more common place (out of arm subdir), but I do not really see any reason this must happen first.

Sure, that's why I started moving a lot of other drivers too in the past.

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