Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Fix missing '/schemas' in $ref paths

Absolute paths in $ref should always begin with '/schemas'. The tools
mostly work with it omitted, but for correctness the path should be
everything except the hostname as that is taken from the schema's $id
value. This scheme is defined in the json-schema spec.

Cc: Hector Martin <marcan@marcan.st>
Cc: Sven Peter <sven@svenpeter.dev>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Vivien Didelot <vivien.didelot@gmail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Vladimir Oltean <olteanv@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Chunfeng Yun <chunfeng.yun@mediatek.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Mukesh Savaliya <msavaliy@codeaurora.org>
Cc: Akash Asthana <akashast@codeaurora.org>
Cc: Bayi Cheng <bayi.cheng@mediatek.com>
Cc: Chuanhong Guo <gch981213@gmail.com>
Cc: Min Guo <min.guo@mediatek.com>
Cc: netdev@vger.kernel.org
Cc: linux-spi@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Mark Brown <broonie@debian.org>
Link: https://lore.kernel.org/r/20220325215652.525383-1-robh@kernel.org

+9 -9
+1 -1
Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml
··· 42 42 description: 43 43 The individual power management domains within this controller 44 44 type: object 45 - $ref: /power/apple,pmgr-pwrstate.yaml# 45 + $ref: /schemas/power/apple,pmgr-pwrstate.yaml# 46 46 47 47 required: 48 48 - compatible
+1 -1
Documentation/devicetree/bindings/net/dsa/dsa-port.yaml
··· 15 15 Ethernet switch port Description 16 16 17 17 allOf: 18 - - $ref: "http://devicetree.org/schemas/net/ethernet-controller.yaml#" 18 + - $ref: /schemas/net/ethernet-controller.yaml# 19 19 20 20 properties: 21 21 reg:
+1 -1
Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
··· 103 103 supports up to 50MHz, up to four chip selects, programmable 104 104 data path from 4 bits to 32 bits and numerous protocol 105 105 variants. 106 - $ref: /spi/spi-controller.yaml# 106 + $ref: /schemas/spi/spi-controller.yaml# 107 107 108 108 properties: 109 109 compatible:
+1 -1
Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
··· 18 18 capability of this controller. 19 19 20 20 allOf: 21 - - $ref: /spi/spi-controller.yaml# 21 + - $ref: /schemas/spi/spi-controller.yaml# 22 22 23 23 properties: 24 24 compatible:
+1 -1
Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
··· 16 16 as NOR flash. 17 17 18 18 allOf: 19 - - $ref: /spi/spi-controller.yaml# 19 + - $ref: /schemas/spi/spi-controller.yaml# 20 20 21 21 properties: 22 22 compatible:
+1 -1
Documentation/devicetree/bindings/spi/sprd,spi-adi.yaml
··· 44 44 compatibility. 45 45 46 46 allOf: 47 - - $ref: /spi/spi-controller.yaml# 47 + - $ref: /schemas/spi/spi-controller.yaml# 48 48 49 49 properties: 50 50 compatible:
+2 -2
Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml
··· 132 132 default: host 133 133 134 134 connector: 135 - $ref: /connector/usb-connector.yaml# 135 + $ref: /schemas/connector/usb-connector.yaml# 136 136 description: 137 137 Connector for dual role switch, especially for "gpio-usb-b-connector" 138 138 type: object ··· 191 191 patternProperties: 192 192 "^usb@[0-9a-f]+$": 193 193 type: object 194 - $ref: /usb/mediatek,mtk-xhci.yaml# 194 + $ref: /schemas/usb/mediatek,mtk-xhci.yaml# 195 195 description: 196 196 The xhci should be added as subnode to mtu3 as shown in the following 197 197 example if the host mode is enabled.
+1 -1
Documentation/devicetree/bindings/usb/mediatek,musb.yaml
··· 63 63 maxItems: 1 64 64 65 65 connector: 66 - $ref: /connector/usb-connector.yaml# 66 + $ref: /schemas/connector/usb-connector.yaml# 67 67 description: Connector for dual role switch 68 68 type: object 69 69