Page MenuHomeFreeBSD

riscv: support Allwinner D1 GPIO controller
AbandonedPublic

Authored by mhorne on Dec 4 2024, 6:30 PM.
Tags
None
Referenced Files
F154300601: D47921.diff
Mon, Apr 27, 5:03 PM
Unknown Object (File)
Fri, Apr 24, 6:48 AM
Unknown Object (File)
Fri, Apr 24, 1:30 AM
Unknown Object (File)
Mon, Apr 20, 1:31 PM
Unknown Object (File)
Mar 23 2026, 1:59 AM
Unknown Object (File)
Mar 17 2026, 7:57 AM
Unknown Object (File)
Mar 14 2026, 2:14 AM
Unknown Object (File)
Mar 7 2026, 10:52 PM
Subscribers

Details

Summary

Enable the driver.

Diff Detail

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

Event Timeline

mhorne requested review of this revision.Dec 4 2024, 6:30 PM

Rebased from D35593, but this is basically unchanged.

sys/arm/allwinner/aw_gpio.c
427

I believe this could use the macro. Magic numbers are widespread within this driver.

502–503

I'm still really unsure about this part of the change. It seems the mask could have stayed inside the parenthesis?

sys/arm/allwinner/aw_gpio.c
502–503

I guess it was clearer for me: offset and idx are two parts of the same value, offset is just bits 4..0 and idx is just bits 31..5

sys/arm/allwinner/aw_gpio.c
502–503

ACK. With this explanation I am happy with it.

Committed in 71924545585, but I listed the original review.