xref: /linux/drivers/iio/dac/ad3552r-hs.h (revision 7f71507851fc7764b36a3221839607d3a45c2025)
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