google/kahlee: Resume on AC insertion
The EC should wake the system from S3 when the AC connector is plugged. BUG=b:77602394 TEST=verify resume on insert with Grunt Change-Id: I4bcaef2fe75283aaa6260b5b9efd408ff4b05f4c Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/25647 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
		
				
					committed by
					
						 Patrick Georgi
						Patrick Georgi
					
				
			
			
				
	
			
			
			
						parent
						
							1b92474412
						
					
				
				
					commit
					edf2f59b1d
				
			| @@ -44,10 +44,11 @@ | ||||
| 	(EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN)     |\ | ||||
| 	 EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON)) | ||||
|  | ||||
| /* EC can wake from S3 with lid or power button or key press */ | ||||
| /* EC can wake from S3 with lid, power button, key press, or AC connect */ | ||||
| #define MAINBOARD_EC_S3_WAKE_EVENTS \ | ||||
| 	(MAINBOARD_EC_S5_WAKE_EVENTS |\ | ||||
| 	 EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED)) | ||||
| 	 EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED) |\ | ||||
| 	 EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_CONNECTED)) | ||||
|  | ||||
| /* Log EC wake events plus EC shutdown events */ | ||||
| #define MAINBOARD_EC_LOG_EVENTS \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user