diff options
author | Ben Collins <bcollins@kernel.org> | 2025-05-05 13:53:07 -0400 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-05-14 15:25:15 +0100 |
commit | 00ff4d68a9ae4c9315c166f1fafa47f4c0a65f6f (patch) | |
tree | 98cfcca34dc0f0e7c33f9f3a34b61f56b61f7cb3 /scripts/lib/kdoc/kdoc_files.py | |
parent | 17502e7d7b7113346296f6758324798d536c31fd (diff) |
fsldma: Set correct dma_mask based on hw capability
The driver currently hardcodes DMA_BIT_MASK to 36-bits, which is only
correct on eloplus:
elo3 supports 40-bits
eloplus supports 36-bits
elo supports 32-bits
This is based on 0x08 cdar register documention in the respective
reference manuals. Set the dma mask accordingly.
Feedback from Arnd Bergmann:
- Use match data to set address bit mask
Signed-off-by: Ben Collins <bcollins@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Vinod Koul <vkoul@kernel.org>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: dmaengine@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Link: https://lore.kernel.org/r/2025050513-complex-crane-2babb6@boujee-and-buff
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions