git: 100f79569dbc - main - riscv: Add da9063_pmic and da9063_rtc to GENERIC and NOTES
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Sep 2022 16:47:02 UTC
The branch main has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=100f79569dbcee9a7c66f8fe543fa04e8bfb04bd
commit 100f79569dbcee9a7c66f8fe543fa04e8bfb04bd
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2022-09-13 16:46:28 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2022-09-13 16:46:28 +0000
riscv: Add da9063_pmic and da9063_rtc to GENERIC and NOTES
This is the PMIC on SiFive's HiFive Unmatched; add it and the RTC child
device driver so we have a working RTC.
Reviewed by: mhorne, imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D36201
---
sys/riscv/conf/GENERIC | 4 ++++
sys/riscv/conf/NOTES | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index 885b593543ef..7192a8aebe5f 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -140,6 +140,7 @@ device vt
device kbdmux
# RTC
+device da9063_rtc # Dialog Semiconductor DA9063 RTC
device goldfish_rtc # QEMU RTC
# Ethernet drivers
@@ -158,6 +159,9 @@ device gpio
device spibus
device spigen
+# Power management controllers
+device da9063_pmic # Dialog Semiconductor DA9063 PMIC
+
# Uncomment for memory disk
# options MD_ROOT
# options MD_ROOT_SIZE=32768 # 32MB ram disk
diff --git a/sys/riscv/conf/NOTES b/sys/riscv/conf/NOTES
index 3beff0129e58..f483ac221ebe 100644
--- a/sys/riscv/conf/NOTES
+++ b/sys/riscv/conf/NOTES
@@ -57,6 +57,7 @@ device uart_lowrisc # lowRISC UART driver
device uart_ns8250 # ns8250-type UART driver
# RTC
+device da9063_rtc # Dialog Semiconductor DA9063 RTC
device goldfish_rtc # QEMU RTC
# Ethernet drivers
@@ -69,6 +70,9 @@ device axidma # Xilinx AXI DMA Controller
# SPI
device xilinx_spi # Xilinx AXI Quad-SPI Controller
+# Power management controllers
+device da9063_pmic # Dialog Semiconductor DA9063 PMIC
+
# SiFive device drivers
device fe310aon
device fu740_pci_dw