/* SPDX-License-Identifier: GPL-2.0-only */1/* Copyright (C) IBM Corporation 2023 */23#ifndef DRIVERS_FSI_SLAVE_H4#define DRIVERS_FSI_SLAVE_H56#include <linux/cdev.h>7#include <linux/device.h>89struct fsi_master;1011struct fsi_slave {12struct device dev;13struct fsi_master *master;14struct cdev cdev;15int cdev_idx;16int id; /* FSI address */17int link; /* FSI link# */18u32 cfam_id;19int chip_id;20uint32_t size; /* size of slave address space */21u8 t_send_delay;22u8 t_echo_delay;23};2425#define to_fsi_slave(d) container_of(d, struct fsi_slave, dev)2627#endif /* DRIVERS_FSI_SLAVE_H */282930