/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2021-2023 Digiteq Automotive * author: Martin Tuma <[email protected]> */ #ifndef __MGB4_CORE_H__ #define __MGB4_CORE_H__ #include <linux/spi/flash.h> #include <linux/mtd/partitions.h> #include <linux/mutex.h> #include <linux/dmaengine.h> #include "mgb4_regs.h" #define MGB4_VIN_DEVICES … #define MGB4_VOUT_DEVICES … #define MGB4_MGB4_BAR_ID … #define MGB4_XDMA_BAR_ID … #define MGB4_IS_GMSL(mgbdev) … #define MGB4_IS_FPDL3(mgbdev) … struct mgb4_dma_channel { … }; struct mgb4_dev { … }; #endif