Re: [PATCH v2 3/3] dt-bindings: serial: Add label property in serial.yaml
From: Rob Herring
Date: Fri Apr 30 2021 - 11:21:33 EST
On Thu, 22 Apr 2021 16:58:37 +0800, Zhen Lei wrote:
> When there is more than one serial port present, the property 'label'
> allows a custom name to be used for briefly describe the usage or position
> of each serial port.
>
> Without this "label" property, many dtbs_check warnings similar to the
> following are reported:
> arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dt.yaml: \
> serial@ffd74000: Additional properties are not allowed ('label' was unexpected)
> From schema: Documentation/devicetree/bindings/serial/pl011.yaml
>
> Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/serial/serial.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Rob Herring <robh@xxxxxxxxxx>