aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto/ccp/ccp-platform.c
AgeCommit message (Collapse)AuthorFilesLines
2014-07-23crypto: ccp - Base AXI DMA cache settings on device treeTom Lendacky1-0/+6
The default cache operations for ARM64 were changed during 3.15. To use coherent operations a "dma-coherent" device tree property is required. If that property is not present in the device tree node then the non-coherent operations are assigned for the device. Add support to the ccp driver to assign the AXI DMA cache settings based on whether the "dma-coherent" property is present in the device node. If present, use settings that work with the caches. If not present, use settings that do not look at the caches. Signed-off-by: Tom Lendacky <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2014-06-20crypto: ccp - Add platform device support for arm64Tom Lendacky1-0/+224
Add support for the CCP on arm64 as a platform device. Signed-off-by: Tom Lendacky <[email protected]> Signed-off-by: Herbert Xu <[email protected]>