mbox series

[GIT,PULL] chrome-platform changes for v6.11

Message ID ZpSiUTZBAOgDYYNQ@tzungbi-laptop (mailing list archive)
State Accepted
Commit 89c491389331faea09a247da47ebd95982dae06e
Headers show
Series [GIT,PULL] chrome-platform changes for v6.11 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git tags/tag-chrome-platform-for-v6.11

Message

Tzung-Bi Shih July 15, 2024, 4:15 a.m. UTC
Hi Linus,

Please pull chrome-platform changes for v6.11.  Note that you would see a
trivial conflict in the MAINTAINERS file and you should keep both changes.
See also [1].

[1]: https://lore.kernel.org/linux-next/20240702145819.3bd4e113@canb.auug.org.au/

Thanks,
TzungBi
------

The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0:

  Linux 6.10-rc1 (2024-05-26 15:20:12 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git tags/tag-chrome-platform-for-v6.11

for you to fetch changes up to 4baf1cc54433ff7c6e5178517bc8768001416681:

  power: supply: cros_charge-control: Fix signedness bug in charge_behaviour_store() (2024-07-05 01:51:33 +0000)

----------------------------------------------------------------
chrome platform changes for 6.11

* New

  - Add "cros_ec_hwmon" driver to expose fan speed and temperature.

  - Add "cros_charge-control" driver to control charge thresholds and
    behaviour.

  - Add module parameter "log_poll_period_ms" in cros_ec_debugfs for
    tuning the poll period.

  - Support version 3 of EC_CMD_GET_NEXT_EVENT and keyboard matrix.

* Fixes

  - Fix a race condition in accessing MEC (Microchip EC) memory between
    ACPI and kernel.  Serialize the memory access by an AML (ACPI
    Machine Language) mutex.

  - Fix an issue of wrong EC message version in cros_ec_debugfs.

* Misc

  - Fix kernel-doc errors and cleanups.

----------------------------------------------------------------
Ben Walsh (6):
      platform/chrome: cros_ec_lpc: MEC access can return error code
      platform/chrome: cros_ec_lpc: MEC access can use an AML mutex
      platform/chrome: cros_ec_lpc: Add a new quirk for ACPI id
      platform/chrome: cros_ec_lpc: Add a new quirk for AML mutex
      platform/chrome: cros_ec_lpc: Add quirks for Framework Laptop
      platform/chrome: cros_ec_lpc: Handle zero length read/write

Daisuke Nojiri (3):
      platform/chrome: Add struct ec_response_get_next_event_v3
      platform/chrome: cros_ec_proto: Upgrade get_next_event to v3
      dt-bindings: input: cros-ec-keyboard: Add keyboard matrix v3.0

Dan Carpenter (3):
      hwmon: (cros_ec) Prevent read overflow in probe()
      platform/chrome: cros_ec_lpc: Fix error code in cros_ec_lpc_mec_read_bytes()
      power: supply: cros_charge-control: Fix signedness bug in charge_behaviour_store()

Guenter Roeck (1):
      hwmon: (cros_ec) Fix access to restricted __le16

Jeff Johnson (1):
      platform/chrome: cros_ec_proto: add missing MODULE_DESCRIPTION() macro

Nathan Chancellor (1):
      power: supply: cros_charge-control: Avoid accessing attributes out of bounds

Rob Barnes (1):
      platform/chrome: cros_ec_debugfs: Make log polling period a parameter

Thomas Weißschuh (9):
      platform/chrome: cros_ec_proto: Fix cros_ec_get_host_event_wake_mask kdoc
      platform/chrome: cros_ec_proto: Fix cros_ec_get_host_command_version_mask kdoc
      platform/chrome: cros_ec_proto: Introduce cros_ec_cmd_readmem()
      hwmon: add ChromeOS EC driver
      ACPI: battery: add devm_battery_hook_register()
      platform/chrome: Update binary interface for EC-based charge control
      platform/chrome: cros_ec_proto: Introduce cros_ec_get_cmd_versions()
      power: supply: add ChromeOS EC based charge control driver
      power: supply: cros_charge-control: don't load if Framework control is present

Tzung-Bi Shih (3):
      platform/chrome: cros_ec: let cros_ec_suspend() call cros_ec_suspend_*
      platform/chrome: cros_ec_proto: update Kunit test for get_next_data_v3
      platform/chrome: cros_ec_debugfs: fix wrong EC message version

 Documentation/hwmon/cros_ec_hwmon.rst          |  26 ++
 Documentation/hwmon/index.rst                  |   1 +
 MAINTAINERS                                    |  14 +
 drivers/acpi/battery.c                         |  15 ++
 drivers/hwmon/Kconfig                          |  11 +
 drivers/hwmon/Makefile                         |   1 +
 drivers/hwmon/cros_ec_hwmon.c                  | 283 ++++++++++++++++++++
 drivers/platform/chrome/cros_ec.c              |   4 +-
 drivers/platform/chrome/cros_ec_debugfs.c      |   9 +-
 drivers/platform/chrome/cros_ec_lpc.c          | 210 +++++++++++----
 drivers/platform/chrome/cros_ec_lpc_mec.c      |  91 ++++++-
 drivers/platform/chrome/cros_ec_lpc_mec.h      |  18 +-
 drivers/platform/chrome/cros_ec_proto.c        |  95 ++++++-
 drivers/platform/chrome/cros_ec_proto_test.c   |   9 +-
 drivers/platform/chrome/wilco_ec/mailbox.c     |  22 +-
 drivers/power/supply/Kconfig                   |  12 +
 drivers/power/supply/Makefile                  |   1 +
 drivers/power/supply/cros_charge-control.c     | 352 +++++++++++++++++++++++++
 include/acpi/battery.h                         |   2 +
 include/dt-bindings/input/cros-ec-keyboard.h   | 104 ++++++++
 include/linux/platform_data/cros_ec_commands.h |  83 +++++-
 include/linux/platform_data/cros_ec_proto.h    |   6 +-
 22 files changed, 1270 insertions(+), 99 deletions(-)
 create mode 100644 Documentation/hwmon/cros_ec_hwmon.rst
 create mode 100644 drivers/hwmon/cros_ec_hwmon.c
 create mode 100644 drivers/power/supply/cros_charge-control.c

Comments

pr-tracker-bot@kernel.org July 16, 2024, 12:51 a.m. UTC | #1
The pull request you sent on Mon, 15 Jul 2024 12:15:13 +0800:

> git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git tags/tag-chrome-platform-for-v6.11

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/89c491389331faea09a247da47ebd95982dae06e

Thank you!