Skip to content

AIGC doc for everyone#52

Open
TroyMitchell911 wants to merge 30 commits into
spacemit-com:mainfrom
TroyMitchell911:troy-ap-doc-for-others
Open

AIGC doc for everyone#52
TroyMitchell911 wants to merge 30 commits into
spacemit-com:mainfrom
TroyMitchell911:troy-ap-doc-for-others

Conversation

@TroyMitchell911
Copy link
Copy Markdown
Collaborator

This PR was entirely generated, committed, and pushed by AI.

Due to the nature of AIGC and a prompt instructing the AI to be as exhaustive as possible, some parts of the documentation may feel redundant.

If you find the generated driver documentation useful, feel free to modify and use it—just please remember to retain my SN. However, if you feel the driver is poorly written, please contact me, and I will remove your specific driver commit from this PR.

I sincerely hope this PR will reduce your workload.

Have a nice day :)

@TroyMitchell911 TroyMitchell911 requested a review from rzbdz as a code owner March 18, 2026 07:21

## 模块介绍

K3 的 USB 子系统比 K1 明显更复杂,不能只按 K1 的“三个控制器”来理解。根据 `k3.dtsi`、各板级 DTS 和实际驱动,可以确认 K3 当前至少包含:
Copy link
Copy Markdown
Collaborator

@rzbdz rzbdz Mar 18, 2026

Choose a reason for hiding this comment

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

此处请勿提到K1. 使用确定性陈述语句单独介绍K3,不使用“不能只按 K1 的“三个控制器”来理解”,“可以确认K3至少包含”这种造句。


K3 的 USB 子系统比 K1 明显更复杂,不能只按 K1 的“三个控制器”来理解。根据 `k3.dtsi`、各板级 DTS 和实际驱动,可以确认 K3 当前至少包含:

- **1 路 USB2.0 Host**:`usb2_host`
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

参照User manual使用专用命名表达。而不是dts节点名称。

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

put uer manual link here

- `onsemi,fusb301`
- `spacemit,k3-typec-switch`

也就是说,K3 上的 USB 不是简单“一个 USB3 控制器”,而是一个由 **DWC3 控制器 + USB2 PHY + USB3 PHY + Type-C 检测/切换 + 板级 GPIO/pinctrl** 组成的完整系统。
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

取消口语化表述。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants