mb/google/kahlee/treeya: Use GPIO_10 for EC_SYNC_IRQ
Use AGPIO 10 as the EC sync interrupt for MKBP events for sensor data. Reference to Aleena project. BUG=b:135551210 BRANCH=grunt TEST=emerge-grunt coreboot Signed-off-by: Chris Wang <chris.wang@amd.corp-partner.google.com> Change-Id: Ie0b719ebce90710bca2109b7ff255e19329f9cac Reviewed-on: https://review.coreboot.org/c/coreboot/+/34902 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward Hill <ecgh@chromium.org>
This commit is contained in:
		@@ -20,3 +20,9 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/* Enable Tablet switch */
 | 
					/* Enable Tablet switch */
 | 
				
			||||||
#define EC_ENABLE_TBMC_DEVICE
 | 
					#define EC_ENABLE_TBMC_DEVICE
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/*
 | 
				
			||||||
 | 
					 * Enable EC sync interrupt via GPIO controller, EC_SYNC_IRQ is defined in
 | 
				
			||||||
 | 
					 * variant/gpio.h
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					#define EC_ENABLE_SYNC_IRQ_GPIO
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,3 +14,6 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <baseboard/gpio.h>
 | 
					#include <baseboard/gpio.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* EC sync irq is AGPIO 10 */
 | 
				
			||||||
 | 
					#define EC_SYNC_IRQ	10
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user