Commit 29c4a3ce authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Jakub Kicinski
Browse files

net: airoha: npu: Enable core 3 for WiFi offloading



NPU core 3 is responsible for WiFi offloading so enable it during NPU
probe.

Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250811-airoha-en7581-wlan-offlaod-v7-6-58823603bb4e@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent a1740b16
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -720,8 +720,7 @@ static int airoha_npu_probe(struct platform_device *pdev)
	usleep_range(1000, 2000);

	/* enable NPU cores */
	/* do not start core3 since it is used for WiFi offloading */
	regmap_write(npu->regmap, REG_CR_BOOT_CONFIG, 0xf7);
	regmap_write(npu->regmap, REG_CR_BOOT_CONFIG, 0xff);
	regmap_write(npu->regmap, REG_CR_BOOT_TRIGGER, 0x1);
	msleep(100);