/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2022-2024, NVIDIA CORPORATION. All rights reserved. * * Tegra TSEC Module Support */ #ifndef TSEC_LINUX_H #define TSEC_LINUX_H #include /* for types like u8, u32 etc */ #include /* for platform_device */ #include /* for of_match_device etc */ #include /* for kzalloc */ #include /* for udelay */ #include /* for clk_prepare_enable */ #include /* for reset_control_reset */ #include /* for dev_iommu_fwspec_get */ #include /* for readl_poll_timeout */ #include /* for dma_map_page_attrs */ #include /* for dev_pm_ops */ #include /* for KERNEL_VERSION */ #include /* for enable_irq */ #include /* for request_firmware */ #if (KERNEL_VERSION(5, 14, 0) <= LINUX_VERSION_CODE) #include /* for tegra_mc_get_carveout_info */ #include /* for arch_invalidate_pmem */ #else #include /* for mc_get_carveout_info */ #include /* for __flush_dcache_area */ #endif #ifdef CONFIG_DEBUG_FS #include /* for debugfs APIs */ #endif #include /* for SZ_* size macros */ #endif /* TSEC_LINUX_H */