git: c745fccd9b26 - main - riscv: enable gpiopower driver

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Mon, 21 Sep 2026 22:47:13 UTC
The branch main has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=c745fccd9b2647c1f84f8e38b3992640ea34c50d

commit c745fccd9b2647c1f84f8e38b3992640ea34c50d
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2026-09-09 14:38:22 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2026-09-21 22:43:43 +0000

    riscv: enable gpiopower driver
    
    It is functional, and there are some RISC-V platforms which can benefit
    from it.
    
    Requested by:   Brian Scott <bscott@bunyatech.com.au>
    Sponsored by:   The FreeBSD Foundation
---
 sys/riscv/conf/GENERIC | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index 662a999a87d7..7b47bd1ac407 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -161,6 +161,7 @@ device		axidma		# Xilinx AXI DMA Controller
 
 # GPIO
 device		gpio
+device  	gpiopower	# event handler for gpio-based powerdown
 device		fdt_pinctrl
 
 # SPI