drivers/usb: stm32: Deprecate 'enable-pin-remap'
'enable-pin-remap' is deprecated in favor of 'remap-pa11-pa12' from 'st-stm32-pinctrl'. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
f3fbff6ecb
commit
19a40a15b6
2 changed files with 4 additions and 2 deletions
|
@ -45,7 +45,8 @@ LOG_MODULE_REGISTER(usb_dc_stm32);
|
|||
#define DT_DRV_COMPAT st_stm32_usb
|
||||
#define USB_IRQ_NAME usb
|
||||
#if DT_INST_NODE_HAS_PROP(0, enable_pin_remap)
|
||||
#define USB_ENABLE_PIN_REMAP DT_INST_PROP(0, enable_pin_remap)
|
||||
#define USB_ENABLE_PIN_REMAP __DEPRECATED_MACRO DT_INST_PROP(0, enable_pin_remap)
|
||||
#warning "Property deprecated in favor of property 'remap-pa11-pa12' from 'st-stm32-pinctrl'"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -38,7 +38,8 @@ properties:
|
|||
required: false
|
||||
description: |
|
||||
For STM32F0 series SoCs on QFN28 and TSSOP20 packages
|
||||
enable PIN pair PA11/12 mapped instead of PA9/10 (e.g. stm32f070x6)
|
||||
enable PIN pair PA11/12 mapped instead of PA9/10 (e.g. stm32f070x6).
|
||||
Deprecated in favor of 'remap-pa11-pa12' from 'st-stm32-pinctrl'
|
||||
|
||||
clocks:
|
||||
required: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue