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

select GPIO is broken #72556

Closed
swift-tk opened this issue May 10, 2024 · 8 comments · Fixed by #72663
Closed

select GPIO is broken #72556

swift-tk opened this issue May 10, 2024 · 8 comments · Fixed by #72663
Assignees
Labels
area: Power Management bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@swift-tk
Copy link
Contributor

swift-tk commented May 10, 2024

Describe the bug
"select GPIO" spit out dependency loop as of commit id 422092f.
going back to the last one 80c5f72 have no such problem.

This is caused by "select PM_DEVICE if PM" in Kconfig.smartbond

How to reproduce

Add select GPIO to Kconfig.mcux

config MEMC_MCUX_FLEXSPI
	bool
	select PINCTRL
	select GPIO #add

Try
west build -p always -b mimxrt595_evk/mimxrt595s/cm33 samples/drivers/memc

error log attached
log.txt

If I delete "select PM_DEVICE if PM" in Kconfig.smartbond, then it compiles.

@swift-tk swift-tk added the bug The issue is a bug, or the PR is fixing a bug label May 10, 2024
@swift-tk
Copy link
Contributor Author

@RichardSWheatley @AlessandroLuo for awareness

@swift-tk
Copy link
Contributor Author

@henrikbrixandersen @mnkp
I looked it up in maintainers.yaml and saw you are the collaborators, please help take a look.

@henrikbrixandersen
Copy link
Member

@ceolin This is power-management related, caused by select PM_DEVICE if PM in drivers/gpio/Kconfig.smartbond.

@henrikbrixandersen
Copy link
Member

Introduced in #61857

@carlescufi
Copy link
Member

@sjanc this was introduced by Smartbond.

@sjanc sjanc assigned andrzej-kaczmarek and unassigned ceolin May 10, 2024
@sjanc
Copy link
Collaborator

sjanc commented May 10, 2024

@kasjer FYI

@swift-tk
Copy link
Contributor Author

@andrzej-kaczmarek Hi, a quick fix is appreciated as my PR kind of depending on select GPIO to compile.

@kasjer
Copy link
Contributor

kasjer commented May 13, 2024

@swift-tk working on it, stay tuned...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Power Management bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants