diff options
author | Vadim Pasternak <vadimp@nvidia.com> | 2021-02-08 23:16:04 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-02-09 13:35:34 +0300 |
commit | c52a1c5f5db55c6a71110c2db9ae26b9f5269d20 (patch) | |
tree | 68c685292f81b63458285fa5faa801bec5f2ea89 /include | |
parent | cae5216387d18c888f9f38a0cf5be341a0af75a6 (diff) | |
download | linux-c52a1c5f5db55c6a71110c2db9ae26b9f5269d20.tar.xz |
i2c: mux: mlxcpld: Extend driver to support word address space devices
Extend driver to allow I2C routing control through CPLD devices with
word address space. Till now only CPLD devices with byte address space
have been supported.
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Michael Shych <michaelsh@nvidia.com>
Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/platform_data/mlxcpld.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/platform_data/mlxcpld.h b/include/linux/platform_data/mlxcpld.h index 04d93c563c04..a7bee798d991 100644 --- a/include/linux/platform_data/mlxcpld.h +++ b/include/linux/platform_data/mlxcpld.h @@ -14,11 +14,13 @@ * @chan_ids - channels array * @num_adaps - number of adapters * @sel_reg_addr - mux select register offset in CPLD space + * @reg_size: register size in bytes */ struct mlxcpld_mux_plat_data { int *chan_ids; int num_adaps; int sel_reg_addr; + u8 reg_size; }; #endif /* _LINUX_I2C_MLXCPLD_H */ |