mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tzung-Bi Shih <tzungbi@kernel.org>
To: torvalds@linux-foundation.org
Cc: pmalani@chromium.org, bleung@chromium.org, groeck@chromium.org,
	tzungbi@kernel.org, linux-kernel@vger.kernel.org,
	chrome-platform@lists.linux.dev
Subject: [GIT PULL] chrome-platform changes for v6.11
Date: Mon, 15 Jul 2024 12:15:13 +0800	[thread overview]
Message-ID: <ZpSiUTZBAOgDYYNQ@tzungbi-laptop> (raw)

[-- Attachment #1: Type: text/plain, Size: 5349 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

             reply	other threads:[~2024-07-15  4:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-15  4:15 Tzung-Bi Shih [this message]
2024-07-16  0:51 ` pr-tracker-bot

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=ZpSiUTZBAOgDYYNQ@tzungbi-laptop \
    --to=tzungbi@kernel.org \
    --cc=bleung@chromium.org \
    --cc=chrome-platform@lists.linux.dev \
    --cc=groeck@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmalani@chromium.org \
    --cc=torvalds@linux-foundation.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®