1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * Copyright (c) 2024 Analog Devices Inc. 4 * Copyright (c) 2024 Baylibre, SAS 5 */ 6 #ifndef __LINUX_PLATFORM_DATA_AD3552R_HS_H__ 7 #define __LINUX_PLATFORM_DATA_AD3552R_HS_H__ 8 9 struct iio_backend; 10 11 struct ad3552r_hs_platform_data { 12 int (*bus_reg_read)(struct iio_backend *back, u32 reg, u32 *val, 13 size_t data_size); 14 int (*bus_reg_write)(struct iio_backend *back, u32 reg, u32 val, 15 size_t data_size); 16 u32 bus_sample_data_clock_hz; 17 }; 18 19 #endif /* __LINUX_PLATFORM_DATA_AD3552R_HS_H__ */ 20