Skip to content

Conversation

@sreeramIfx
Copy link
Contributor

- Initial changes in board, dts, and soc files to support system power management

@sreeramIfx sreeramIfx force-pushed the topic/cyw20829_pm branch 4 times, most recently from be2db29 to 6599a3f Compare September 4, 2024 22:07
@sreeramIfx sreeramIfx marked this pull request as ready for review September 4, 2024 22:25
@zephyrbot zephyrbot added the platform: Infineon Infineon Technologies AG label Sep 4, 2024
ifyall
ifyall previously approved these changes Sep 26, 2024
Comment on lines 28 to 46
Copy link
Member

Choose a reason for hiding this comment

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

power states need to be part of soc dts files

Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved the power states to soc dtsi files..

Copy link
Contributor

Choose a reason for hiding this comment

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

@gmarull, please review Sreeram's change at your convenience.

@sreeramIfx sreeramIfx force-pushed the topic/cyw20829_pm branch 2 times, most recently from 5408dad to dfd6c7e Compare October 2, 2024 23:10
@sreeramIfx
Copy link
Contributor Author

Build failure is addressed @ #79399

Copy link
Member

Choose a reason for hiding this comment

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

please, use hooks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated to use hooks

Copy link
Member

Choose a reason for hiding this comment

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

not in cpus?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved into the cpu node

@sreeramIfx sreeramIfx force-pushed the topic/cyw20829_pm branch 2 times, most recently from 4c878f5 to 4b48f56 Compare October 8, 2024 05:34
ifyall
ifyall previously approved these changes Oct 8, 2024
gmarull
gmarull previously requested changes Oct 9, 2024
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
zephyr_sources_ifdef(CONFIG_PM ./power.c)
zephyr_sources_ifdef(CONFIG_PM power.c)

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
default n

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
__weak void pm_state_set(enum pm_state state, uint8_t substate_id)
void pm_state_set(enum pm_state state, uint8_t substate_id)

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
__weak void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id)
void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id)

Copy link
Member

Choose a reason for hiding this comment

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

-1 board selective code in soc, find a better way

Comment on lines 103 to 105
Copy link
Member

Choose a reason for hiding this comment

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

ifdefout the entire hook?

ifyall
ifyall previously approved these changes Oct 9, 2024
@sreeramIfx sreeramIfx requested a review from gmarull October 9, 2024 20:35
Comment on lines 11 to 13
Copy link
Member

Choose a reason for hiding this comment

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

not used anywhere

Copy link
Member

Choose a reason for hiding this comment

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

ping, impl still there

Copy link
Contributor Author

@sreeramIfx sreeramIfx Oct 24, 2024

Choose a reason for hiding this comment

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

@gmarull removed the implementation as well, please review

- Initial changes in board, dts, and soc files to support
 system power management

Signed-off-by: Sreeram Tatapudi <[email protected]>
@gmarull gmarull dismissed their stale review October 29, 2024 10:34

addressed

@sreeramIfx sreeramIfx requested a review from ifyall November 5, 2024 00:12
@nashif nashif merged commit 0a9c0f4 into zephyrproject-rtos:main Nov 16, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: Infineon Infineon Technologies AG

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants