This patch adds support for the cvitek reset controller.
This controller is present on the Milk-V riscv SoCs. The controller is
currently used by the if_dwc driver.
Details
Details
- Reviewers
br imp - Commits
- rG25b9b0b6bec9: riscv: Add driver for cvitek reset controller
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/riscv/cvitek/cvitek_reset.c | ||
---|---|---|
65 | If we use a table, then we can make this a module that's automatically loaded by the loader when it finds it in the FDT. |
sys/riscv/cvitek/cvitek_reset.c | ||
---|---|---|
83 | Uh, who knows what this is going to pick up... surely there's a phandle reference? That's how this normally works... that or it's a child of the syscon. | |
104–105 | By definition these are both just 32? Don't see what benefit the calculation gives when it's already hard-coded in the type name. |