Commit 19a40a15 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Christopher Friedt
Browse files

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: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent f3fbff6e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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

+2 −1
Original line number Diff line number Diff line
@@ -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