Skip to content

Conversation

@gmarull
Copy link
Member

@gmarull gmarull commented Dec 9, 2024

Import Doxygen extensions for multiproject support.

Temporary PR, needs upmerge.

gmarull and others added 30 commits December 5, 2024 12:16
…IVE1 peripherals

This patch introduces a new flag to indicate if a peripheral belongs
to FAST_ACTIVE1 domain. This way, pinctrl knows when to request the
SLOW_ACTIVE domain (where CTRLSEL multiplexer resides).

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 9925ec9)
(cherry picked from commit 2f86d8b)
…ase GPD

Add a new soc-level API that allows to manually request/release global
power domains.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 87a42a8)
(cherry picked from commit b9a4d5c)
It is required for some pinctrl changes.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 0b18f31)
(cherry picked from commit 883d2b5)
… FAST_ACTIVE1

This patch allows to _safely_ configure GPIO ports that have their pad
on FAST_ACTIVE1 domain.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 56c5b1e)
(cherry picked from commit 1d5064f)
So that we do not get false warnings about consistent spacing around
'*'.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 5e8905b)
(cherry picked from commit 2312616)
…ention

This API needs to be called by FAST peripherals before/after
disabling/enabling them.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 77fc183)
(cherry picked from commit 1adb9e1)
When GPD is managed by pinctrl, pins retention needs to be controlled by
the driver to avoid glitches.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit b6d4542)
(cherry picked from commit 1032cba)
It is enabled by default if we enable device PM, but we do not want
this, otherwise we get linker errors (PM subsys, fun guaranteed!).

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 969326b)
(cherry picked from commit 579e766)
Upstream not ready yet, revert once applied there.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 6384b58)
Busy-waiting for the result of the nrfs service calls can stall, so
let's use a callback that flags a semaphore instead. Since the API is
supposed to be callable in the context of pre-kernel, fallback to
busy-wait on that scenario.

Upstream PR #: 80819

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 714d82d232977309e0bdc8dadd2d7a71ee914a4b)
(cherry picked from commit 254501b)
…FIG_DEBUG=y

Usage of K_SPINLOCK with CONFIG_DEBUG=y seems to trigger a compiler
warning about request not always being initialized. Fallback to
k_spin_lock/unlock calls to fix this issue.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 5249619)
(cherry picked from commit 40ac0cc)
Added hsfll120 clock for fast PWM120 nodes.

Upstream PR #: 80672

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit 3617ee9)
Fast PWM120 instance works with 320MHz clock, thus
pwm_nrfx_get_cycles_per_sec needs to be adjusted,
applying correct clock frequency.
Also, it uses cachable RAM, thus sys_cache function
needs to be added to flush the cached sequence.

Upstream PR #: 80672

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit ada0489)
Help text fixes from doc-team.

Signed-off-by: Richa Pandey <[email protected]>
Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 580707e)
(cherry picked from commit 7d6d734)
Updated manifest to include fix for incorrect display of scan
results when APs have EAP and PMF enabled.

Fixes #80995.

Upstream PR #: 80998

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
(cherry picked from commit 57dd05f)
Added nrf54l15dk testcases as copies of nrf54l15pdk.

Signed-off-by: Andrzej Puzdrowski <[email protected]>
Signed-off-by: Mateusz Michalek <[email protected]>
(cherry picked from commit 3adbc32)
(cherry picked from commit 503a6de)
This fix calling seg_recv() callback being called even though channel
is being disconnected due to SDU overflow.

Upstream PR #: 80911

Signed-off-by: Szymon Janc <[email protected]>
(cherry picked from commit 1c79ce0)
This API gives better control on L2CAP COC credits and suits better
for Upper Tester implementation.

Upstream PR #: 80911

Signed-off-by: Szymon Janc <[email protected]>
(cherry picked from commit 17c202d)
…s pass

Without this PTS tests do not pass. These values are copied from a
commit aimed at unifying the prj.conf files in this directory. I do not
know which of these are strictly necessary to make the tests pass.
Copying them all poses no harm since the unification will be done later
anyway.

Upstream PR #: 80911

Co-authored-by: Szymon Janc <[email protected]>
Signed-off-by: Aleksander Wasaznik <[email protected]>
(cherry picked from commit 54adfa7)
…l15dk

