Skip to content

Conversation

@dsseng
Copy link
Member

@dsseng dsseng commented Jun 27, 2025

Failing to do so can lead to e.g. PIO not being ready by the time
a driver tries to use it.

pico-sdk also does block on this register in
its reset deassertion routines.

Signed-off-by: Dmitrii Sharshakov [email protected]

@github-actions github-actions bot added the platform: Raspberry Pi Pico Raspberry Pi Pico (RPi Pico) label Jun 27, 2025
@dsseng dsseng force-pushed the main branch 2 times, most recently from 7c3f9d8 to 15d0281 Compare June 27, 2025 16:14
dsseng added a commit to dsseng/zephyr that referenced this pull request Jul 5, 2025
… deassertion

Failing to do so can lead to e.g. PIO not being ready by the time
a driver tries to use it.

pico-sdk also does block on this register in
its reset deassertion routines.

Signed-off-by: Dmitrii Sharshakov <[email protected]>
@dsseng dsseng requested a review from soburi July 8, 2025 21:04
@dsseng dsseng closed this Jul 20, 2025
@dsseng dsseng reopened this Jul 20, 2025
dsseng added a commit to dsseng/zephyr that referenced this pull request Jul 20, 2025
No need to toggle reset line manually, use the standard reset API.

This improves code searchability and aids debugging.

Requires zephyrproject-rtos#92321 to make sure reset deassertion is waited for.

Signed-off-by: Dmitrii Sharshakov <[email protected]>
dsseng added a commit to dsseng/zephyr that referenced this pull request Jul 20, 2025
No need to toggle reset line manually, use the standard reset API.

This improves code searchability and aids debugging.

Requires zephyrproject-rtos#92321 to make sure reset deassertion is waited for.

Signed-off-by: Dmitrii Sharshakov <[email protected]>
dsseng added a commit to dsseng/zephyr that referenced this pull request Jul 20, 2025
No need to toggle reset line manually, use the standard reset API.

This improves code searchability and aids debugging.

Requires zephyrproject-rtos#92321 to make sure reset deassertion is waited for.

Signed-off-by: Dmitrii Sharshakov <[email protected]>
@dsseng
Copy link
Member Author

dsseng commented Aug 1, 2025

@soburi @ThreeEights @ajf58 could you please take a look at this driver rewrite?

Use HAL functions, which also wait for reset to complete.

Remove unused register size and active-low DT props.

Signed-off-by: Dmitrii Sharshakov <[email protected]>
@dsseng dsseng reopened this Aug 1, 2025
@dsseng dsseng requested a review from soburi August 1, 2025 20:06
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 1, 2025

Copy link
Member

@soburi soburi left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ajf58 ajf58 left a comment

Choose a reason for hiding this comment

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

Sorry for taking so long to review this.

@cfriedt cfriedt merged commit f2f496d into zephyrproject-rtos:main Aug 9, 2025
39 of 43 checks passed
dsseng added a commit to dsseng/zephyr that referenced this pull request Aug 11, 2025
No need to toggle reset line manually, use the standard reset API.

This improves code searchability and aids debugging.

Requires zephyrproject-rtos#92321 to make sure reset deassertion is waited for.

Signed-off-by: Dmitrii Sharshakov <[email protected]>
dsseng added a commit to dsseng/zephyr that referenced this pull request Aug 17, 2025
No need to toggle reset line manually, use the standard reset API.

This improves code searchability and aids debugging.

Requires zephyrproject-rtos#92321 to make sure reset deassertion is waited for.

Signed-off-by: Dmitrii Sharshakov <[email protected]>
dsseng added a commit to dsseng/zephyr that referenced this pull request Aug 17, 2025
No need to toggle reset line manually, use the standard reset API.

This improves code searchability and aids debugging.

Requires zephyrproject-rtos#92321 to make sure reset deassertion is waited for.

Signed-off-by: Dmitrii Sharshakov <[email protected]>
dsseng added a commit to dsseng/zephyr that referenced this pull request Aug 17, 2025
No need to toggle reset line manually, use the standard reset API.

This improves code searchability and aids debugging.

Requires zephyrproject-rtos#92321 to make sure reset deassertion is waited for.

Signed-off-by: Dmitrii Sharshakov <[email protected]>
dsseng added a commit to dsseng/zephyr that referenced this pull request Aug 17, 2025
No need to toggle reset line manually, use the standard reset API.

This improves code searchability and aids debugging.

Requires zephyrproject-rtos#92321 to make sure reset deassertion is waited for.

Signed-off-by: Dmitrii Sharshakov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: Raspberry Pi Pico Raspberry Pi Pico (RPi Pico)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants