-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[bsp][rockchip] Port to the DM #11121
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
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
|
也可以尝试下 rv1126b,同样是 aarch64 的 |
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 PR ports the Rockchip BSP (Board Support Package) to the Device Manager (DM) framework, adding support for multiple Rockchip SoC platforms including RK3588, RK3576, RK356x, and RK3308.
Key Changes:
- Addition of DM-based drivers for various peripherals (PCI, NVMEM, MFD, mailbox, input devices, I2C, hwtimer)
- New device tree bindings for power domains, clocks, and PHY configurations across multiple Rockchip platforms
- Updated timer driver to remove ktime dependency and use standard RT-Thread hwtimer framework
- Addition of RK8xx PMIC support with I2C and SPI interfaces
Reviewed changes
Copilot reviewed 96 out of 190 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| bsp/rockchip/dm/pci/* | PCIe driver configuration and build files |
| bsp/rockchip/dm/nvmem/* | OTP (One-Time Programmable) memory driver for multiple Rockchip SoCs |
| bsp/rockchip/dm/mfd/* | Multi-function device drivers for RK8xx PMICs |
| bsp/rockchip/dm/mailbox/* | Mailbox controller driver for inter-processor communication |
| bsp/rockchip/dm/input/* | Power key input driver for RK8xx PMICs |
| bsp/rockchip/dm/i2c/* | I2C driver configuration |
| bsp/rockchip/dm/hwtimer/* | Hardware timer driver updates |
| bsp/rockchip/dm/include/* | Header files including device tree bindings and hardware abstractions |
Comments suppressed due to low confidence (1)
bsp/rockchip/dm/nvmem/nvmem-rockchip-otp.c:1
- Clock definition CLK_DDR_CM0_RTC is inconsistent with the PR title format convention. The define appears in a diff but is not part of a standard file header structure. Consider verifying this is intentionally placed here. / 时钟定义 CLK_DDR_CM0_RTC 与 PR 标题格式约定不一致。该定义出现在差异中,但不是标准文件头结构的一部分。请考虑验证这是否是有意放置在这里的。
/*
相关的 CLK 和 pinctrl 驱动未支持 |
RK3588/RK3576/RK356x/RK3308 Signed-off-by: GuEe-GUI <2991707448@qq.com>
|
@Rbb666 AI 相关要求已经修改 |
拉取/合并请求描述:(PR description)
[
RK3588/RK3576/RK356x/RK3308
]
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up