]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (adt7475) Implement support for #pwm-cells = <3>
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Thu, 19 Jun 2025 19:37:45 +0000 (21:37 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 20 Jul 2025 23:38:34 +0000 (16:38 -0700)
commit50f16073d175670f41f3f64ae64ab66a745fd58b
treebb87c8e0a849ac1d1f50193ec23fd5f6a8e2babb
parent75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d
hwmon: (adt7475) Implement support for #pwm-cells = <3>

The adt7475 driver and binding are outliers requiring 4 pwm-cells. The
typical value is 3, there are a few devices that use a lesser value for
historical reasons, no other uses a value bigger than 3.

Implement support for 3 cells to make the adt7475 binding match the
usual PWM binding.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/b5cc994cbe74095e39468fd694c721d7c879db78.1750361514.git.u.kleine-koenig@baylibre.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7475.c