Message ID | 20211119143839.1950739-17-thierry.reding@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | dt-bindings: Convert Tegra DT bindings to json-schema | expand |
On Fri, 19 Nov 2021 15:38:39 +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/1557183 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
On Fri, 19 Nov 2021 15:38:39 +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(-) > Acked-by: Rob Herring <robh@kernel.org>
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: