mb/google/drallion: Set touchpad IRQs as wake source
Elan touchpad driver in newer linux kernels (>= 5.15) no longer
explicitly configures the touchpad as a wakeup source for devices
not using device tree. It is now assumed this information should be
extracted from ACPI, therefore we need to update drallion's devicetree
so that the device regains its lost capability.
TEST=update drallion FW and verify touchpad can cause wake up from
     suspend
Change-Id: Iff21afda144cc11a013cb72816064df1c9eb21ae
Signed-off-by: Angela Czubak <aczubak@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83070
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Felix Held
					
				
			
			
				
	
			
			
			
						parent
						
							a48a3f3ef3
						
					
				
				
					commit
					c5755810df
				
			@@ -388,14 +388,16 @@ chip soc/intel/cannonlake
 | 
			
		||||
			chip drivers/i2c/generic
 | 
			
		||||
				register "hid" = ""ELAN0000""
 | 
			
		||||
				register "desc" = ""ELAN Touchpad""
 | 
			
		||||
				register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)"
 | 
			
		||||
				register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
 | 
			
		||||
				register "wake" = "GPE0_DW0_03"
 | 
			
		||||
				register "detect" = "1"
 | 
			
		||||
				device i2c 2c on end
 | 
			
		||||
			end
 | 
			
		||||
			chip drivers/i2c/generic
 | 
			
		||||
				register "hid" = ""ELAN0000""
 | 
			
		||||
				register "desc" = ""ELAN Touchpad""
 | 
			
		||||
				register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)"
 | 
			
		||||
				register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
 | 
			
		||||
				register "wake" = "GPE0_DW0_03"
 | 
			
		||||
				register "detect" = "1"
 | 
			
		||||
				device i2c 15 on end
 | 
			
		||||
			end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user