Message ID | 20211112120518.3679793-16-thierry.reding@gmail.com |
---|---|
State | Superseded, archived |
Headers | show |
Series | dt-bindings: Convert Tegra DT bindings to json-schema | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/dt-meta-schema | success | |
robh/dtbs-check | fail | build log |
robh/checkpatch | success | |
robh/dt-meta-schema | success | |
robh/dtbs-check | fail | build log |
On Fri, 12 Nov 2021 13:05:18 +0100, Thierry Reding wrote: > From: Thierry Reding <treding@nvidia.com> > > Add the compatible string for the TCU found on the Tegra234 SoC. > > Signed-off-by: Thierry Reding <treding@nvidia.com> > --- > .../devicetree/bindings/serial/nvidia,tegra194-tcu.yaml | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings. Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future. Full log is available here: https://patchwork.ozlabs.org/patch/1554322 tcu: $nodename:0: 'tcu' does not match '^serial(@.*)?$' arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dt.yaml arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dt.yaml arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0001.dt.yaml
diff --git a/Documentation/devicetree/bindings/serial/nvidia,tegra194-tcu.yaml b/Documentation/devicetree/bindings/serial/nvidia,tegra194-tcu.yaml index 7987eca0bb52..e2d111b3e0b0 100644 --- a/Documentation/devicetree/bindings/serial/nvidia,tegra194-tcu.yaml +++ b/Documentation/devicetree/bindings/serial/nvidia,tegra194-tcu.yaml @@ -22,7 +22,12 @@ properties: pattern: "^serial(@.*)?$" compatible: - const: nvidia,tegra194-tcu + oneOf: + - const: nvidia,tegra194-tcu + - items: + - enum: + - nvidia,tegra234-tcu + - const: nvidia,tegra194-tcu mbox-names: items: