Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nRF7002 shields: fix COEX interface #79606

Merged

Conversation

bjarki-andreasen
Copy link
Collaborator

@bjarki-andreasen bjarki-andreasen commented Oct 9, 2024

Move out the independent COEX interface from the wifi/control interface of the nrf700x series of chips.

The COEX interface is used independently by cores like nrf5340/cpunet, which don't/can't use the the SPI/QSPI based wifi/control interface. Without this fix, this is not possible.

This PR splits the interface into its own binding, which represents the hardware model of the COEX interface. Thus, the COEX interface can be used as designed.

@krish2718
Copy link
Collaborator

krish2718
krish2718 previously approved these changes Oct 10, 2024
jukkar
jukkar previously approved these changes Oct 11, 2024
The nrf7000, nrf7001 and nrf7002 expose a coex hardware interface
which is independent from the wifi/control interface (spi and
control pins)

These interfaces where previously combined into a single model. This
is incompatible with the actual usage of the interfaces where one
core may interact only with the coex interface, and another with the
wifi/control interface.

This commit moves the coex interface, commonly described in
"nordic,nrf70-coex.yaml", out of the wifi/control models
"nrf700<variant>-<bus>.yaml" to its own models
"nrf700<variant>-coex.yaml"

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
Remove the unused coex interface from the cpuapp of the nrf7002dk
nrf5340 SoC.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
Exclude the coex interface if the coex variant of the nrf7002eb
is selected instead of adding the interface alongside the
wifi/control interface.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
Add variant for the coex interface and move the coex interface out
if the wifi/control interface variants.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
@bjarki-andreasen bjarki-andreasen dismissed stale reviews from jukkar and krish2718 via 9f8790d October 14, 2024 15:41
krish2718 pushed a commit to krish2718/sdk-zephyr that referenced this pull request Oct 24, 2024
…nterface

Add variant for the coex interface and move the coex interface out
if the wifi/control interface variants.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
krish2718 added a commit to krish2718/sdk-zephyr that referenced this pull request Oct 24, 2024
The file has been removed upstream, but as upstream doesn't have NS
support, this need to be fixed explicitly.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Chaitanya Tata <[email protected]>
krish2718 added a commit to krish2718/sdk-zephyr that referenced this pull request Oct 24, 2024
The file has been removed upstream, but as upstream doesn't have NS
support, this need to be fixed explicitly.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Chaitanya Tata <[email protected]>
krish2718 added a commit to krish2718/sdk-zephyr that referenced this pull request Oct 24, 2024
The file has been removed upstream, but as upstream doesn't have NS
support, this need to be fixed explicitly.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Chaitanya Tata <[email protected]>
rlubos pushed a commit to krish2718/sdk-zephyr that referenced this pull request Oct 25, 2024
The nrf7000, nrf7001 and nrf7002 expose a coex hardware interface
which is independent from the wifi/control interface (spi and
control pins)

These interfaces where previously combined into a single model. This
is incompatible with the actual usage of the interfaces where one
core may interact only with the coex interface, and another with the
wifi/control interface.

This commit moves the coex interface, commonly described in
"nordic,nrf70-coex.yaml", out of the wifi/control models
"nrf700<variant>-<bus>.yaml" to its own models
"nrf700<variant>-coex.yaml"

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
rlubos pushed a commit to krish2718/sdk-zephyr that referenced this pull request Oct 25, 2024
…terface

Remove the unused coex interface from the cpuapp of the nrf7002dk
nrf5340 SoC.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
rlubos pushed a commit to krish2718/sdk-zephyr that referenced this pull request Oct 25, 2024
…nterface

Exclude the coex interface if the coex variant of the nrf7002eb
is selected instead of adding the interface alongside the
wifi/control interface.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
rlubos pushed a commit to krish2718/sdk-zephyr that referenced this pull request Oct 25, 2024
…nterface

