From patchwork Thu May 26 01:33:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tzung-Bi Shih X-Patchwork-Id: 12861953 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAB2C10EA for ; Thu, 26 May 2022 01:33:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3AB2C34117; Thu, 26 May 2022 01:33:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653528786; bh=pQbwgINLxI21GXXyGtGVeUNfYP2Q2AzNFVmF3Cd0PNM=; h=Date:From:To:Cc:Subject:From; b=pR/NjBZ4wpBqm8YpbrG2oteKBFh9ISJ1Lsqy9sVDxIkoWWhbmk+tjrl0OYyLRwwBc KPQjrE2ffov3+OnxnTcZC/e6o/Dj2bT0IlUgkeJJa3SLDXc/SaUAKarDYB1FhNHheo EEnxfmK4ata+XjIFrezl5mgM3PPaPkPGwtUA9YCP6a8xsXbRvqsrEozx2lY1s/U9lR CsqPYAgwUj3eq1X0kgxy7dU+hnpre9LlGq2PJ1tKGZ9afqdR1cI+6LxswVqQDQToMe Hxl8tBBduHomnnGRIubC+8bEx5NDb2QW4mwqxxk9DStk8cqqxm3oq+NCcTX4KdZAlB LITR1wXkHHB4A== Date: Thu, 26 May 2022 09:33:02 +0800 From: Tzung-Bi Shih To: torvalds@linux-foundation.org Cc: pmalani@chromium.org, bleung@chromium.org, linux-kernel@vger.kernel.org, groeck@chromium.org, tzungbi@kernel.org, chrome-platform@lists.linux.dev Subject: [GIT PULL] chrome-platform changes for v5.19 Message-ID: Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline Linus, Please pull chrome-platform updates for v5.19. Thanks, TzungBi The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17: Linux 5.18-rc1 (2022-04-03 14:08:21 -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-v5.19 for you to fetch changes up to abd4fd43f2af03e2e852e6b1b98faeee9e3eae55: platform/chrome: Use imperative mood for ChromeOS ACPI sysfs ABI descriptions (2022-05-24 08:46:21 +0800) ---------------------------------------------------------------- chrome platform changes for 5.19 cros_ec: * Fix wrong error handling path. * Clean-up patches. cros_ec_chardev: * Re-introduce cros_ec_cmd_xfer to fix ABI broken. cros_ec_lpcs: * Support the Framework Laptop. cros_ec_typec: * Fix NULL dereference. chromeos_acpi: * Add ChromeOS ACPI device driver. * Fix Sphinx errors when `make htmldocs`. misc: * Drop BUG_ON()s. ---------------------------------------------------------------- Akihiko Odaki (1): platform/chrome: cros_ec_typec: Check for EC driver Bagas Sanjaya (2): platform/chrome: Use tables for values lists of ChromeOS ACPI sysfs ABI platform/chrome: Use imperative mood for ChromeOS ACPI sysfs ABI descriptions Dustin L. Howett (2): platform/chrome: cros_ec_lpcs: detect the Framework Laptop platform/chrome: cros_ec_lpcs: reserve the MEC LPC I/O ports first Enric Balletbo i Serra (1): platform/chrome: Add ChromeOS ACPI device driver Guenter Roeck (1): platform/chrome: Re-introduce cros_ec_cmd_xfer and use it for ioctls Tzung-Bi Shih (12): platform/chrome: cros_ec: fix error handling in cros_ec_register() platform/chrome: cros_ec: remove unused variable `was_wake_device` platform/chrome: cros_ec: determine `wake_enabled` in cros_ec_suspend() platform/chrome: cros_ec: sort header inclusion alphabetically platform/chrome: cros_ec: append newline to all logs platform/chrome: cros_ec_proto: drop unneeded BUG_ON() in prepare_packet() platform/chrome: correct cros_ec_prepare_tx() usage platform/chrome: cros_ec_proto: drop BUG_ON() in cros_ec_prepare_tx() platform/chrome: cros_ec_proto: drop BUG_ON() in cros_ec_get_host_event() platform/chrome: cros_ec_i2c: drop BUG_ON() in cros_ec_pkt_xfer_i2c() platform/chrome: cros_ec_spi: drop unneeded BUG_ON() platform/chrome: cros_ec_spi: drop BUG_ON() if `din` isn't large enough .../ABI/testing/sysfs-driver-chromeos-acpi | 137 ++++++++ .../firmware-guide/acpi/chromeos-acpi-device.rst | 363 +++++++++++++++++++++ Documentation/firmware-guide/acpi/index.rst | 1 + drivers/platform/chrome/Kconfig | 11 + drivers/platform/chrome/Makefile | 1 + drivers/platform/chrome/chromeos_acpi.c | 257 +++++++++++++++ drivers/platform/chrome/cros_ec.c | 36 +- drivers/platform/chrome/cros_ec_chardev.c | 2 +- drivers/platform/chrome/cros_ec_i2c.c | 12 +- drivers/platform/chrome/cros_ec_ishtp.c | 4 +- drivers/platform/chrome/cros_ec_lpc.c | 49 ++- drivers/platform/chrome/cros_ec_proto.c | 63 +++- drivers/platform/chrome/cros_ec_rpmsg.c | 2 + drivers/platform/chrome/cros_ec_spi.c | 15 +- drivers/platform/chrome/cros_ec_typec.c | 3 + include/linux/platform_data/cros_ec_commands.h | 10 +- include/linux/platform_data/cros_ec_proto.h | 6 +- 17 files changed, 914 insertions(+), 58 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-driver-chromeos-acpi create mode 100644 Documentation/firmware-guide/acpi/chromeos-acpi-device.rst create mode 100644 drivers/platform/chrome/chromeos_acpi.c