Messages in this thread |  | | From | Santhosh Kumar K <> | | Subject | [PATCH v2 0/2] Fix OSPI DMA corruption via FSS_FSAS driver | | Date | Mon, 29 Jun 2026 12:50:53 +0530 |
| |
On TI K3 SoCs, DMA transfers from OSPI produce corrupted data when the source address is only 4-byte aligned (not 4K-aligned). The root cause is XIP read prefetch in the FSS_FSAS_GENREGS wrapper (SYSCONFIG.DISXIP, bit 7), which is enabled by default.
This series adds a dedicated FSS_FSAS platform driver that disables XIP prefetch at probe, plus the respective DT binding.
Testing: This series was tested on TI's AM62Ax SK with OSPI NAND flash and AM62Px SK with OSPI NOR flash:
Test log: https://gist.github.com/santhosh21/3ac2a0273065e86315a9b442327c9599 Repo: https://github.com/santhosh21/linux/commits/fsas
Changes in v2: - Fix $id in dt-binding - Use pm_ptr() instead of pm_sleep_ptr() - Link to v1: https://lore.kernel.org/linux-devicetree/20260629065517.868418-1-s-k6@ti.com/
Signed-off-by: Santhosh Kumar K <s-k6@ti.com>
Santhosh Kumar K (2): dt-bindings: memory: Add TI FSS_FSAS binding memory: ti-k3-fsas: Add TI FSS_FSAS driver
.../memory-controllers/ti,am62a-fsas.yaml | 39 ++++++++++ drivers/memory/Kconfig | 10 +++ drivers/memory/Makefile | 1 + drivers/memory/ti-k3-fsas.c | 74 +++++++++++++++++++ 4 files changed, 124 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/ti,am62a-fsas.yaml create mode 100644 drivers/memory/ti-k3-fsas.c
-- 2.34.1
|  |