hwmon: (mlxreg-fan) Extend driver to support multiply PWM
authorVadim Pasternak <vadimp@nvidia.com>
Thu, 16 Sep 2021 19:47:18 +0000 (22:47 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 12 Oct 2021 14:22:37 +0000 (07:22 -0700)
commit150f1e0c6fa886e18e35594ae2ba5c81b5df1898
treedcbae752bacd5dcc757f6062b78ccee3f127085d
parentbc8de07e8812548cc19161af3a2b83849ff03045
hwmon: (mlxreg-fan) Extend driver to support multiply PWM

Add additional PWM attributes in order to support the systems, which
can be equipped with up-to four PWM controllers. System capability of
additional PWM support is validated through the reading of relevant
registers.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20210916194719.871413-3-vadimp@nvidia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/mlxreg-fan.c