dt-binding: net: ti: am65x-cpts: fix dt_binding_check fail
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 5 May 2020 10:19:35 +0000 (13:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2020 19:49:28 +0000 (12:49 -0700)
Fix dt_binding_check fail:
Fix Documentation/devicetree/bindings/net/ti,k3-am654-cpts.yaml: $id: relative path/filename doesn't match actual path or filename
expected: http://devicetree.org/schemas/net/ti,k3-am654-cpts.yaml#
Unknown file referenced: [Errno 2] No such file or directory: '/usr/local/lib/python3.6/dist-packages/dtschema/schemas/net/ti,am654-cpts.yaml'
 Documentation/devicetree/bindings/net/ti,k3-am654-cpts.yaml: $id: relative path/filename doesn't match actual path or filename
 expected: http://devicetree.org/schemas/net/ti,k3-am654-cpts.yaml#
Unknown file referenced: [Errno 2] No such file or directory: '/usr/local/lib/python3.6/dist-packages/dtschema/schemas/net/ti,am654-cpts.yaml'

Cc: Rob Herring <robh@kernel.org>
Fixes: 6e87ac748e94 ("dt-binding: ti: am65x: document common platform time sync cpts module")
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml
Documentation/devicetree/bindings/net/ti,k3-am654-cpts.yaml

index 0f3fde45e2000a38ce7b39d2da5e0b984551bc5f..0c054a2ce5ba4c521e5c3d1e980d9275cb367285 100644 (file)
@@ -147,7 +147,7 @@ patternProperties:
   "^cpts$":
     type: object
     allOf:
-      - $ref: "ti,am654-cpts.yaml#"
+      - $ref: "ti,k3-am654-cpts.yaml#"
     description:
       CPSW Common Platform Time Sync (CPTS) module.
 
index 1b535d41e5c6a0e237ecad7aa173dbc95e3a1591..df83c320e61bebd0621840efa48c56cab02fdf8a 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/net/ti,am654-cpts.yaml#
+$id: http://devicetree.org/schemas/net/ti,k3-am654-cpts.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: The TI AM654x/J721E Common Platform Time Sync (CPTS) module Device Tree Bindings