Keith Hui has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60374 )
Change subject: mb/asus/p2b: Add acpi/ path for ASL sources and mainboard-specific SCMI info ......................................................................
mb/asus/p2b: Add acpi/ path for ASL sources and mainboard-specific SCMI info
Adds mainboard-specific SMBus device listing information for the SCMI implementation provided by CB:41735 into an acpi/ subfolder, following the convention used by all other mainboards. This patch must be applied together with [41735]; on its own it does nothing.
This content, although mainboard-specific, applies to the entire P2B family.
[41735] https://review.coreboot.org/c/coreboot/+/41735
Change-Id: I9c445bd795ca78316de7c0cb63ad8d62d248a8ef Signed-off-by: Keith Hui buurin@gmail.com --- A src/mainboard/asus/p2b/acpi/scmi.asl 1 file changed, 32 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/60374/1
diff --git a/src/mainboard/asus/p2b/acpi/scmi.asl b/src/mainboard/asus/p2b/acpi/scmi.asl new file mode 100644 index 0000000..067dd37 --- /dev/null +++ b/src/mainboard/asus/p2b/acpi/scmi.asl @@ -0,0 +1,32 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +/** + * SCMI: SMBus Information + * NOTE: The device list applies to the ASUS P2B family with a W83781D (or compatible) hardware + * monitor with three SMBus addresses. It may need editing when replicating to your board. + * + * @return SMBus information buffer + */ +Method (_SBI, 0) +{ + Local0 = Package(2) {0x10, Buffer() + { + 0x10, 0x10, /* SCMI and SMBus versions, both 1.0 */ + 0, 0, + 3, /* Device count */ + 0x2d, 0, 0, 0, + 0, 0, 0, 0, + 0, 0, 0, 0, + 0, 0, 0, 0, + 0x48, 0, 0, 0, + 0, 0, 0, 0, + 0, 0, 0, 0, + 0, 0, 0, 0, + 0x49, 0, 0, 0, + 0, 0, 0, 0, + 0, 0, 0, 0, + 0, 0, 0, 0 + } + }; + return (Local0) +}