#
7fead5f1 |
| 05-Apr-2025 |
Adrian Chadd <adrian@FreeBSD.org> |
qcom_gcc: begin refactoring sys/dev/qcom_gcc to support multiple chipsets
Although the driver structure is almost supportive of multiple chipsets, there's a lot of subtle hard coded IPQ4018 assumpti
qcom_gcc: begin refactoring sys/dev/qcom_gcc to support multiple chipsets
Although the driver structure is almost supportive of multiple chipsets, there's a lot of subtle hard coded IPQ4018 assumptions here.
This is a partial refactor of the driver in order to have a single qcom_gcc driver that will eventually support multiple chipsets.
* rename qcom_gcc_ipq4018 -> qcom_gcc * remove the ipq4018 specific naming from things * create a table to drive probe/attach, with a chipset id to use during attach * migrate the clock register accessors to not be ipq4018 specific * migrate the reset register accessors to not be ipq4018 specific
Note this won't compile (yet) for an arm64 kernel because there's a hard-coded clock tree for an earlier 64 bit MSM part in sys/arm64/qualcomm/qcom_gcc.c . That will need to be rolled into this driver.
Differential Revision: https://reviews.freebsd.org/D49683
show more ...
|