opnsense-src/sys/dev/extres/syscon
Jessica Clarke 28da7c9ed0 Add syscon power and reset control device driver
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

Reviewed by:	brooks (mentor), jhb (mentor)
Approved by:	brooks (mentor), jhb (mentor)
Obtained from:	CheriBSD
Differential Revision:	https://reviews.freebsd.org/D25724
2020-07-26 18:19:50 +00:00
..
syscon.c Add method for getting of syscon handle from parent device. 2019-08-18 08:08:56 +00:00
syscon.h Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
syscon_generic.c extres/syscon_generic: Make device quiet if not in boot verbose 2020-07-08 17:14:44 +00:00
syscon_generic.h Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
syscon_if.m Add method for getting of syscon handle from parent device. 2019-08-18 08:08:56 +00:00
syscon_power.c Add syscon power and reset control device driver 2020-07-26 18:19:50 +00:00