git: 466aa18c3793 - stable/15 - riscv: enable gpiopower driver

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Wed, 07 Oct 2026 16:56:20 UTC
The branch stable/15 has been updated by mhorne:

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

commit 466aa18c3793fe7e73b62526aeb00332f7d2e731
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2026-09-09 14:38:22 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2026-10-07 16:55:55 +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
    
    (cherry picked from commit c745fccd9b2647c1f84f8e38b3992640ea34c50d)
---
 sys/riscv/conf/GENERIC | 1 +
 1 file changed, 1 insertion(+)

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