Skip to content

Conversation

@gmarull
Copy link
Member

@gmarull gmarull commented Oct 29, 2024

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Oct 29, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff

Note: This message is automatically posted and updated by the Manifest GitHub Action.

Copy link
Contributor

@tmon-nordic tmon-nordic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fromlist should be updated to fromtree. Confirmed to work.

@gmarull gmarull force-pushed the nrf54h20-gpd branch 3 times, most recently from 8379d68 to 5c46864 Compare November 4, 2024 16:18
LaurentiuM1234 and others added 3 commits November 6, 2024 12:45
…-managed PDs

Add DT binding for NXP's SCU-managed PDs. This binding describes
exactly _one_ power domain.

Signed-off-by: Laurentiu Mihalcea <[email protected]>
(cherry picked from commit fb84f4f)
Renamed soc from ace30_ptl to ace30.
We were previously using the wrong soc name.
The correct name is ace30.

There is only one ptl platform, but there can be several ace30 platforms.

Signed-off-by: Grzegorz Bernat <[email protected]>
(cherry picked from commit a654bfb)
Add power domain DT node for the irqsteer and a reference to
it in irqsteer's DT node.

Signed-off-by: Laurentiu Mihalcea <[email protected]>
(cherry picked from commit fdbf4d2)
LaurentiuM1234 and others added 17 commits November 6, 2024 12:45
Add bus clock for `sai1` node.

Signed-off-by: Laurentiu Mihalcea <[email protected]>
(cherry picked from commit 1174ea5)
Add build_all test for power_domain drivers.

Signed-off-by: TOKITA Hiroshi <[email protected]>
(cherry picked from commit 2c1274f)
…names

Some devices may belong to >1 power domain, so with the current design
this is something not possible to describe. It's worth to note that
Linux also uses the `power-domains` naming scheme, not `power-domain`.
This patch also introduces `power-domain-names` so that each entry in
`power-domains` can be given a name if needed. `#power-domain-cells`
is now required as well.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit f989711)
Add binding for Global Power Domain found in nRF54Hx SoCs.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit f3d29d6)
Add the global power domain entry. This domain is not memory-mapped
but controlled using NRFS services.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit a56a170)
So that it can be used to manually control certain power domains.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 01e285c)
…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)
…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)
It is required for some pinctrl changes.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 0b18f31)
… 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)
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)
…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)
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)
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)
Upstream not ready yet, revert once applied there.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
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)
…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)
@nika-nordic
Copy link
Contributor

no backport tag for v3.7.99 branch ?

@gmarull gmarull added the backport v3.7.99-ncs1-branch Relates to NCS v2.8-branch label Nov 7, 2024
@gmarull gmarull merged commit 40ac0cc into nrfconnect:main Nov 7, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport v3.7.99-ncs1-branch Relates to NCS v2.8-branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants