platform: mellanox: mlx-platform: Add mux selection register to regmap
authorVadim Pasternak <vadimp@nvidia.com>
Wed, 8 Feb 2023 06:33:28 +0000 (08:33 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 13 Feb 2023 11:07:50 +0000 (12:07 +0100)
commitcefdbc7815660be4d0f2d290860dcfb0f9d285e4
treec5099163cba4f03658a934dcfa76e566aa7074b4
parent26917eab144c8515435ef9175fdd5dddf9f0f000
platform: mellanox: mlx-platform: Add mux selection register to regmap

Extend writeable, readable, volatile registers of the 'regmap' object
with for I2C mux selector registers.

The motivation is to pass this object extended with selector registers
to I2C mux driver working over ‘regmap’.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Michael Shych <michaelsh@nvidia.com>
Link: https://lore.kernel.org/r/20230208063331.15560-12-vadimp@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/mlx-platform.c