Implement support for AHCI controller found in
NXP QorIQ Layerscape SoCs.
Details
Details
- Reviewers
mw manu - Group Reviewers
arm64 - Commits
- rS361464: Introduce a driver for NXP LS1046A SoC AHCI.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Do you know how different this controller is compared to the other fsl ahci controller ? (like ls208x etc ...)
If it's very different the file should be renamed.
Comment Actions
I checked and while there will be some modifications needed, I think that most of the code can be shared.
Comment Actions
There is no clock enabling here but the dtsi have a clock property.
sys/dev/ahci/ahci_fsl_fdt.c | ||
---|---|---|
4 ↗ | (On Diff #71207) | I don't know if your client requires it but it's been deprecated in FreeBSD. |
Comment Actions
The controller is actually connected to platform PLL, which
is always enabled, but since the controller might be used in
different SoC in the future, I'll add clock enabling.
sys/dev/ahci/ahci_fsl_fdt.c | ||
---|---|---|
4 ↗ | (On Diff #71207) | I will remove it. |
Comment Actions
Removed "All rights reserved" from copyright notice.
Added clock enabling in attach function.