Chrome platform driver development
 help / color / mirror / Atom feed
* [PATCH 0/2] Add support for IO memory mapped EC
@ 2025-01-03  0:19 Gwendal Grignou
  2025-01-03  0:19 ` [PATCH 1/2] platform/chrome: cros_ec_lpc: Merge lpc_driver_ops into ec private structure Gwendal Grignou
  2025-01-03  0:19 ` [PATCH 2/2] platform/chrome: Add Support for direct EC register memory access Gwendal Grignou
  0 siblings, 2 replies; 7+ messages in thread
From: Gwendal Grignou @ 2025-01-03  0:19 UTC (permalink / raw)
  To: bleung, tzungbi; +Cc: chrome-platform, dustin, ben, Gwendal Grignou

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(-)

-- 
2.47.1.613.gc27f4b7a9f-goog


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-01-06 18:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-03  0:19 [PATCH 0/2] Add support for IO memory mapped EC Gwendal Grignou
2025-01-03  0:19 ` [PATCH 1/2] platform/chrome: cros_ec_lpc: Merge lpc_driver_ops into ec private structure Gwendal Grignou
2025-01-06  7:06   ` Tzung-Bi Shih
2025-01-06 18:50     ` Gwendal Grignou
2025-01-03  0:19 ` [PATCH 2/2] platform/chrome: Add Support for direct EC register memory access Gwendal Grignou
2025-01-06  7:06   ` Tzung-Bi Shih
2025-01-06 18:51     ` Gwendal Grignou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox