[PATCH 03/10] dt-bindings: dma: Add RDA IFC DMA
Rob Herring
robh at kernel.org
Mon Sep 22 11:08:51 PDT 2025
On Fri, Sep 19, 2025 at 01:48:43AM +0700, Dang Huynh wrote:
> The Intelligent Flow Controller (IFC) is a scatter/gather DMA
> controller.
>
> Signed-off-by: Dang Huynh <dang.huynh at mainlining.org>
> ---
> Documentation/devicetree/bindings/dma/rda,ifc.yaml | 45 ++++++++++++++++++++++
> include/dt-bindings/dma/rda-ifc.h | 28 ++++++++++++++
> 2 files changed, 73 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/dma/rda,ifc.yaml b/Documentation/devicetree/bindings/dma/rda,ifc.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..323e1e87cee09cfc7b64bf44bef61e4d1e91afa5
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/dma/rda,ifc.yaml
> @@ -0,0 +1,45 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/dma/rda,ifc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: RDA Intelligent Flow Controller (IFC)
> +
> +maintainers:
> + - Dang Huynh <dang.huynh at mainlining.org>
> +
> +description: |
> + RDA IFC is a DMA controller, it only supports scatter/gather lists.
> +
> +allOf:
> + - $ref: dma-controller.yaml#
> +
> +properties:
> + compatible:
> + items:
> + - enum:
> + - rda,8810pl-ifc
> + - const: rda,ifc
Also, drop. Generic compatibles are rarely useful. If the next chip has
the same block, then 'rda,8810pl-ifc' can be the fallback compatible.
Rob
More information about the linux-arm-kernel
mailing list