diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-05-06 15:20:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-13 16:19:49 +0200 |
commit | e27671f66321f97b62424aebacd6d9b678b0c5be (patch) | |
tree | 521fb71586ad8d619321e54365fac713fbe321bb /Documentation/devicetree/bindings/serial/serial.yaml | |
parent | dt-bindings: serial: Change to reference the kernel-defined serial.yaml (diff) | |
download | linux-e27671f66321f97b62424aebacd6d9b678b0c5be.tar.xz linux-e27671f66321f97b62424aebacd6d9b678b0c5be.zip |
dt-bindings: serial: Add label property in serial.yaml
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
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210506132049.1513-3-thunder.leizhen@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/serial/serial.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/serial/serial.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml index 2fdf4ed198da..c75ba3fb6465 100644 --- a/Documentation/devicetree/bindings/serial/serial.yaml +++ b/Documentation/devicetree/bindings/serial/serial.yaml @@ -23,6 +23,8 @@ properties: $nodename: pattern: "^serial(@.*)?$" + label: true + cts-gpios: maxItems: 1 description: |