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

dt-bindings: dma: Drop undocumented examples

The compatibles "ti,omap-sdma" and "ti,dra7-dma-crossbar" aren't documented
by a schema which causes warnings:

Documentation/devicetree/bindings/dma/dma-controller.example.dtb: /example-0/dma-controller@48000000: failed to match any schema with compatible: ['ti,omap-sdma']
Documentation/devicetree/bindings/dma/dma-router.example.dtb: /example-0/dma-router@4a002b78: failed to match any schema with compatible: ['ti,dra7-dma-crossbar']

As no one has cared to fix them, just drop them.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231122235050.2966280-1-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Rob Herring and committed by
Vinod Koul
4a8ececb 306f5df8

-26
-15
Documentation/devicetree/bindings/dma/dma-controller.yaml
··· 19 19 20 20 additionalProperties: true 21 21 22 - examples: 23 - - | 24 - dma: dma-controller@48000000 { 25 - compatible = "ti,omap-sdma"; 26 - reg = <0x48000000 0x1000>; 27 - interrupts = <0 12 0x4>, 28 - <0 13 0x4>, 29 - <0 14 0x4>, 30 - <0 15 0x4>; 31 - #dma-cells = <1>; 32 - dma-channels = <32>; 33 - dma-requests = <127>; 34 - dma-channel-mask = <0xfffe>; 35 - }; 36 - 37 22 ...
-11
Documentation/devicetree/bindings/dma/dma-router.yaml
··· 40 40 41 41 additionalProperties: true 42 42 43 - examples: 44 - - | 45 - sdma_xbar: dma-router@4a002b78 { 46 - compatible = "ti,dra7-dma-crossbar"; 47 - reg = <0x4a002b78 0xfc>; 48 - #dma-cells = <1>; 49 - dma-requests = <205>; 50 - ti,dma-safe-map = <0>; 51 - dma-masters = <&sdma>; 52 - }; 53 - 54 43 ...