linux/drivers/platform
Thomas Weißschuh a14a569a99 platform/chrome: cros_ec_proto: Introduce cros_ec_cmd_readmem()
To read from the EC memory different mechanism are possible.
ECs connected via LPC expose their memory via a ->cmd_readmem operation.
Other protocols require the usage of EC_CMD_READ_MEMMAP, which on the
other hand is not implemented by LPC ECs.

Provide a helper that automatically selects the correct mechanism.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240529-cros_ec-hwmon-v4-1-5cdf0c5db50a@weissschuh.net
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
2024-06-03 01:14:42 +00:00
..
arm64 platform: arm64: Add Acer Aspire 1 embedded controller driver 2024-03-25 15:49:01 +01:00
chrome platform/chrome: cros_ec_proto: Introduce cros_ec_cmd_readmem() 2024-06-03 01:14:42 +00:00
goldfish platform: goldfish: move the separate 'default' propery for CONFIG_GOLDFISH 2024-03-07 21:47:48 +00:00
loongarch platform/loongarch: laptop: Fix possible UAF and simplify generic_acpi_laptop_init() 2022-10-29 16:29:31 +08:00
mellanox platform/mellanox: mlxreg-hotplug: Remove redundant NULL-check 2024-03-12 12:48:36 +02:00
mips mips: rs870e: stop exporting local functions 2023-12-10 17:21:39 -08:00
olpc platform/olpc: olpc-xo175-ec: Use SPI device ID data to bind device 2023-03-20 14:43:35 +01:00
surface platform/surface: aggregator: Log critical errors during SAM probing 2024-05-14 11:43:39 +02:00
x86 Driver core changes for 6.10-rc1 2024-05-22 12:13:40 -07:00
Kconfig platform: Add ARM64 platform directory 2024-03-25 15:48:04 +01:00
Makefile platform: Add ARM64 platform directory 2024-03-25 15:48:04 +01:00