![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0-only 0002 /* 0003 * Simple MFD - I2C 0004 * 0005 * Author: Lee Jones <lee.jones@linaro.org> 0006 * 0007 * This driver creates a single register map with the intention for it to be 0008 * shared by all sub-devices. Children can use their parent's device structure 0009 * (dev.parent) in order to reference it. 0010 * 0011 * This driver creates a single register map with the intention for it to be 0012 * shared by all sub-devices. Children can use their parent's device structure 0013 * (dev.parent) in order to reference it. 0014 * 0015 * Once the register map has been successfully initialised, any sub-devices 0016 * represented by child nodes in Device Tree or via the MFD cells in the 0017 * associated C file will be subsequently registered. 0018 */ 0019 0020 #ifndef __MFD_SIMPLE_MFD_I2C_H 0021 #define __MFD_SIMPLE_MFD_I2C_H 0022 0023 #include <linux/mfd/core.h> 0024 #include <linux/regmap.h> 0025 0026 struct simple_mfd_data { 0027 const struct regmap_config *regmap_config; 0028 const struct mfd_cell *mfd_cell; 0029 size_t mfd_cell_size; 0030 }; 0031 0032 #endif /* __MFD_SIMPLE_MFD_I2C_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |