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

Add power management block device driver for changing the power mode of Flash #15467

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

daniel-0723
Copy link

Summary of changes

Usually, Nor Flash has more than one power mode, such as high performance mode, low power mode and deep down mode. But in QSPIF block device driver, it is not very easy to change Flash power mode. The PowerManagementBlockDevice class provides an API to change the Flash power mode if the underlying block device doesn’t support such a behavior, which is only support the MX25R6435F of QSPIF block device temporarily. But users can add codes for other power modes of other types of Flash.
image

Impact of changes

Migration actions required

Documentation


Pull request type

[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[x] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[x] Tests / results supplied as part of this PR

mbedgt: test suite report:


targetplatform_nametest suiteresultelapsed_time (sec)copy_method
DISCO_L475VG_IOT01A-GCC_ARMDISCO_L475VG_IOT01Astorage-blockdevice-tests-tests-blockdevice-power_management_block_deviceOK9.71default
mbedgt: test suite results: 1 OK

@daniel-0723 daniel-0723 changed the title add power management block device driver Add power management block device driver for changing the power mode of Flash Nov 24, 2023
Copy link

mergify bot commented Nov 24, 2023

⚠️ The sha of the head commit of this PR conflicts with #15303. Mergify cannot evaluate rules on this PR. ⚠️

Copy link

mergify bot commented Dec 19, 2023

⚠️ The sha of the head commit of this PR conflicts with #15303. Mergify cannot evaluate rules on this PR. ⚠️

2 similar comments
Copy link

mergify bot commented Apr 12, 2024

⚠️ The sha of the head commit of this PR conflicts with #15303. Mergify cannot evaluate rules on this PR. ⚠️

Copy link

mergify bot commented Apr 23, 2024

⚠️ The sha of the head commit of this PR conflicts with #15303. Mergify cannot evaluate rules on this PR. ⚠️

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.

3 participants