drivers/iio/adc/ad7606_bus_iface.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* |
| 3 | * Copyright (c) 2010-2024 Analog Devices Inc. |
| 4 | * Copyright (c) 2025 Baylibre, SAS |
| 5 | */ |
| 6 | #ifndef __LINUX_PLATFORM_DATA_AD7606_H__ |
| 7 | #define __LINUX_PLATFORM_DATA_AD7606_H__ |
| 8 | |
| 9 | struct iio_backend; |
| 10 | |
| 11 | struct ad7606_platform_data { |
| 12 | int (*bus_reg_read)(struct iio_backend *back, u32 reg, u32 *val); |
| 13 | int (*bus_reg_write)(struct iio_backend *back, u32 reg, u32 val); |
| 14 | }; |
| 15 | |
| 16 | #endif /* __LINUX_PLATFORM_DATA_AD7606_H__ */ |