Conversation
1. CLK for RK3528 2. Pinctrl for RK3528 3. hwrng for RK-RNG 4. OTP for RK3528 5. TSADC for RK3528 Signed-off-by: GuEe-GUI <2991707448@qq.com>
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
There was a problem hiding this comment.
Pull request overview
This PR adds Rockchip RK3528 enablement to the Rockchip BSP/DM stack, covering core SoC infrastructure (clock, pinctrl, thermal sensor/TSADC, OTP/NVMEM, SARADC, and hardware RNG), plus updates to the rk3500 BSP configuration/docs to include RK3528.
Changes:
- Add RK3528 CRU/GRF-CRU clock controller support (new driver + Kconfig/SConscript wiring + dt-bindings).
- Add RK3528 support entries to common Rockchip DM drivers (pinctrl, TSADC, OTP, SARADC, RNG).
- Update rk3500 BSP configs/docs to enable RK3528-related options and document earlycon for RK3528.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| bsp/rockchip/rk3500/rtconfig.py | Adjusts toolchain CPU flags selection for RK35xx builds. |
| bsp/rockchip/rk3500/rtconfig.h | Enables additional kernel/device options and RK3528 clock selection macros. |
| bsp/rockchip/rk3500/.config | Updates default defconfig to enable RK3528-related options (PIC/GIC, clk, console ctl, etc.). |
| bsp/rockchip/rk3500/README.md | Adds RK3528 to supported SoC list and earlycon info. |
| bsp/rockchip/rk3500/README_ZH.md | Same as above (Chinese). |
| bsp/rockchip/dm/clk/clk-rk3528.c | New RK3528 clock controller implementation. |
| bsp/rockchip/dm/clk/Kconfig | Adds RT_CLK_ROCKCHIP_RK3528 Kconfig option. |
| bsp/rockchip/dm/clk/SConscript | Builds clk-rk3528.c when enabled. |
| bsp/rockchip/dm/include/dt-bindings/clock/rk3528-cru.h | New RK3528 clock ID bindings header. |
| bsp/rockchip/dm/pinctrl/pinctrl-rockchip.c | Adds RK3528 pinctrl ops and OFW compatible match. |
| bsp/rockchip/dm/include/pinctrl-rockchip.h | Adds RK3528/RK3576 to pinctrl SoC type enum. |
| bsp/rockchip/dm/thermal/thermal-rockchip_tsadc.c | Adds RK3528 TSADC init/table and OFW compatible match. |
| bsp/rockchip/dm/nvmem/nvmem-rockchip-otp.c | Adds RK3528 OTP compatible match/data. |
| bsp/rockchip/dm/hwcrypto/hw-rng-rockchip.c | Adds “rkrng” hardware RNG backend + OFW compatible match. |
| bsp/rockchip/dm/adc/adc-rockchip_saradc.c | Adds RK3528 SARADC channel table + OFW compatible match. |
|
@Rbb666 AI 相关修改已经处理完成 |
拉取/合并请求描述:(PR description)
[
Test for ROCK-2F OK
]
当前拉取/合并请求的状态 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