Incorrectly removed during transfer pdk->dk.

Upstream PR #: 81107

Signed-off-by: Piotr Kosycarz <[email protected]>
(cherry picked from commit 5b1dd8b)
…15dk

Incorrectly removed during transfer pdk->dk.

Upstream PR #: 81107

Signed-off-by: Piotr Kosycarz <[email protected]>
(cherry picked from commit 1e549f5)
nRF70 recovery relies on power-management feature which isn't applicable
for SAP, so, we keep seeing false recovery causing interface restart.

Disabled recovery for SAP to fix the issue.

Fixes #81130.

Upstream PR #: 81131

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 5a39148)
… DK"

This reverts commit 38f2104.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 4b246a0)
This patch fixes an issue where the reset pin is used even when it's
not given.

Signed-off-by: Maximilian Deubel <[email protected]>
(cherry picked from commit 4f85ce6)
(cherry picked from commit 0271821)
The option notifies application that MCUboot has been configured
to use SHA512 for image hashing.

Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit dcb8c6a)
Adds support for images signed with SHA512.

Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit 61555a3)
Increase stack size as support for SHA512 requires more data.

Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit c5efe1f)
Add pins retention control when GPD is enabled for SPIM.

Upstream PR #: 81134

Signed-off-by: Adam Kondraciuk <[email protected]>
(cherry picked from commit 87e5b3f)
Add pin retenion if GPD is enabled for nRF54H20.

Upstream PR #: 80672

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit b524b0e)
FAST_ACTIVE1 domain needs to be kept ON while the peripheral is
active (always in this driver).

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit b9bc084)
bama-nordic and others added 19 commits December 5, 2024 12:16
…0 bus lib

The nrf wifi drivers include code related to qspi/spi bus. This work
moves bus related files to a new nrf70 bus library which is now
independent of the core driver and facilitlates building applications
directly using the bus APIs, agnostic to enabling wifi configs.

Upstream PR #: 82372

Signed-off-by: Bansidhar P.M <[email protected]>
(cherry picked from commit b515453)
Add ztests for nrf70 bus lib to help validate functional integrity
of the QPSI/SPI interface to nRF70 device via appropriate reads/writes
from host processor to relevant memory blocks of nrf70 device.
Note that this will NOT serve as a memory test for nrf70 device,
rather just a functional verification of the wiring between the host
processor and the nrf70 device.

Upstream PR #: 82372

Signed-off-by: Bansidhar P.M <[email protected]>
(cherry picked from commit bf4df4a)
…nnect

This fixes an issue that occurred if deferred_work is queued by another
procedure before we run bt_conn_set_state(BT_CONN_DISCONNECTED).
bt_conn_set_state yields to the system work queue in bt_conn_tx_notify,
and then deferred_work runs and handles the disconnected callbacks.
bt_conn_set_state then enqueues another deferred_work which calls the
disconnected callbacks again and causes an assert. k_work_cancel_delayable
will clear queued deferred work when we call
bt_conn_set_state(BT_CONN_DISCONNECTED), guaranteeing that the disconnect
callbacks will only be called once.

Upstream PR #: 82543

Signed-off-by: Timothy Keys <[email protected]>
(cherry picked from commit 833b6d2)
…presence

Common symbol is defined by SoCs that support RAM control helper.

Upstream PR #: 82262

Signed-off-by: Nikodem Kastelik <[email protected]>
(cherry picked from commit 2e974fb)
…icit

Updated retained_mem driver variant exposes vendor-specific API,
rather than executing implicitly during boot.

Upstream PR #: 82262

Signed-off-by: Nikodem Kastelik <[email protected]>
(cherry picked from commit 0819c8e)
RAM retention is disabled for all RAM blocks
before entering System OFF to achieve lowest power consumption.
RAM retention can still be enabled using retained_mem driver.

Upstream PR #: 82262

Signed-off-by: Nikodem Kastelik <[email protected]>
(cherry picked from commit b0d7a30)
…argets

Using bare-metal approach for retention configuration
is no longer compatible with sys_poweroff() implementation.

Upstream PR #: 82262

