mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
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: Simon Horman <horms@kernel.org> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://patch.msgid.link/20250811-airoha-en7581-wlan-offlaod-v7-6-58823603bb4e@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
a1740b16c8
commit
29c4a3ce50
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user