1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Core interface for Renesas Synchronization Management Unit (SMU) devices.
5 * Copyright (C) 2021 Integrated Device Technology, Inc., a Renesas Company.
8 #ifndef __LINUX_MFD_RSMU_H
9 #define __LINUX_MFD_RSMU_H
11 #define RSMU_MAX_WRITE_COUNT (255)
12 #define RSMU_MAX_READ_COUNT (255)
14 /* The supported devices are ClockMatrix, Sabre and SnowLotus */
23 * struct rsmu_ddata - device data structure for sub devices.
25 * @dev: i2c/spi device.
26 * @regmap: i2c/spi bus access.
27 * @lock: mutex used by sub devices to make sure a series of
28 * bus access requests are not interrupted.
29 * @type: RSMU device type.
30 * @page: i2c/spi bus driver internal use only.
34 struct regmap *regmap;
39 #endif /* __LINUX_MFD_RSMU_H */