dts/st,stm32-usb: Add use-prop-name to disconnect-gpios
Add use-prop-name to disconnect-gpios property in st,stm32-usb yaml, in order to generate friendly name for the definitions. Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
parent
48e2dba28f
commit
d8983e6d11
|
@ -3,6 +3,6 @@
|
||||||
* are modified to handle the generated information, or the mapping of
|
* are modified to handle the generated information, or the mapping of
|
||||||
* generated data matches the driver definitions.
|
* generated data matches the driver definitions.
|
||||||
*/
|
*/
|
||||||
#define CONFIG_USB_DC_STM32_DISCONN_GPIO_PORT_NAME ST_STM32_USB_40005C00_GPIO_CONTROLLER
|
#define CONFIG_USB_DC_STM32_DISCONN_GPIO_PORT_NAME ST_STM32_USB_40005C00_DISCONNECT_GPIOS_CONTROLLER
|
||||||
#define CONFIG_USB_DC_STM32_DISCONN_PIN ST_STM32_USB_40005C00_GPIO_PIN
|
#define CONFIG_USB_DC_STM32_DISCONN_PIN ST_STM32_USB_40005C00_DISCONNECT_GPIOS_PIN
|
||||||
#define CONFIG_USB_DC_STM32_DISCONN_PIN_LEVEL ST_STM32_USB_40005C00_GPIO_FLAGS
|
#define CONFIG_USB_DC_STM32_DISCONN_PIN_LEVEL ST_STM32_USB_40005C00_DISCONNECT_GPIOS_FLAGS
|
||||||
|
|
|
@ -48,5 +48,5 @@ properties:
|
||||||
category: optional
|
category: optional
|
||||||
description: Some boards use a USB DISCONNECT pin to enable
|
description: Some boards use a USB DISCONNECT pin to enable
|
||||||
the pull-up resistor on USB Data Positive signal.
|
the pull-up resistor on USB Data Positive signal.
|
||||||
generation: define
|
generation: define, use-prop-name
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue