Skip to content

Commit add5ec0

Browse files
committed
doc: migration-guide-4.1: Add device driver details
Add a migration entry for the device driver API change, and start listing driver classes that have been updated in-tree. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 64b762f commit add5ec0

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

doc/kernel/drivers/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ High-level calls accessed through device-specific APIs, such as
6161
:file:`i2c.h` or :file:`spi.h`, are usually intended as synchronous. Thus,
6262
these calls should be blocking.
6363

64+
.. _device_driver_api:
65+
6466
Driver APIs
6567
***********
6668

doc/releases/migration-guide-4.1.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ LVGL
5757
Device Drivers and Devicetree
5858
*****************************
5959

60+
* Device driver APIs are placed into iterable sections (:github:`71773`) to allow for runtime
61+
checking. See :ref:`device_driver_api` for more details.
62+
The :c:macro:`DEVICE_API()` macro should be used by out-of-tree driver implementations for
63+
the following driver classes:
64+
65+
* :c:struct:`adc_driver_api`
66+
6067
Controller Area Network (CAN)
6168
=============================
6269

0 commit comments

Comments
 (0)