OSDN Git Service

dt-bindings: serial: correct ref to serial.yaml
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 24 Jan 2023 09:19:08 +0000 (10:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 05:13:36 +0000 (06:13 +0100)
commitbd99d12535165b761cfdb1fa19814e6885d59baf
treef663a270cdea2e45360e935e5c2b85634cc4865d
parentc7a9a84eba45abfadb72f8d553d3533e6ae11598
dt-bindings: serial: correct ref to serial.yaml

The serial bindings should reference the local (in kernel) serial.yaml,
not the /schemas/serial.yaml.  The latter comes from dtschema package
and is a small subset of serial bindings.

Usage of the local serial.yaml allows typical properties and children:

  xilinx/avnet-ultra96-rev1.dtb: serial@ff000000: Unevaluated properties are not allowed ('bluetooth' were unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Michal Simek <michal.simek@amd.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230124091916.45054-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/cdns,uart.yaml
Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml