nmhw24: enable wifi supply at startup
This commit is contained in:
		
							parent
							
								
									8afc9caad2
								
							
						
					
					
						commit
						dc7afab487
					
				|  | @ -556,6 +556,12 @@ static void init_gnss(void) | ||||||
| 	REQUEST_AND_SET_GPIO(GPIO_RST_GNSS); | 	REQUEST_AND_SET_GPIO(GPIO_RST_GNSS); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | static void init_wifi(void) | ||||||
|  | { | ||||||
|  | 	/* Enable WiFi power supply */ | ||||||
|  | 	da9063_set_gpio(PMIC_WIFI_SUPPLY_EN_IO, 1); | ||||||
|  | } | ||||||
|  | 
 | ||||||
| #endif /* !defined(CONFIG_SPL_BUILD) */ | #endif /* !defined(CONFIG_SPL_BUILD) */ | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -907,6 +913,7 @@ int board_late_init(void) | ||||||
| 	init_sim_mux(); | 	init_sim_mux(); | ||||||
| 	init_gsm(); | 	init_gsm(); | ||||||
| 	init_gnss(); | 	init_gnss(); | ||||||
|  | 	init_wifi(); | ||||||
| 
 | 
 | ||||||
| 	// TODO: Check and activate if required
 | 	// TODO: Check and activate if required
 | ||||||
| 	// Move to some other place? PMIC init()
 | 	// Move to some other place? PMIC init()
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue