Skip to content

Conversation

@de-nordic
Copy link
Contributor

Modification of hal_module CMakes and Kconfigs that will bring in nrfx_rramc.c into build in case when there is RRAM controller in DTS.

gmarull added 30 commits April 30, 2024 11:04
…PDK 0.3.0"

This reverts commit 5647467.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…for BLE"

This reverts commit dd3931a.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
… backend"

This reverts commit 2f52b92.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
This reverts commit 700870d.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…ct` command"

This reverts commit 57e7884.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
… get opt parsing"

This reverts commit 5554127.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
This reverts commit edb5148.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…ptions"

This reverts commit 512023e.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
… platform allow"

This reverts commit d4ee5b3.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…ices"

This reverts commit 66fec84.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…rted"

This reverts commit ecdf156.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
This reverts commit 3b0c038.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…54 PWM"

This reverts commit 1730143.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…validation"

This reverts commit 591e739.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…r nRF54"

This reverts commit 70a046e.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…ach test"

This reverts commit 22e2d87.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…m allow"

This reverts commit 35bde43.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…trigger"

This reverts commit 3c68e19.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…ion"

This reverts commit 7c48c14.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
This reverts commit dd8fd47.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
This reverts commit c976657.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
This reverts commit a76c880.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
…lure"

This reverts commit 98aa424.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
This reverts commit b91d6d1.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
This reverts commit 6886bf7.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
kapi-no and others added 12 commits May 8, 2024 20:07
…binding deadlock

This change works around the issue with the semaphore timeout during
the Bluetooth HCI driver initialization when the bt_enable function
is called in the context of the System Workqueue thread. This issue
only affects platform that use the IPC service and its ICBMsg backend
(e.g. the nRF54H20 DK target).

The bt_enable function, when called in the System Workqueue context,
results in a deadlock, as the waiting semaphore of the Bluetooth HCI
driver times out:

bt_hci_driver: Endpoint binding failed with -11

During the Bluetooth HCI driver open operation in the context of the
bt_enable function, the driver code waits using the semaphore for the
endpoint binding process of the IPC service module to finalize. The
issue occurs when the  waiting occurs in the System Workqueue context.
The ICBMsg backend from the IPC service schedules a system work during
the endpoint registration, in which it finalizes the binding operation
- also in the System Workqueue context. As the Bluetooth HCI driver
with its wait operation keeps the System Workqueue context busy, the
endpoint binding cannot be completed by the ICBMsg backend before the
HCI driver semaphore timeout.

Upstream PR: zephyrproject-rtos/zephyr#72377

Signed-off-by: Kamil Piszczek <[email protected]>
Move global RAM0x regions to align with the documentation.

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit b8338f9)
Signed-off-by: Rafał Kuźnia <[email protected]>
…2.15.4 init

The network CPU must be requested explicitly by the 802.15.4 driver for
the sharing mechanism to work correctly.

Upstream PR: zephyrproject-rtos/zephyr#72412

Signed-off-by: Jędrzej Ciupis <[email protected]>
Board initialization code should not use the network CPU management. It
acts as a permanent request for the network CPU, which causes its users
to be unable to turn it off. Instead, let the board initialization code
control the network CPU directly. It sets initial state of the network
core but does not have any impact on sharing the network CPU as a
resource between its users.

Upstream PR: zephyrproject-rtos/zephyr#72412

Signed-off-by: Jędrzej Ciupis <[email protected]>
The Synopsys Designware SPI peripheral exists in two versions with
slightly different register layouts. Added a Kconfig option that makes the
driver compatible with the HSSI register layout.

Signed-off-by: Rafał Kuźnia <[email protected]>
(cherry picked from commit 8ec1e0c)
Signed-off-by: Rafał Kuźnia <[email protected]>
Added EXMIP pinctrl definitions, which allow selecting pin functions by
name in DTS. The definitions are added, but not used in pinctrl_nrf.c.

The nrf-regtool reads the pinctrl configuration and applies the settings
using different mechanisms.

Signed-off-by: Rafał Kuźnia <[email protected]>
(cherry picked from commit 45d827a)
Signed-off-by: Rafał Kuźnia <[email protected]>
The nRF54H20 implements a variant of the SPI DW peripheral that
has slightly different register layout. Enable it in the defconfig.

Signed-off-by: Rafał Kuźnia <[email protected]>
(cherry picked from commit fe98eb7)
Signed-off-by: Rafał Kuźnia <[email protected]>
Added EXMIF peripheral DTS description and bindings.
The peripheral operates as an SPI device.

Signed-off-by: Rafał Kuźnia <[email protected]>
(cherry picked from commit 4d30ccb)
Signed-off-by: Rafał Kuźnia <[email protected]>
The nRF54H20dk has mx25uw6345g flash device on board. Added DTS
description and pinctrl configuration.

The flash device node is disabled by default. The flash device needs to
be powered-on using the nRF Connect for Desktop Board Configurator
application.

Signed-off-by: Rafał Kuźnia <[email protected]>
(cherry picked from commit e9c6990)
Signed-off-by: Rafał Kuźnia <[email protected]>
Configure the sample for nRF54H20 CPUAPP.

Signed-off-by: Rafał Kuźnia <[email protected]>
(cherry picked from commit b1de9a6)
Signed-off-by: Rafał Kuźnia <[email protected]>
The Synopsys Designware SPI peripheral core is wrapped in hardware that
manages interrupts, power and clock. The SPI core registers are shifted
by 0x500 bytes.
Before the SPI core is used, the power and clock must be enabled by
writing to EXMIF.TASKS_START register.
Interrupts must be enabled by writing to EXMIF.INTENSET/INTENCLR
registers.

The SER register must be configured unconditionally during peripheral
setup. Otherwise, the serial transaction does not complete.

Signed-off-by: Rafał Kuźnia <[email protected]>
The nRF54H20 EXMIF peripheral requires word accesses. Doing accesses of
byte or half-word sizes results in bus fault.

Upstream PR: zephyrproject-rtos/zephyr#72497

Signed-off-by: Rafał Kuźnia <[email protected]>
de-nordic added 2 commits May 10, 2024 08:59
Add Kconfig option for RRAM controller, NRFX_RRAMC.

(cherry picked from commit e2d9f09)
Signed-off-by: Dominik Ermel <[email protected]>
Select NRFX_RRAMC for RRAM driver.

(cherry picked from commit d954060)
Signed-off-by: Dominik Ermel <[email protected]>
@de-nordic de-nordic requested a review from carlescufi May 14, 2024 17:13
@anangl anangl requested review from a team and alwa-nordic as code owners July 3, 2024 09:06
@nvlsianpu
Copy link
Contributor

This is Obsolete.

@nvlsianpu nvlsianpu closed this Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.