-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[documentation][device_driver_model] Add comprehensive DM documentation - Regulator, Clock, Reset, Pinctrl, NVMEM (complete bilingual) #11115
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
|
|
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
…le documentation Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
📌 Code Review Assignment🏷️ Tag: documentationReviewers: CXSforHPU GorrayLi lianux-mm unicornx Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2026-01-03 08:19 CST)
📝 Review Instructions
|
…NDEX Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
|
@copilot 继续后续的每个模块的中英文文档 |
…k documentation (EN) Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
…mentation Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
|
@copilot 继续后续的每个模块的中英文文档。在提交PR的时候,可以跳过ci |
…on (EN) - module 3/26 Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
继续编写各模块中英文文档中。 最新进展 (commit 8671d7d):
已完成模块:
进行中:
统计: 12 个文件,~175KB 文档,75+ API 已记录 继续按优先级完成剩余 23 个模块。 |
|
@copilot 继续后续的每个模块的中英文文档。在提交PR的时候,可以跳过ci |
…umentation - complete module 3/26 Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
|
@copilot 继续后续模块的中英文文档。在提交PR的时候,可以跳过ci |
…ion (EN) - module 4/26 Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
持续编写模块文档。 最新完成 (commit 33910f3):
已完成模块:
统计:
下一步: Pinctrl 中文文档、Pmdomain、PIC、NVMEM 等 22 个剩余模块 继续按优先级完成。 |
|
@copilot |
…n - complete module 4/26 Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
|
@copilot 继续 |
…n (EN) - module 5/26 Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
持续编写模块文档中。 最新完成 (commit 30ccfaf):
已完成模块 (bilingual/EN):
统计: 16 个文件,~248KB 文档,95+ API 函数 下一步: NVMEM 中文、PIC、DMA、Mailbox 等 21 个剩余模块 继续按优先级完成文档工作。 |
|
@copilot 继续完成NVMEM中文文档,PIC的中英文文档 |
…- complete module 5/26 Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
Adds comprehensive bilingual documentation for RT-Thread's Device Driver Model (DM) framework, with complete documentation for Regulator, Clock, Reset Controller, Pin Control, and NVMEM modules.
Core Documentation
Completed Modules (5/26) - All Bilingual ✅
1. Regulator Framework ✅ (Complete - EN/CN)
Application API (14 functions):
Driver Implementation:
Coverage (EN/CN bilingual):
2. Clock Framework ✅ (Complete - EN/CN)
Application API (30+ functions):
Coverage (EN/CN bilingual):
3. Reset Controller ✅ (Complete - EN/CN)
Application API (9 functions):
Coverage (EN/CN bilingual):
4. Pin Control Framework ✅ (Complete - EN/CN)
Application API (5 functions):
Coverage (EN/CN bilingual):
5. NVMEM Framework ✅ (Complete - EN/CN)
Application API (12 functions):
Coverage (EN/CN bilingual):
Module Inventory
Completed: regulator ✅, clk ✅, reset ✅, pinctrl ✅, nvmem ✅
Remaining High Priority: pmdomain, pic, dma, mailbox
All Modules: Power Management (regulator, clk, pinctrl, reset, pmdomain), Communication (mailbox, dma), Storage (nvmem, mtd, block), System (pic, ofw, firmware, thermal, mfd, iio, phy, pci), Other (hwcache, hwspinlock, input, led, ata, nvme, rtc, watchdog, graphic)
Documentation Standards
Each module follows established template:
Statistics
Remaining modules will follow the same comprehensive bilingual structure. Next priorities: pic, dma, mailbox, pmdomain.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.