lkml.org 
[lkml]   [2021]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/1] dt-bindings: serial: Add label property for pl011
    Date
    When there is more than one pl011 serial port present, the label property
    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@huawei.com>
    ---
    Documentation/devicetree/bindings/serial/pl011.yaml | 3 +++
    1 file changed, 3 insertions(+)

    diff --git a/Documentation/devicetree/bindings/serial/pl011.yaml b/Documentation/devicetree/bindings/serial/pl011.yaml
    index 1f8e9f2644b6b80..303c7746423f503 100644
    --- a/Documentation/devicetree/bindings/serial/pl011.yaml
    +++ b/Documentation/devicetree/bindings/serial/pl011.yaml
    @@ -34,6 +34,9 @@ properties:
    reg:
    maxItems: 1

    + label:
    + maxItems: 1
    +
    interrupts:
    maxItems: 1

    --
    2.26.0.106.g9fadedd

    \
     
     \ /
      Last update: 2021-04-15 09:32    [W:3.086 / U:1.496 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site