mbox series

[0/2] hwmon: (adt7475) duty cycle configuration

Message ID 20240508170544.263059-1-chris.packham@alliedtelesis.co.nz (mailing list archive)
Headers show
Series hwmon: (adt7475) duty cycle configuration | expand

Message

Chris Packham May 8, 2024, 5:05 p.m. UTC
I have a system that has very over spec'd fans so the amount of noise when they
run at 100% duty cycle is considerable. We have userspace monitoring tools that
will configure appropriate fan control parameters but there is a bit of a delay
between the kernel loading the driver and the userland tools catching up to
configure the fan control. This series adds device properties that allow the
PWM duty cycle to be specified via device properties so the PWM duty cycle can
be reduced as soon as possible.

Chris Packham (2):
  dt-bindings: hwmon: Document adt7475 PWM initial duty cycle
  hwmon: (adt7475) Add support for configuring initial PWM duty cycle

 .../devicetree/bindings/hwmon/adt7475.yaml    | 26 ++++++++-
 drivers/hwmon/adt7475.c                       | 56 +++++++++++++++++++
 2 files changed, 81 insertions(+), 1 deletion(-)