Re: (subset) [PATCH v1 0/3] Introduce cros_ec power monitoring

From: Tzung-Bi Shih

Date: Sun Nov 08 2026 - 21:07:12 EST


On Fri, Nov 06, 2026 at 07:31:14PM +0000, Daniel Balint wrote:
> This series adds the ChromeOS EC On-Device Power Monitoring
> (cros_ec_pwrmon) driver to read onboard power-monitoring ADCs,
> such as PAC194x, wired through the embedded controller (EC).
>
> Several ChromeOS platforms are equipped with onboard ADCs that are
> connected to the EC via I2C bus. The driver interfaces with the EC
> via the existing EC_CMD_PWRMON host command API (and EC_MKBP_EVENT_PWRMON
> events) to manage ADC accumulation and expose accumulated per-rail energy
> through an IIO sysfs attribute.
>
> The driver is only loaded when the underlying hardware feature is present.
> The series also fixes alignment padding in EC_CMD_PWRMON definitions.
>
> Daniel Balint (3):
> platform/chrome: cros_ec: fix alignment of ec_params_pwrmon
> iio: adc: add cros_ec_pwrmon driver
> mfd: cros_ec: load cros_ec_pwrmon on supported ECs
>
> [...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next

[1/3] platform/chrome: cros_ec: fix alignment of ec_params_pwrmon
commit: 346739bcdf6577fb5f10845ce339e34e855aae78

Thanks!