hwmon: g672: add support for g761
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 4 Jun 2024 16:43:43 +0000 (18:43 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 4 Jun 2024 16:58:32 +0000 (09:58 -0700)
commit6ce402327a6fb714a9f40a0bb59bcbfe383839a5
treef536e1cf7da3ce6975afccfd10d831d72423e7a2
parent302fdb1688e33a33495d5e1f294da5b72a46e263
hwmon: g672: add support for g761

Add support for g761 PWM Fan Controller.

The g761 is a copy of the g763 with the only difference of supporting
and internal clock. The internal clock is used if no clocks property is
defined in device node and in such case the required bit is enabled and
clock handling is skipped.

The internal clock oscillator runs at 31KHz.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20240604164348.542-3-ansuelsmth@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/g762.c