linux-loongson/drivers/soc/aspeed
Andrew Jeffery fdf003f30b soc: aspeed: lpc-snoop: Lift channel config to const structs
The shifts and masks for each channel are defined by hardware and
are not something that changes at runtime. Accordingly, describe the
information in an array of const structs and associate elements with
each channel instance, removing the need for the switch and handling of
its default case.

Link: https://patch.msgid.link/20250616-aspeed-lpc-snoop-fixes-v2-10-3cdd59c934d3@codeconstruct.com.au
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2025-07-08 11:35:07 +09:30
..
aspeed-lpc-ctrl.c soc: Switch back to struct platform_driver::remove() 2024-11-01 17:08:57 +01:00
aspeed-lpc-snoop.c soc: aspeed: lpc-snoop: Lift channel config to const structs 2025-07-08 11:35:07 +09:30
aspeed-p2a-ctrl.c soc: Switch back to struct platform_driver::remove() 2024-11-01 17:08:57 +01:00
aspeed-socinfo.c soc: aspeed: socinfo: Add kfree for kstrdup 2023-08-12 12:12:58 +02:00
aspeed-uart-routing.c soc: Switch back to struct platform_driver::remove() 2024-11-01 17:08:57 +01:00
Kconfig soc: aspeed: Add UART routing support 2021-10-22 17:32:09 +02:00
Makefile soc: aspeed: Add UART routing support 2021-10-22 17:32:09 +02:00