diff options
Diffstat (limited to 'include/linux/regmap.h')
| -rw-r--r-- | include/linux/regmap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 0258bcd6258d..ae797b142aa8 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
| @@ -76,6 +76,9 @@ struct reg_default { | |||
| 76 | * @write_flag_mask: Mask to be set in the top byte of the register when doing | 76 | * @write_flag_mask: Mask to be set in the top byte of the register when doing |
| 77 | * a write. If both read_flag_mask and write_flag_mask are | 77 | * a write. If both read_flag_mask and write_flag_mask are |
| 78 | * empty the regmap_bus default masks are used. | 78 | * empty the regmap_bus default masks are used. |
| 79 | * @use_single_rw: If set, converts the bulk read and write operations into | ||
| 80 | * a series of single read and write operations. This is useful | ||
| 81 | * for device that does not support bulk read and write. | ||
| 79 | * | 82 | * |
| 80 | * @cache_type: The actual cache type. | 83 | * @cache_type: The actual cache type. |
| 81 | * @reg_defaults_raw: Power on reset values for registers (for use with | 84 | * @reg_defaults_raw: Power on reset values for registers (for use with |
| @@ -104,6 +107,8 @@ struct regmap_config { | |||
| 104 | 107 | ||
| 105 | u8 read_flag_mask; | 108 | u8 read_flag_mask; |
| 106 | u8 write_flag_mask; | 109 | u8 write_flag_mask; |
| 110 | |||
| 111 | bool use_single_rw; | ||
| 107 | }; | 112 | }; |
| 108 | 113 | ||
| 109 | typedef int (*regmap_hw_write)(void *context, const void *data, | 114 | typedef int (*regmap_hw_write)(void *context, const void *data, |
