mb/google/brya: Set WWAN_PCIE_WAKE_ODL as interrupt on Redrix
This signal gets deasserted by the WWAN modem to reactivate the PCIe link when in low power mode. In order to handle this efficiently, the kernel needs to set up an interrupt. BUG=b:301150499 TEST=Compiled and tested on google/redrix Signed-off-by: Paweł Anikiel <panikiel@google.com> Change-Id: I37f6836aefe4a374eaff3e4bc11358be274cf563 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78416 Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
This commit is contained in:
		
				
					committed by
					
						 Jakub Czapiga
						Jakub Czapiga
					
				
			
			
				
	
			
			
			
						parent
						
							41ce3a57d6
						
					
				
				
					commit
					97cd5bdeae
				
			| @@ -19,7 +19,7 @@ static const struct pad_config gpio_table[] = { | |||||||
| 	/* A6  : ESPI_ALERT1# ==> SPKR_INT_L */ | 	/* A6  : ESPI_ALERT1# ==> SPKR_INT_L */ | ||||||
| 	PAD_CFG_GPI(GPP_A6, NONE, DEEP), | 	PAD_CFG_GPI(GPP_A6, NONE, DEEP), | ||||||
| 	/* A7  : SRCCLK_OE7# ==> WWAN_PCIE_WAKE_ODL */ | 	/* A7  : SRCCLK_OE7# ==> WWAN_PCIE_WAKE_ODL */ | ||||||
| 	PAD_CFG_GPI_APIC(GPP_A7, NONE, PLTRST, LEVEL, INVERT), | 	PAD_CFG_GPI_INT(GPP_A7, NONE, PLTRST, EDGE_SINGLE), | ||||||
| 	/* A8  : SRCCLKREQ7# ==> WWAN_RF_DISABLE_ODL */ | 	/* A8  : SRCCLKREQ7# ==> WWAN_RF_DISABLE_ODL */ | ||||||
| 	PAD_CFG_GPO(GPP_A8, 1, DEEP), | 	PAD_CFG_GPO(GPP_A8, 1, DEEP), | ||||||
| 	/* A9  : ESPI_CLK ==> ESPI_CLK */ | 	/* A9  : ESPI_CLK ==> ESPI_CLK */ | ||||||
|   | |||||||
| @@ -238,7 +238,7 @@ chip soc/intel/alderlake | |||||||
| 				register "fcpo_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F21)" | 				register "fcpo_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F21)" | ||||||
| 				register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E16)" | 				register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E16)" | ||||||
| 				register "perst_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)" | 				register "perst_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)" | ||||||
| 				register "wake_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A7)" | 				register "wake_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPP_A7)" | ||||||
| 				register "add_acpi_dma_property" = "true" | 				register "add_acpi_dma_property" = "true" | ||||||
| 				use rp6_rtd3 as rtd3dev | 				use rp6_rtd3 as rtd3dev | ||||||
| 				device generic 0 alias rp6_wwan on | 				device generic 0 alias rp6_wwan on | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user