doc: usb: add a note about the deprecation plan

Add a note about about the deprecation of current USB device support.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2024-06-25 10:06:13 +02:00 committed by Alberto Escolar
commit 552c353969
2 changed files with 6 additions and 6 deletions

View file

@ -8,7 +8,7 @@ The USB device controller driver API is described in
as the ``usb_dc`` API. as the ``usb_dc`` API.
This API has some limitations by design, it does not follow :ref:`device_model_api` This API has some limitations by design, it does not follow :ref:`device_model_api`
and is being replaced by a new UDC driver API. and is being replaced by :ref:`udc_api`.
API reference API reference
************* *************

View file

@ -25,11 +25,11 @@ over time. It provides the following functionalities:
customer applications. The APIs is described in customer applications. The APIs is described in
:zephyr_file:`include/zephyr/usb/usb_device.h` :zephyr_file:`include/zephyr/usb/usb_device.h`
The device stack and :ref:`usb_dc_api` have some limitations, such as not being .. note::
able to support more than one controller instance at runtime and only supporting It is planned to deprecate all APIs listed in :ref:`usb_api` and the
one USB device configuration. We are actively working on new USB support, which functions that depend on them between Zephyr v3.7.0 and v4.0.0, and remove
means we will continue to maintain the device stack described here until all them in v4.2.0. The new USB device support, represented by the APIs in
supported USB classes are ported, but do not expect any new features or enhancements. :ref:`usb_device_next_api`, will become the default in Zephyr v4.0.0.
Supported USB classes Supported USB classes
********************* *********************