Page MenuHomeFreeBSD

Add syscon power and reset control device driver
ClosedPublic

Authored by jrtc27 on Jul 19 2020, 6:25 PM.
Tags
None
Referenced Files
F167844807: D25724.id74976.diff
Mon, Aug 24, 11:13 PM
F167838947: D25724.diff
Mon, Aug 24, 10:06 PM
Unknown Object (File)
Sun, Aug 23, 6:04 AM
Unknown Object (File)
Sun, Aug 23, 2:35 AM
Unknown Object (File)
Thu, Aug 13, 1:29 PM
Unknown Object (File)
Tue, Jul 28, 2:54 PM
Unknown Object (File)
Sun, Jul 26, 4:57 PM
Unknown Object (File)
Jul 24 2026, 9:18 PM
Subscribers

Details

Summary

This device driver supports both syscon-power and syscon-reset devices,
as specified in [1] and [2]. These provide a very simple interface for
power and reset control, and among other things are used by QEMU's virt
machine on RISC-V. A separate commit will enable this on RISC-V, as that
requires adding a RISC-V-specific riscv_syscon akin to r327936's
aw_syscon.

[1] https://www.kernel.org/doc/Documentation/devicetree/bindings/power/reset/syscon-poweroff.txt
[2] https://www.kernel.org/doc/Documentation/devicetree/bindings/power/reset/syscon-reboot.txt

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable