1 // SPDX-License-Identifier: GPL-2.0-only
5 * Author: Lee Jones <lee.jones@linaro.org>
7 * This driver creates a single register map with the intention for it to be
8 * shared by all sub-devices. Children can use their parent's device structure
9 * (dev.parent) in order to reference it.
11 * This driver creates a single register map with the intention for it to be
12 * shared by all sub-devices. Children can use their parent's device structure
13 * (dev.parent) in order to reference it.
15 * Once the register map has been successfully initialised, any sub-devices
16 * represented by child nodes in Device Tree or via the MFD cells in the
17 * associated C file will be subsequently registered.
20 #ifndef __MFD_SIMPLE_MFD_I2C_H
21 #define __MFD_SIMPLE_MFD_I2C_H
23 #include <linux/mfd/core.h>
24 #include <linux/regmap.h>
26 struct simple_mfd_data {
27 const struct regmap_config *regmap_config;
28 const struct mfd_cell *mfd_cell;
32 #endif /* __MFD_SIMPLE_MFD_I2C_H */