]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ipq4018: add initial reset driver support for the clock/reset controller.
authorAdrian Chadd <adrian@FreeBSD.org>
Sun, 31 Oct 2021 03:43:27 +0000 (20:43 -0700)
committerAdrian Chadd <adrian@FreeBSD.org>
Thu, 4 Nov 2021 16:02:41 +0000 (09:02 -0700)
commitb12a863a1e14610f6b145f235aa7452602038f9a
tree04c3f5a62d5f1ebb49e5292374955844bc0afcba
parentbc06496744a1a658c1cd9c6488dd23326b52390e
ipq4018: add initial reset driver support for the clock/reset controller.

This implements the "reset controller" side of the clock/reset controller.
It's a simple array of registers and bits to set.

The register table itself comes from Linux; the rest of the code is a
reimplementation.

It doesn't yet implement or expose the clock side - I have a lot of
reverse engineering to do before that!

Reviewed by: andrew, manu, imp
Differential Revision: https://reviews.freebsd.org/D32723

Obtained from: Linux (registers)
sys/arm/qualcomm/qcom_gcc_ipq4018.c [new file with mode: 0644]
sys/arm/qualcomm/qcom_gcc_ipq4018_reset.c [new file with mode: 0644]
sys/arm/qualcomm/qcom_gcc_ipq4018_var.h [new file with mode: 0644]
sys/arm/qualcomm/std.ipq4018