From: Yen-Chi Huang <jesse.huang@portwell.com.tw>
To: hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com,
jdelvare@suse.com, linux@roeck-us.net, wim@linux-watchdog.org
Cc: linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org, linux-hwmon@vger.kernel.org,
linux-watchdog@vger.kernel.org, jay.chen@canonical.com,
jesse.huang@portwell.com.tw
Subject: [PATCH v2 0/2] platform/x86: portwell-ec: Add watchdog suspend/resume and hwmon
Date: Mon, 14 Jul 2025 18:52:05 +0800 [thread overview]
Message-ID: <a07d8764-ee23-4d21-a7b5-121cb8a576b9@portwell.com.tw> (raw)
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
next reply other threads:[~2025-07-14 10:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-14 10:52 Yen-Chi Huang [this message]
2025-07-15 3:51 ` [PATCH v2 1/2] platform/x86: portwell-ec: Add suspend/resume support for watchdog jesse huang
2025-07-15 3:56 ` [PATCH v2 2/2] platform/x86: portwell-ec: Add hwmon support for voltage and temperature Yen-Chi Huang
2025-07-21 13:56 ` Ilpo Järvinen
2025-07-24 8:34 ` Yen-Chi Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a07d8764-ee23-4d21-a7b5-121cb8a576b9@portwell.com.tw \
--to=jesse.huang@portwell.com.tw \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jay.chen@canonical.com \
--cc=jdelvare@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=platform-driver-x86@vger.kernel.org \
--cc=wim@linux-watchdog.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®