Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ INIT_PLATFORM → DT nodes → platform devices on bus → match + probe if
INIT_DEVICE → RT_PLATFORM_DRIVER_EXPORT → register driver → probe every unmatched device
```

**Takeaway**: DT devices appear at **`INIT_PLATFORM`**. Drivers using **`RT_PLATFORM_DRIVER_EXPORT`** register later and then bind via **`rt_bus_add_driver` rt_bus_for_each_dev`**. Drivers that must run before the bulk DT scan use **`INIT_SUBSYS_EXPORT`** + manual **`rt_platform_driver_register`**.
**Takeaway**: DT devices appear at **`INIT_PLATFORM`**. Drivers using **`RT_PLATFORM_DRIVER_EXPORT`** register later and then bind via **`rt_bus_add_driver` -> `rt_bus_for_each_dev`**. Drivers that must run before the bulk DT scan use **`INIT_SUBSYS_EXPORT`** + manual **`rt_platform_driver_register`**.

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ regulator enable (if needed)
→ rt_dm_dev_iomap + driver init
```

Power **off** for suspend (if implemented): reverse order per SoC manual often **`idle clocks` reset assertpower_off`**.
Power **off** for suspend (if implemented): reverse order per SoC manual - often **`idle clocks` -> `reset assert` -> `power_off`**.

---

Expand Down
6 changes: 6 additions & 0 deletions documentation/Doxyfile.1.9.1
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,12 @@ RECURSIVE = YES

EXCLUDE = ./0.doxygen/mainpage.h \
./2.quick-start/quick_start_qemu \
./3.kernel/smp-startup/README_zh.md \
./6.components/device-driver/clock_time/README_zh.md \
./6.components/device-driver/clock_time/clock_boottime_zh.md \
./6.components/device-driver/clock_time/clock_hrtimer_zh.md \
./6.components/device-driver/clock_time/clock_time_core_zh.md \
./6.components/device-driver/clock_time/clock_timer_zh.md \
./env/env-vscode.md \
./7.contribution/coding_style_cn.md \
../src/utest/perf/README.md
Expand Down
6 changes: 6 additions & 0 deletions documentation/Doxyfile.1.9.8
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,12 @@ RECURSIVE = YES

EXCLUDE = ./0.doxygen/mainpage.h \
./2.quick-start/quick_start_qemu \
./3.kernel/smp-startup/README_zh.md \
./6.components/device-driver/clock_time/README_zh.md \
./6.components/device-driver/clock_time/clock_boottime_zh.md \
./6.components/device-driver/clock_time/clock_hrtimer_zh.md \
./6.components/device-driver/clock_time/clock_time_core_zh.md \
./6.components/device-driver/clock_time/clock_timer_zh.md \
./env/env-vscode.md \
./7.contribution/coding_style_cn.md \
../src/utest/perf/README.md
Expand Down
Loading