mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] platform/x86: portwell-ec: Add watchdog suspend/resume and hwmon
@ 2025-07-28 11:56 Yen-Chi Huang
  2025-07-28 11:58 ` [PATCH v3 1/2] platform/x86: portwell-ec: Add suspend/resume support for watchdog Yen-Chi Huang
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Yen-Chi Huang @ 2025-07-28 11:56 UTC (permalink / raw)
  To: hdegoede, ilpo.jarvinen, jdelvare, linux, wim
  Cc: linux-kernel, platform-driver-x86, linux-hwmon, linux-watchdog,
	jay.chen, jesse.huang

This patch series adds suspend/resume support for the watchdog (patch 1/2)
and hwmon monitoring functionality (patch 2/2) to the Portwell EC driver.
These changes enable better power management and sensor reporting.

Tested on Portwell NANO-6064.
---
V2->V3:

Patch 1/2:
  - Unchanged

Patch 2/2:
  - Replace hardcoded `1000` with `MILLIDEGREE_PER_DEGREE` and double check
  - Fix comma placement and spacing coding style issues
  - Simplify pwec_hwmon_is_visible() with ternary operator

V1->V2:

- Added watchdog mailing list to Cc.

Patch 1/2:
  - unchanged

Patch 2/2:
  - Removed `msb_reg` from `strucit 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 | 193 ++++++++++++++++++++++++++++-
 1 file changed, 191 insertions(+), 2 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-08-26  9:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-28 11:56 [PATCH v3 0/2] platform/x86: portwell-ec: Add watchdog suspend/resume and hwmon Yen-Chi Huang
2025-07-28 11:58 ` [PATCH v3 1/2] platform/x86: portwell-ec: Add suspend/resume support for watchdog Yen-Chi Huang
2025-08-19  9:51   ` Ilpo Järvinen
2025-08-26  9:43     ` Yen-Chi Huang
2025-07-28 12:01 ` [PATCH v3 2/2] platform/x86: portwell-ec: Add hwmon support for voltage and temperature Yen-Chi Huang
2025-08-07  9:45 ` [PATCH v3 0/2] platform/x86: portwell-ec: Add watchdog suspend/resume and hwmon Yen-Chi Huang
2025-08-26  9:58   ` Yen-Chi Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®