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

GDFS and GDPWR NRFS services and Zephyr implementations #2300

Merged
merged 12 commits into from
Dec 13, 2024

Conversation

bjarki-andreasen
Copy link
Contributor

@bjarki-andreasen bjarki-andreasen commented Nov 26, 2024

Blocked until WiFi changes have been merged nrfconnect/sdk-nrf#19147, and SDSC bundle is ready with GDSF and GDPWR services.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Nov 26, 2024

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

Name Old Revision New Revision Diff
hal_nordic zephyrproject-rtos/hal_nordic@54bde38 zephyrproject-rtos/hal_nordic@fae1542 (master) zephyrproject-rtos/[email protected]

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

@shanthanordic shanthanordic added this to the ncs-2.9.0 milestone Nov 29, 2024
@bjarki-andreasen bjarki-andreasen force-pushed the nordic-global-hsfll branch 2 times, most recently from 8673de1 to 83164e5 Compare November 29, 2024 17:04
@bjarki-andreasen bjarki-andreasen marked this pull request as ready for review December 2, 2024 11:03
@bjarki-andreasen bjarki-andreasen force-pushed the nordic-global-hsfll branch 3 times, most recently from b747f86 to 20b7ee7 Compare December 2, 2024 12:56
@bjarki-andreasen bjarki-andreasen force-pushed the nordic-global-hsfll branch 2 times, most recently from 6a25a3f to 4b49be5 Compare December 4, 2024 10:45
@nordic-krch
Copy link
Contributor

Enabling those features with CONFIG_CLOCK_CONTROL=y leads to enabling of DVFS on cpuapp and by default DVFS will set up for the lowest operational point (64 MHz) on cpuapp. This may come as a surprise to the user as suddenly performance drops 5 times. In that case I wonder if we should not enable clock control by default.

@NordicBuilder NordicBuilder removed the DNM label Dec 12, 2024
@bjarki-andreasen bjarki-andreasen force-pushed the nordic-global-hsfll branch 3 times, most recently from bfc81c6 to 7baf9bb Compare December 12, 2024 14:52
krish2718 and others added 5 commits December 12, 2024 15:55
Pulls PR that removed nRF Wi-Fi.

(cherry picked from commit e512151)

Signed-off-by: Chaitanya Tata <[email protected]>
Commit e512151("manifest: hal_nordic: Pull nRF Wi-Fi removal")
mistakenly added a temporary local file.

Signed-off-by: Chaitanya Tata <[email protected]>

(cherry picked from commit 7658adf)
Including not removing a workaround in the UART driver for bsim targets

(cherry picked from commit 6c7b38f)

Signed-off-by: Alberto Escolar Piedras <[email protected]>
…test suit blob

See zephyrproject-rtos/hal_nordic#267 for
additional details.

(cherry picked from commit 96f2b2f)

Signed-off-by: Carles Cufi <[email protected]>
Update hal_nordic revision to include nrfs services:
- GDPWR
- GDFS

Upstream PR #: 81735

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
@bjarki-andreasen
Copy link
Contributor Author

Enabling those features with CONFIG_CLOCK_CONTROL=y leads to enabling of DVFS on cpuapp and by default DVFS will set up for the lowest operational point (64 MHz) on cpuapp. This may come as a surprise to the user as suddenly performance drops 5 times. In that case I wonder if we should not enable clock control by default.

Clock control is not enabled by default :) If its enabled, then yes, application developer must request higher freq when needed, that's what its for :)

nRFs exposes now all power domains, following their actual name in the
specification. Add support for all of them in the GPD service. Note that
this is a breaking change: running this code requires a new SCFW as IDs
have changed in nRFs and so SCFW.

Upstream PR #: 81735

Signed-off-by: Gerard Marull-Paretas <[email protected]>
@bjarki-andreasen bjarki-andreasen force-pushed the nordic-global-hsfll branch 2 times, most recently from 29a458c to 5a81aa5 Compare December 12, 2024 15:19
ppelikan-nordic and others added 6 commits December 13, 2024 09:46
Adding the implementation for the GDFS service

Upstream PR #: 81735

Signed-off-by: Paweł Pelikan <[email protected]>
Add specific device model for global hsfll clock and update dts tree
to use specific model. The clock is not fixed, and configurable at
runtime to predefined frequencies specified by the platform.

Upstream PR #: 81735

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
The nrf-hsfll was previously the only supported HSFLL clock, hence it
was not namespaced fully. Since we added nrf-hsfll-global, we should
add the namespace to nrf-hsfll as well.

Updates drivers and devicetree uses of HSFLL as well.

Upstream PR #: 81735

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
…fsll clock

Add device driver support for global hsfll clock.

Upstream PR #: 81735

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
… hsfll

Extend sample to support global hsfll clock control.

Upstream PR #: 81735

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
…lock

Extend test suite to test global HSFLL clock.

Upstream PR #: 81735

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
@bjarki-andreasen bjarki-andreasen merged commit 0f2b574 into nrfconnect:main Dec 13, 2024
16 checks passed
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.