Home
last modified time | relevance | path

Searched hist:"7 b8664f126e90d1d2129b8653c587bf230dd800c" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/hwmon/
H A Dadt7475.cdiff 7b8664f126e90d1d2129b8653c587bf230dd800c Wed Mar 23 04:40:55 CET 2022 Chris Packham <chris.packham@alliedtelesis.co.nz> hwmon: (adt7475) Add support for pin configuration

The adt7473, adt7475, adt7476 and adt7490 have pins that can be used for
different functions. On the adt7473 and adt7475 this is pins 5 and 9.
On the adt7476 and adt7490 this is pins 10 and 14.

The first pin can either be PWM2(default) or SMBALERT#. The second pin
can be TACH4(default), THERM#, SMBALERT# or GPIO.

The adt7475 driver has always been able to detect the configuration if
it had been done by an earlier boot stage. Add support for configuring
the pins based on the hardware description in the device tree.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220323034056.260455-3-chris.packham@alliedtelesis.co.nz
Signed-off-by: Guenter Roeck <linux@roeck-us.net>