From 9cce05a89aceadfe5fc33bd4db29f2667a91a70e Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Tue, 16 May 2017 16:03:51 -0500 Subject: [PATCH] dts: Add label property to uart.yaml Add optional label property to be generated as part of the UART yaml spec. This lets us use the label string in a device tree to generate the device name (for example CONFIG_UART_STM32_PORT_1_NAME). Signed-off-by: Kumar Gala --- dts/common/yaml/uart.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dts/common/yaml/uart.yaml b/dts/common/yaml/uart.yaml index dfd4af35594..14a5f8fb5fe 100644 --- a/dts/common/yaml/uart.yaml +++ b/dts/common/yaml/uart.yaml @@ -22,4 +22,9 @@ properties: category: required description: Clock gate information generation: define + - label: + type: string + category: required + description: Human readable string describing the device (used by Zephyr for API name) + generation: define ...