[PATCH 0/2] hmwon: (sy7636a) fix regulator handling

Andreas Kemnade
2025-09-20T11:43:39Z

The temperature sensor in these devices in only usable if its
regulators are turned on.
To have that properly working fix a race during probe which leads to
dummy regulator assigned instead. That fix looks questionable,
therefore mark it as RFC. Having the regulators enabled increases
power consumption a lot, so rather turn them on only when needed.
The usual usage pattern would be to enable regulators, read temperature to
determine how to configure waveforms for the epaper display,
initiate the refresh and turning the regulators off.

Andreas Kemnade (2):
hwmon: (sy7636a) fix races during probe of mfd subdevices
hwmon: (sy7636a) enable regulator only if needed

drivers/hwmon/sy7636a-hwmon.c | 34 ++++++++++++++++++++++++----------
1 file changed, 24 insertions(+), 10 deletions(-)

--
2.47.3