/* SPDX-License-Identifier: GPL-2.0-only */12#ifndef __XILINX_CORE_H3#define __XILINX_CORE_H45#include <linux/device.h>67/**8* struct xilinx_fpga_core - interface between the driver and the core manager9* of Xilinx 7 Series FPGA manager10* @dev: device node11* @write: write callback of the driver12*/13struct xilinx_fpga_core {14/* public: */15struct device *dev;16int (*write)(struct xilinx_fpga_core *core, const char *buf,17size_t count);18/* private: handled by xilinx-core */19struct gpio_desc *prog_b;20struct gpio_desc *init_b;21struct gpio_desc *done;22};2324int xilinx_core_probe(struct xilinx_fpga_core *core);2526#endif /* __XILINX_CORE_H */272829