[bsp][spacemit/k1] first version - #11132
Conversation
|
👋 感谢您对 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 introduces the first version of a new Board Support Package (BSP) for the Spacemit K1 platform to RT-Thread. The changes add comprehensive driver support across multiple hardware subsystems including SPI, GPIO, power management, reset control, and various peripheral devices.
Changes:
- New BSP infrastructure for Spacemit K1 platform
- Driver implementations for SPI/QSPI, GPIO, thermal, serial, RTC, reset controller, regulators, PWM, power management, pinctrl, mailbox, and input devices
- Multi-Function Device (MFD) support for Spacemit PMIC
- SoC-specific support including remote processor, TCM memory, and SoC information
Reviewed changes
Copilot reviewed 96 out of 162 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| bsp/spacemit/dm/thermal/* | Thermal management driver for K1X |
| bsp/spacemit/dm/spi/* | SPI and QSPI controller drivers |
| bsp/spacemit/dm/soc/* | SoC info, IPI, TCM, and remote processor support |
| bsp/spacemit/dm/serial/* | PXA UART driver with DMA support |
| bsp/spacemit/dm/rtc/* | Spacemit PMIC RTC driver |
| bsp/spacemit/dm/reset/* | K1X reset controller driver |
| bsp/spacemit/dm/regulator/* | PMIC power regulator driver |
| bsp/spacemit/dm/pwm/* | PXA PWM driver |
| bsp/spacemit/dm/power/* | Reboot mode handler |
| bsp/spacemit/dm/pmdomain/* | Power domain controller |
| bsp/spacemit/dm/pinctrl/* | PMIC pinctrl driver |
| bsp/spacemit/dm/pin/* | K1X GPIO driver |
| bsp/spacemit/dm/mfd/* | Spacemit PMIC MFD driver |
| bsp/spacemit/dm/mailbox/* | K1X mailbox driver |
| bsp/spacemit/dm/input/* | PMIC power key input driver |
| bsp/spacemit/dm/include/* | TCM memory allocation header |
Signed-off-by: GuEe-GUI <2991707448@qq.com>
拉取/合并请求描述:(PR description)
[
Part of https://github.com//pull/10320
New BSP for
spacemit/k1]
当前拉取/合并请求的状态 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