Signed-off-by: Nikodem Kastelik <[email protected]>
(cherry picked from commit 15ffa30)
Updated manifest to include separate security types for 802.1X
in display of scan results when APs have EAP and PMF enabled.
BSS display limit based on user-configured non-zero values
set via CMD_INIT, along with support for few other regulatory
domain updates in firmware.

Upstream PR #: 81514

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
EAP_TLS_SHA256 was being identified as EAP_TLS in display scan
results. Identify the security type in scan results sent by
RPU and display accordingly.

Upstream PR #: 81514

Signed-off-by: Ravi Dondaputi <[email protected]>
i2c_slave tests can now be run on nRF54H20 cpuppr target.

Upstream PR #: 82538

Signed-off-by: Michał Stasiak <[email protected]>
Add module for managing multiple requests for MRAM latency.

Signed-off-by: Krzysztof Chruściński <[email protected]>
(cherry picked from commit 980e0ac)
Add test for MRAM latency.

Signed-off-by: Krzysztof Chruściński <[email protected]>
(cherry picked from commit 20e28d2)
This reverts commit 8027617.

Signed-off-by: Krzysztof Chruściński <[email protected]>
…request no latency

Add CONFIG_MRAM_LATENCY_AUTO_REQ. When option is enabled then module
requests no latency during the initialization. This option might be
useful for cases where we want to achieve maximum performance and
want to avoid controlling MRAM in the code.

Upstream PR #: 82465

Signed-off-by: Krzysztof Chruściński <[email protected]>
…TXCHANNEL

The Kconfig `IEEE802154_SELECTIVE_TXCHANNEL` is added along with
the new capability `IEEE802154_HW_SELECTIVE_TXCHANNEL`.
The new capability of the ieee802154 drivers allows to schedule
CSL transmissions as stated in IEEE 802.15.4-2020 chapter 6.12.2.7
CSL over multiple channels. The benefit of the new API is that
additional call to `ieee802154_radio_api::set_channel()` is not
required. The drivers will switch to the new channel as late as
possible for CSL transmissions thus will not interrupt any reception
that might be in progress until the very late moment when the
transmission actually starts.
This improves reception performance when CSL transmissions are used.

Signed-off-by: Damian Krolik <[email protected]>
Signed-off-by: Andrzej Kuroś <[email protected]>
(cherry picked from commit 2fbba82)
…e transmission.

Added new API function to start modulated carrier wave transmission

Signed-off-by: Przemyslaw Bida <[email protected]>
(cherry picked from commit e0f94f8)
…odule.

Commit add `modcarrier` shell command for Openthread diagnostic mode.
Command can transmit modulated carrier out of device for test purposes.

Signed-off-by: Przemyslaw Bida <[email protected]>
(cherry picked from commit 63e1bb4)
Added pdm0 node to nrf54h20 devicetree with proper bindings.

Upstream PR #: 81588

Signed-off-by: Michał Stasiak <[email protected]>
Added support for DMM in PDM drivers in order to use it
with nRF54H20.

Upstream PR #: 81588

Signed-off-by: Michał Stasiak <[email protected]>
ahjus and others added 4 commits December 11, 2024 11:33
…ption

Add an alternate message output option in which messages are
ended with an additional zero data byte with marker and timestamp.
Can be used to maintain compatibility with certain decoders.

Signed-off-by: Juha Sunnari <[email protected]>
(cherry picked from commit 51bc60e)
The extension had a some major design flaws, mainly:

- Ignored the `api_overview_doxygen_xml_dir` setting, instead it
  "sniffed" doxyrunner properties, so violating environment boundaries
- Computation of Doxygen HTML path worked because of the hardcoded URL
  in relative form found in doc/conf.py

This patch moves most code to the actual directive, so that context can
be obtained from the document being parsed. Also, the only config
required now is the Doxygen output dir, obtained from doxyrunner at
conf.py level.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 35517f6d4202ef9c4ef1218150a1059383cb6ea5)
…projects

Modify the extension so that multiple Doxygen projects can be added.
While not required in upstream Zephyr, other users downstream may
require support for this feature.

Upstream PR #: 82432

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit b5e98221cf694cb43f14ebed86bf2591e36e609b)
…ects

Modify the extension so that multiple Doxygen projects can be
referenced. While not required in upstream Zephyr, other users
downstream may require support for this feature.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 779b0c7b910976538f045b1b85d8bcdb061464d2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.