diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ec/google/chromeec/acpi/cros_ec.asl | 5 | ||||
-rw-r--r-- | src/ec/google/chromeec/acpi/ec.asl | 6 | ||||
-rw-r--r-- | src/ec/google/chromeec/acpi/tbmc.asl | 4 |
3 files changed, 8 insertions, 7 deletions
diff --git a/src/ec/google/chromeec/acpi/cros_ec.asl b/src/ec/google/chromeec/acpi/cros_ec.asl index adf8d90d8c..b46c18741a 100644 --- a/src/ec/google/chromeec/acpi/cros_ec.asl +++ b/src/ec/google/chromeec/acpi/cros_ec.asl @@ -51,6 +51,11 @@ Device (CREC) #ifdef EC_ENABLE_PD_MCU_DEVICE #include "pd.asl" #endif + +#ifdef EC_ENABLE_TBMC_DEVICE + #include "tbmc.asl" +#endif + Method(_STA, 0) { Return (0xF) diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl index 3d5961aa1b..d6d33b2a08 100644 --- a/src/ec/google/chromeec/acpi/ec.asl +++ b/src/ec/google/chromeec/acpi/ec.asl @@ -457,7 +457,7 @@ Device (EC0) \_SB.DPTF.TPET() #endif #ifdef EC_ENABLE_TBMC_DEVICE - Notify (TBMC, 0x80) + Notify (^CREC.TBMC, 0x80) #endif #if CONFIG(SOC_AMD_COMMON_BLOCK_ACPI_DPTC) If (CondRefOf (\_SB.DPTC)) { @@ -660,8 +660,4 @@ Device (EC0) #ifdef EC_ENABLE_KEYBOARD_BACKLIGHT #include "keyboard_backlight.asl" #endif - -#ifdef EC_ENABLE_TBMC_DEVICE - #include "tbmc.asl" -#endif } diff --git a/src/ec/google/chromeec/acpi/tbmc.asl b/src/ec/google/chromeec/acpi/tbmc.asl index 3ecf78ef5b..efc42570df 100644 --- a/src/ec/google/chromeec/acpi/tbmc.asl +++ b/src/ec/google/chromeec/acpi/tbmc.asl @@ -7,7 +7,7 @@ Device (TBMC) Name (_DDN, "Tablet Motion Control") Method (TBMC) { - If (^^RCTM == 1) { + If (RCTM == 1) { Return (0x1) } Else { Return (0x0) @@ -15,7 +15,7 @@ Device (TBMC) } Method(_STA, 0) { - If (^^MTNS == 1) { + If (MTNS == 1) { Return (0xF) } Else { Return (0x0) |