mbox series

[0/2] Add support for IO memory mapped EC

Message ID 20250103001950.2868856-1-gwendal@chromium.org (mailing list archive)
Headers show
Series Add support for IO memory mapped EC | expand

Message

Gwendal Grignou Jan. 3, 2025, 12:19 a.m. UTC
Some EC - Realtek - have their register IO mapped by the BIOS -
coreboot. They are not using the well know io register.

The memory mapping information is retrieved through the ACPI CRS
resource, and is used to access the registers.

To ease the support of these ECs, the global structure and accessor
funcions are now aware of the EC device private structure.

Gwendal Grignou (2):
  platform/chrome: cros_ec_lpc: Merge lpc_driver_ops into ec private
    structure
  platform/chrome: Add Support for direct EC register memory access

 drivers/platform/chrome/cros_ec_lpc.c | 208 ++++++++++++++++++--------
 1 file changed, 144 insertions(+), 64 deletions(-)