Add variant for the coex interface and move the coex interface out
if the wifi/control interface variants.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
rlubos pushed a commit to krish2718/sdk-zephyr that referenced this pull request Oct 25, 2024
The file has been removed upstream, but as upstream doesn't have NS
support, this need to be fixed explicitly.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Chaitanya Tata <[email protected]>
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
The nrf7000, nrf7001 and nrf7002 expose a coex hardware interface
which is independent from the wifi/control interface (spi and
control pins)

These interfaces where previously combined into a single model. This
is incompatible with the actual usage of the interfaces where one
core may interact only with the coex interface, and another with the
wifi/control interface.

This commit moves the coex interface, commonly described in
"nordic,nrf70-coex.yaml", out of the wifi/control models
"nrf700<variant>-<bus>.yaml" to its own models
"nrf700<variant>-coex.yaml"

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
…terface

Remove the unused coex interface from the cpuapp of the nrf7002dk
nrf5340 SoC.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
…nterface

Exclude the coex interface if the coex variant of the nrf7002eb
is selected instead of adding the interface alongside the
wifi/control interface.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
…nterface

Add variant for the coex interface and move the coex interface out
if the wifi/control interface variants.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
The file has been removed upstream, but as upstream doesn't have NS
support, this need to be fixed explicitly.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Chaitanya Tata <[email protected]>
NordicBuilder pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
The nrf7000, nrf7001 and nrf7002 expose a coex hardware interface
which is independent from the wifi/control interface (spi and
control pins)

These interfaces where previously combined into a single model. This
is incompatible with the actual usage of the interfaces where one
core may interact only with the coex interface, and another with the
wifi/control interface.

This commit moves the coex interface, commonly described in
"nordic,nrf70-coex.yaml", out of the wifi/control models
"nrf700<variant>-<bus>.yaml" to its own models
"nrf700<variant>-coex.yaml"

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit ec25606)
NordicBuilder pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
…terface

Remove the unused coex interface from the cpuapp of the nrf7002dk
nrf5340 SoC.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 1492f1d)
NordicBuilder pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
…nterface

Exclude the coex interface if the coex variant of the nrf7002eb
is selected instead of adding the interface alongside the
wifi/control interface.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 32f30a8)
NordicBuilder pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
…nterface

Add variant for the coex interface and move the coex interface out
if the wifi/control interface variants.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 6b38f1a)
NordicBuilder pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
The file has been removed upstream, but as upstream doesn't have NS
support, this need to be fixed explicitly.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 9236bc2)
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
The nrf7000, nrf7001 and nrf7002 expose a coex hardware interface
which is independent from the wifi/control interface (spi and
control pins)

These interfaces where previously combined into a single model. This
is incompatible with the actual usage of the interfaces where one
core may interact only with the coex interface, and another with the
wifi/control interface.

This commit moves the coex interface, commonly described in
"nordic,nrf70-coex.yaml", out of the wifi/control models
"nrf700<variant>-<bus>.yaml" to its own models
"nrf700<variant>-coex.yaml"

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit ec25606)
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
…terface

Remove the unused coex interface from the cpuapp of the nrf7002dk
nrf5340 SoC.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 1492f1d)
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
…nterface

Exclude the coex interface if the coex variant of the nrf7002eb
is selected instead of adding the interface alongside the
wifi/control interface.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 32f30a8)
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
…nterface

Add variant for the coex interface and move the coex interface out
if the wifi/control interface variants.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 6b38f1a)
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 25, 2024
The file has been removed upstream, but as upstream doesn't have NS
support, this need to be fixed explicitly.

Upstream PR: zephyrproject-rtos/zephyr#79606

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 9236bc2)
@carlescufi carlescufi added the bug The issue is a bug, or the PR is fixing a bug label Oct 28, 2024
@carlescufi carlescufi added this to the v4.0.0 milestone Oct 28, 2024
@bjarki-andreasen bjarki-andreasen changed the title nRF7002 shields: align COEX interface nRF7002 shields: fix COEX interface Oct 28, 2024
@dkalowsk dkalowsk merged commit fc4f385 into zephyrproject-rtos:main Oct 29, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Shields Shields (add-on boards) area: Wi-Fi Wi-Fi bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants