Rob Herring
4a8ececbb5
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 >
2023-12-11 12:00:54 +05:30
Krzysztof Kozlowski
10cafa2d45
dt-bindings: dma: drop unneeded quotes
...
Cleanup by removing unneeded quotes from refs and redundant blank lines.
No functional impact except adjusting to preferred coding style.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com > # mediatek
Acked-by: Rob Herring <robh@kernel.org >
Acked-by: Hector Martin <marcan@marcan.st > # apple
Acked-by: Paul Cercueil <paul@crapouillou.net >
Acked-by: Viresh Kumar <viresh.kumar@linaro.org > # Spear
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com > # Renesas
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com > # Socionext
Link: https://lore.kernel.org/r/20230124081117.31186-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org >
2023-02-10 11:34:29 +05:30
Krzysztof Kozlowski
ab040c4223
dt-bindings: drop redundant part of title of shared bindings
...
The Devicetree bindings document does not have to say in the title that
it is a "binding", but instead just describe the hardware. For shared
(re-usable) schemas, name them all as "common properties".
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Guenter Roeck <linux@roeck-us.net > # watchdog
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > # IIO
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com >
Acked-by: Ulf Hansson <ulf.hansson@linaro.org > # MMC
Acked-by: Stephen Boyd <sboyd@kernel.org > # clk
Acked-by: Vinod Koul <vkoul@kernel.org > # dma
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl > # media
Acked-by: Sebastian Reichel <sre@kernel.org > # power
Acked-by: Viresh Kumar <viresh.kumar@linaro.org > # opp
Link: https://lore.kernel.org/r/20221216163815.522628-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-12-16 11:41:49 -06:00
Rob Herring
bbd0ff07ed
dt-bindings: dma-controller: Split interrupt fields in example
...
Best practice for multi-cell property values is to bracket each multi-cell
value.
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220106182518.1435497-2-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org >
2022-01-08 22:57:15 +05:30
Rob Herring
6a0e321ea7
dt-bindings: Explicitly allow additional properties in common schemas
...
In order to add meta-schema checks for additional/unevaluatedProperties
being present, all schema need to make this explicit. As common/shared
schema are included by other schemas, they should always allow for
additionalProperties.
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Krzysztof Kozlowski <krzk@kernel.org >
Acked-by: Sebastian Reichel <sre@kernel.org >
Acked-by: Chanwoo Choi <cw00.choi@samsung.com >
Acked-By: Vinod Koul <vkoul@kernel.org >
Acked-by: Lee Jones <lee.jones@linaro.org >
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be >
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org >
Acked-by: Ulf Hansson <ulf.hansson@linaro.org >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Link: https://lore.kernel.org/r/20201005183830.486085-5-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2020-10-07 11:30:06 -05:00
Maxime Ripard
b37e3534ac
dt-bindings: dmaengine: Add YAML schemas for the generic DMA bindings
...
The DMA controllers and consumers have a bunch of generic properties that
are needed in a device tree. Add a YAML schemas for those.
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20190720092607.31095-1-maxime.ripard@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org >
2019-07-29 12:18:49 +05:30