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

Fix incorrect DT macro usage in MSPI API test and controller emulator #80089

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

swift-tk
Copy link
Collaborator

@swift-tk swift-tk commented Oct 19, 2024

Fixes #80064.
And the incorrect usage of DT_ENUM_INDEX_OR causes slient fail in the controller emulator, it should be DT_INST_ENUM_INDEX_OR.

DT macro should be used is DT_ENUM* for enum type bindings

Signed-off-by: Swift Tian <[email protected]>
DT_INST* should be used in MSPI_CONFIG or device tree value capture
will fail sliently and fall back to defaults.

Signed-off-by: Swift Tian <[email protected]>
@swift-tk swift-tk added bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug labels Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: MSPI bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MSPI driver does not assign the 'op_mode' and 'duplex' in mspi_cfg
3 participants