| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|---|
| 2 | /* |
| 3 | * Copyright (C) 2024 Liebherr-Electronics and Drives GmbH |
| 4 | */ |
| 5 | #ifndef _MC33XS2410_H |
| 6 | #define _MC33XS2410_H |
| 7 | |
| 8 | #include <linux/spi/spi.h> |
| 9 | |
| 10 | MODULE_IMPORT_NS("PWM_MC33XS2410"); |
| 11 | |
| 12 | int mc33xs2410_read_reg_ctrl(struct spi_device *spi, u8 reg, u16 *val); |
| 13 | int mc33xs2410_read_reg_diag(struct spi_device *spi, u8 reg, u16 *val); |
| 14 | int mc33xs2410_modify_reg(struct spi_device *spi, u8 reg, u8 mask, u8 val); |
| 15 | |
| 16 | #endif /* _MC33XS2410_H */ |
| 17 |
