Fix SATA support for NSP SoCs
Status from this message: Applied to libata/linux.git (for-7.5), thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 8 repliesApplied
- v36 patches 4 repliesSuperseded
- v26 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 6 patches | 3 replies | Superseded |
Changes in v4 from the cover letter
- move entire allOf to the bottom, before "unevaluatedProperties" per Krzysztof's feedback
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | phy: broadcom: brcm-sata: Keep NSP ports in the shared PCB windowdrivers/ | +3 | 1 reply | |
| 2/6 | dt-bindings: ata: sata-brcm: Describe the NSP IDM registersDocumentation/ | +37 | 1 reply | |
| 3/6 | ata: ahci_brcm: Initialize the NSP interface clock and resetdrivers/ | +36 | 0 replies | |
| 4/6 | ARM: dts: broadcom: Add the NSP SATA IDM registersarch/ | +4 | 1 reply | |
| 5/6 | ARM: dts: broadcom: Use noncoherent SATA DMA on BCM958625HRarch/ | +4 | 1 reply | |
| 6/6 | ARM: dts: broadcom: Enable SATA on BCM958625HRarch/ | +1 | 1 reply |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski |
|---|---|
| 1/6 | |
| 2/6 | R-b |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/6] Fix SATA support for NSP SoCs
This patch series fixes SATA on the Northstar Plus (BCM58xxx/8831x) which was broken due to a number of things:
- the SATA PHY assumed separate PCB windows when a shared one is used for this generation of SoCs
- the clock/reset (IDM) was not being configured by the driver which meant that depending upon what the boot loader did, or did not, we could have had the AHCI controller still in reset by then
- on some reference boards, the AHCI controller is not DMA coherent, assuming so leads to all sorts of timeouts, data corruption, etc.
Since this touches several subsystems: DT, PHY, AHCI and DTS, I would be keen on having Damien merge all of those via his tree if acceptable by the DT and PHY maintainers, I am OK either way for Broadcom SoC.
Thanks!
Changes in v4:
- move entire allOf to the bottom, before "unevaluatedProperties" per Krzysztof's feedback
Changes in v3:
- actually submit the addressed feedback
Changes in v2:
- addressed Damien's comment: comment line too long, imbalanced IDM call sequence in suspend/resume compared to probe
Florian Fainelli (6):
phy: broadcom: brcm-sata: Keep NSP ports in the shared PCB window
dt-bindings: ata: sata-brcm: Describe the NSP IDM registers
ata: ahci_brcm: Initialize the NSP interface clock and reset
ARM: dts: broadcom: Add the NSP SATA IDM registers
ARM: dts: broadcom: Use noncoherent SATA DMA on BCM958625HR
ARM: dts: broadcom: Enable SATA on BCM958625HR
.../bindings/ata/brcm,sata-brcm.yaml | 57 ++++++++++++------- arch/arm/boot/dts/broadcom/bcm-nsp.dtsi | 7 ++- arch/arm/boot/dts/broadcom/bcm958625hr.dts | 5 ++ drivers/ata/ahci_brcm.c | 36 ++++++++++++ drivers/phy/broadcom/phy-brcm-sata.c | 5 +- 5 files changed, 85 insertions(+), 25 deletions(-)
Signature · 1 line
2.53.0