Commit cd175872 authored by Francesco Dolcini's avatar Francesco Dolcini Committed by Guenter Roeck
Browse files

hwmon: (amc6821) Add PWM polarity configuration with OF



Add support to configure the PWM-Out pin polarity based on the device
tree. The binding would allow also to configure the PWM period, this is
currently not implemented by the driver.

The driver has a module option to set the PWM polarity (normal=0,
inverted=1), when specified it always takes the precedence over the DT.

Signed-off-by: default avatarFrancesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20250402102146.65406-3-francesco@dolcini.it


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent ce664221
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment