linux/drivers/platform/chrome
Daniel Schaefer 377b041c22 platform/chrome: cros_ec_lpc: Match on Framework ACPI device
[ Upstream commit d83c45aeec ]

Load the cros_ec_lpc driver based on a Framework FRMWC004 ACPI device,
which mirrors GOOG0004, but also applies npcx quirks for Framework
systems.

Matching on ACPI will let us avoid having to change the SMBIOS match
rules again and again.

Cc: Tzung-Bi Shih <tzungbi@kernel.org>
Cc: linux@frame.work
Cc: Dustin L. Howett <dustin@howett.net>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Link: https://lore.kernel.org/r/20250128181329.8070-1-dhs@frame.work
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-04-20 10:15:12 +02:00
..
wilco_ec move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
chromeos_acpi.c platform/chrome: chromeos_acpi: print hex string for ACPI_TYPE_BUFFER 2023-08-10 11:10:56 +08:00
chromeos_laptop.c platform/chrome: chromeos_laptop: Use kmemdup_array 2024-08-23 21:48:43 +08:00
chromeos_privacy_screen.c ACPI: make remove callback of ACPI driver void 2022-11-23 19:11:22 +01:00
chromeos_pstore.c chrome platform changes for 5.8 2020-06-04 10:54:45 -07:00
chromeos_tbmc.c platform/chrome: chromeos_tbmc: Report wake events 2019-09-12 16:01:35 +02:00
cros_ec.c platform/chrome: cros_ec: let cros_ec_suspend() call cros_ec_suspend_* 2024-05-27 02:42:28 +00:00
cros_ec.h platform/chrome: cros_ec_lpc: Separate host command and irq disable 2023-10-28 11:13:25 +08:00
cros_ec_chardev.c platform/chrome: cros_ec_chardev: provide ID table for avoiding fallback match 2024-04-24 16:45:57 +08:00
cros_ec_debugfs.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
cros_ec_i2c.c platform/chrome: Switch i2c drivers back to use .probe() 2023-05-29 08:37:29 +08:00
cros_ec_ishtp.c platform/chrome: cros_ec_ishtp: use helper functions for connection 2023-12-06 11:33:46 +01:00
cros_ec_lightbar.c platform/chrome: cros_ec_lightbar: provide ID table for avoiding fallback match 2024-04-24 16:45:57 +08:00
cros_ec_lpc.c platform/chrome: cros_ec_lpc: Match on Framework ACPI device 2025-04-20 10:15:12 +02:00
cros_ec_lpc_mec.c platform/chrome: cros_ec_lpc: Handle zero length read/write 2024-06-14 02:47:25 +00:00
cros_ec_lpc_mec.h platform/chrome: cros_ec_lpc: MEC access can use an AML mutex 2024-06-06 03:11:51 +00:00
cros_ec_proto.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
cros_ec_proto_test.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
cros_ec_proto_test_util.c platform/chrome: kunit: make EC protocol tests independent 2023-10-05 18:11:36 +08:00
cros_ec_proto_test_util.h platform/chrome: kunit: make EC protocol tests independent 2023-10-05 18:11:36 +08:00
cros_ec_rpmsg.c platform/chrome: correct cros_ec_prepare_tx() usage 2022-05-16 10:01:51 +08:00
cros_ec_sensorhub.c platform/chrome: cros_ec_sensorhub: provide ID table for avoiding fallback match 2024-04-24 16:45:56 +08:00
cros_ec_sensorhub_ring.c platform/chrome: sensorhub: Implement quickselect for median calculation 2023-11-13 12:46:42 +08:00
cros_ec_sensorhub_trace.h platform: chrome: Split trace include file 2022-03-31 16:56:29 -07:00
cros_ec_spi.c platform/chrome: cros_ec_spi: Follow renaming of SPI "master" to "controller" 2024-02-08 11:54:47 +00:00
cros_ec_sysfs.c platform/chrome: cros_ec_sysfs: provide ID table for avoiding fallback match 2024-04-24 16:45:57 +08:00
cros_ec_trace.c platform/chrome: cros_ec: Add command for regulator control. 2020-06-15 22:40:14 +01:00
cros_ec_trace.h platform/chrome: use macros for passthru indexes 2022-06-10 02:31:42 +00:00
cros_ec_typec.c platform/chrome: cros_ec_typec: fix missing fwnode reference decrement 2024-12-05 14:02:52 +01:00
cros_ec_typec.h platform/chrome: cros_ec_typec: Move structs to header 2023-01-09 20:32:53 +00:00
cros_ec_uart.c chrome-platform fixes for v6.9-rc4 2024-04-11 11:15:09 -07:00
cros_ec_vbc.c platform/chrome: cros_ec_vbc: provide ID table for avoiding fallback match 2024-04-24 16:45:58 +08:00
cros_hps_i2c.c platform/chrome: cros_hps_i2c: Replace deprecated UNIVERSAL_DEV_PM_OPS() 2024-04-24 16:45:59 +08:00
cros_kbd_led_backlight.c platform/chrome: cros_kbd_led_backlight: allow binding through MFD 2024-06-14 10:09:40 +01:00
cros_typec_switch.c platform/chrome: cros_typec_switch: Convert to platform remove callback returning void 2023-09-28 13:18:06 +08:00
cros_typec_vdm.c platform/chrome: cros_typec_vdm: Mark port_amode_ops const 2023-10-04 11:40:54 +08:00
cros_typec_vdm.h platform/chrome: cros_typec_vdm: Mark port_amode_ops const 2023-10-04 11:40:54 +08:00
cros_usbpd_logger.c platform/chrome: cros_usbpd_logger: provide ID table for avoiding fallback match 2024-04-24 16:45:56 +08:00
cros_usbpd_notify.c platform/chrome: cros_usbpd_notify: provide ID table for avoiding fallback match 2024-04-24 16:45:57 +08:00
Kconfig platform/chrome: cros_kbd_led_backlight: allow binding through MFD 2024-06-14 10:09:40 +01:00
Makefile platform/chrome: kunit: make EC protocol tests independent 2023-10-05 18:11:36 +08:00