Re: [External] Re: [PATCH v2] watchdog: add in watchdog for nct6686

From: Guenter Roeck
Date: Sat Feb 24 2024 - 12:26:03 EST


On Sat, Feb 24, 2024 at 05:00:04PM +0000, David Ober wrote:
> Hi
>
> I understand the issue of the first come first grab but when I attempted to add this to the hwmon you insisted that that was not the correct place and to create a watchdog module so if both can not be loaded then would it have not been better to add it to the hwmon like some of the other chips.
>

Two options:

- Add it to the hwmon driver. Not a preferred solution.
- Implement a mfd driver which controls access to the chip
(preferrably through regmap) and instantiates both the hwmon
driver and the watchdog driver.

Guenter