The branch main has been updated by adrian:

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

commit a516ccc4ae04975a54882651104c4a0369c3eaba
Author:     Adrian Chadd <[email protected]>
AuthorDate: 2021-10-21 03:08:56 +0000
Commit:     Adrian Chadd <[email protected]>
CommitDate: 2021-11-04 16:02:30 +0000

    ipq4018: add SoC reset and qcom_rnd driver
    
    Summary:
    This is enough to allow this ASUS router to reboot successfully.
    I tried the watchdog path and although it fires, it isn't rebooting!
    It's just hanging, likely somewhere in TZ.
    
    This is the MVP required to initialise and consume random data from
    the QCA PRNG hardware found on the IPQ401x.
    
    Test Plan: * ASUS RT-AC58U router, IPQ4019
    
    Subscribers: imp, andrew
    
    Differential Revision: https://reviews.freebsd.org/D32723
---
 sys/arm/conf/std.qca         | 3 +++
 sys/arm/qualcomm/std.ipq4018 | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/sys/arm/conf/std.qca b/sys/arm/conf/std.qca
index cabd5f309121..091de6178094 100644
--- a/sys/arm/conf/std.qca
+++ b/sys/arm/conf/std.qca
@@ -12,6 +12,9 @@ files                 "../qualcomm/std.ipq4018"
 device                 uart
 device                 uart_msm        # Qualcomm MSM UART driver
 
+# Random
+device                 qcom_rnd
+
 device                 gic
 
 # MMC/SD/SDIO Card slot support
diff --git a/sys/arm/qualcomm/std.ipq4018 b/sys/arm/qualcomm/std.ipq4018
index 9a9801fa6415..823d7e74cb50 100644
--- a/sys/arm/qualcomm/std.ipq4018
+++ b/sys/arm/qualcomm/std.ipq4018
@@ -1,2 +1,4 @@
 arm/qualcomm/ipq4018_machdep.c         standard
 arm/qualcomm/ipq4018_mp.c              optional smp
+
+dev/qcom_rnd/qcom_rnd.c                        optional qcom_rnd

Reply via email to