mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 03:22:37 +00:00
The correct syntax for JSON pointers begins with a '/' after the '#'. Without a '/', the string should be interpreted as a subschema identifier. The jsonschema module currently doesn't handle subschema identifiers and incorrectly allows JSON pointers to begin without a '/'. Let's fix this before it becomes a problem when jsonschema module is fixed. Converted with: perl -p -i -e 's/yaml#definitions/yaml#\/definitions/g' `find Documentation/devicetree/bindings/ -name "*.yaml"` Cc: Maxime Ripard <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Cc: Daniel Thompson <[email protected]> Cc: Jingoo Han <[email protected]> Cc: Pavel Machek <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Mark Brown <[email protected]> Cc: [email protected] Acked-By: Vinod Koul <[email protected]> Acked-by: Lee Jones <[email protected]> Acked-by: Guenter Roeck <[email protected]> Acked-by: Sebastian Reichel <[email protected]> Acked-by: Florian Fainelli <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Jakub Kicinski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/dma/dma-common.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: DMA Engine Generic Binding
|
|
|
|
maintainers:
|
|
- Vinod Koul <[email protected]>
|
|
|
|
description:
|
|
Generic binding to provide a way for a driver using DMA Engine to
|
|
retrieve the DMA request or channel information that goes from a
|
|
hardware device to a DMA controller.
|
|
|
|
select: false
|
|
|
|
properties:
|
|
"#dma-cells":
|
|
minimum: 1
|
|
# Should be enough
|
|
maximum: 255
|
|
description:
|
|
Used to provide DMA controller specific information.
|
|
|
|
dma-channel-mask:
|
|
description:
|
|
Bitmask of available DMA channels in ascending order that are
|
|
not reserved by firmware and are available to the
|
|
kernel. i.e. first channel corresponds to LSB.
|
|
The first item in the array is for channels 0-31, the second is for
|
|
channels 32-63, etc.
|
|
$ref: /schemas/types.yaml#/definitions/uint32-array
|
|
items:
|
|
minItems: 1
|
|
# Should be enough
|
|
maxItems: 255
|
|
|
|
dma-channels:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description:
|
|
Number of DMA channels supported by the controller.
|
|
|
|
dma-requests:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description:
|
|
Number of DMA request signals supported by the controller.
|
|
|
|
required:
|
|
- "#dma-cells"
|
|
|
|
additionalProperties: true
|