-
Notifications
You must be signed in to change notification settings - Fork 76
Some Doc cleanup in PM, crypto, audio and DSS #556
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request performs documentation cleanup and configuration corrections across Power Management, cryptography, audio, and display subsystems. The changes address build warnings from duplicate target names, restore erroneously deleted documentation, correct hardware configuration, and improve documentation formatting.
Key changes:
- Restored PM documentation for AM437x RTC-Only and RTC+DDR modes
- Updated AM62DX crypto configuration from DTHEv2 to sa2ul, aligning with AM62 family standards
- Fixed duplicate target name warnings in audio driver documentation
- Improved DSS7 documentation formatting with proper note directive syntax
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| source/linux/Foundational_Components/Power_Management/pm_rtc_ddr.rst | Restored previously deleted documentation for AM437x RTC power modes |
| configs/AM62DX/AM62DX_linux_config.txt | Updated crypto engine from DTHEv2 to sa2ul and added mcrc64 support, aligning with AM62 family configuration |
| configs/AM437X/AM437X_linux_toc.txt | Added pm_rtc_ddr.rst to table of contents |
| source/linux/Foundational_Components/Kernel/Kernel_Drivers/Audio.rst | Updated target names (kernel-config-9→10→11, user-space-9→10→11) to eliminate duplicate warnings |
| source/linux/Foundational_Components/Kernel/Kernel_Drivers/Display/DSS7.rst | Fixed whitespace, changed inline note to proper note directive, and removed extra :: syntax |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
source/linux/Foundational_Components/Kernel/Kernel_Drivers/Display/DSS7.rst
Outdated
Show resolved
Hide resolved
| $ echo 1 > /sys/kernel/debug/pm_debug/enable_off_mode | ||
|
|
||
| With off-mode enabled, a command to enter DeepSleep0 will now enter | ||
| RTC-Only mode: |
Copilot
AI
Dec 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This text appears to be incorrect. Under the "RTC+DDR Mode" section, it states that "a command to enter DeepSleep0 will now enter RTC-Only mode", but based on the context and section heading, it should describe entering RTC+DDR mode. The distinction between RTC-Only and RTC+DDR modes is explained later (lines 49-53) as depending on regulator configuration, but the text here should clarify that with proper regulator configuration, this enters RTC+DDR mode.
| RTC-Only mode: | |
| either RTC-Only mode or RTC+DDR mode, depending on the regulator configuration (see below): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need someone from PM to verify whether this change makes sense or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source/linux/Foundational_Components/Power_Management/pm_rtc_ddr.rst
Outdated
Show resolved
Hide resolved
|
Had synced locally with @DhruvaG2000 that the |
source/linux/Foundational_Components/Kernel/Kernel_Drivers/Audio.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_rtc_ddr.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_rtc_ddr.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_rtc_ddr.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_rtc_ddr.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_rtc_ddr.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Kernel/Kernel_Drivers/Display/DSS7.rst
Outdated
Show resolved
Hide resolved
Commit f1723aa ("Power Management: Move under Foundational_Components") moved the Power Management docs under a new header and updated the paths in only K3 devices. Then, during commit 7918014 ("fix(configs): Cleanup SITARA's toc tree") these were cleaned in the toc trees of legacy devices. But it misses correctly renaming the pm_rtc_ddr file in AM437X. This is the only SoC which is using this page. As a result, now this file shows up as an unreachable file. So, commit 5904b7a ("fix(unreachable): purge all unreachable files") removes this file. Restore the pm_rtc_ddr doc and correctly add it in AM437X's toc tree. This also rectifies some build warnings as this file is still being referenced in other AM437X docs. Signed-off-by: T Pratham <t-pratham@ti.com>
AM62DX has erroneously set CONFIG_crypto to DTHEv2. Correct that to sa2ul. Also add mcrc64. Signed-off-by: T Pratham <t-pratham@ti.com>
Build complains of duplicate explicit target names. Target names should be unique. Also, names are not needed for rubrics unless they are referenced somewhere else. These duplicates are not referenced anywhere. Remove repeated target names in audio doc. Signed-off-by: T Pratham <t-pratham@ti.com>
This commit fixes the following formatting issues in DSS7 docs, which were caught from build and AI warnings: - An extra colon at the end of line - Adding a new line after end of list - Indentation at a note. While here corecting indentation, also change the `**note**` to `..note ::` directive. - Correcting typo paritioning to partitioning. Signed-off-by: T Pratham <t-pratham@ti.com>
StaticRocket
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still a few vale comments
|
|
||
| .. code-block:: console | ||
| $ echo 1 > /sys/kernel/debug/pm_debug/enable_off_mode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request contains minor cleanups (mostly found from build warnings), summarised below:
Power Management Documentation and Configuration:
pm_rtc_ddr.rstdescribing RTC-Only and RTC+DDR modes for AM437x.AM62D Configuration Updates:
DTHEv2tosa2uland addedmcrc64in the Linux configuration.Documentation Improvements:
Audio Documentation:
Display Documentation:
..note ::directive to better align with documentation style.