[PATCH v2 0/2] platform/x86: portwell-ec: Add watchdog suspend/resume and hwmon

Yen-Chi Huang posted 2 patches 2 months, 3 weeks ago
There is a newer version of this series
drivers/platform/x86/portwell-ec.c | 196 ++++++++++++++++++++++++++++-
1 file changed, 194 insertions(+), 2 deletions(-)
[PATCH v2 0/2] platform/x86: portwell-ec: Add watchdog suspend/resume and hwmon
Posted by Yen-Chi Huang 2 months, 3 weeks ago
Add suspend/resume support for watchdog and hwmon monitoring functionality
to the Portwell EC driver, enabling better power management and sensor
reporting.

Tested on Portwell NANO-6064.

--
V2:

- Added watchdog mailing list to Cc.

Patch 1/2:
  - unchanged

Patch 2/2:
  - Removed `msb_reg` from `struct pwec_hwmon_data`
  - Updated `pwec_read16_stable()` to assume MSB follows LSB
  - Moved `hwmon_channel_info` to per-board data and assigned it to `.info` at runtime
  - Replaced the `pwec_board_data[]` array with a standalone struct
  - Replaced literal `1000` with `MILLIDEGREE_PER_DEGREE`
  - Removed unused include and sorted header includes

Yen-Chi Huang (2):
  platform/x86: portwell-ec: Add suspend/resume support for watchdog
  platform/x86: portwell-ec: Add hwmon support for voltage and temperature

 drivers/platform/x86/portwell-ec.c | 196 ++++++++++++++++++++++++++++-
 1 file changed, 194 insertions(+), 2 deletions(-)

-- 
2.34.1