Re: [PATCH v5 3/5] dt-bindings: dma: arm,dma-350: Document optional clocks and resets
From: Frank Li
Date: Wed Nov 04 2026 - 15:08:32 EST
On Wed, Nov 04, 2026 at 08:44:09PM +0800, Jelly Jia wrote:
> Some integrations gate the DMA-350 controller with a bus clock or hold it
> in reset. Sky1 provides a clock for both its FCH and AUDSS instances, and
> a reset for the AUDSS instance. Document these standard resources on the
> DMA controller node.
>
> Neither property is required, so existing device trees are unchanged.
>
> Signed-off-by: Jelly Jia <Jelly.Jia@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/dma/arm,dma-350.yaml | 16 +++++++++++++---
> 1 file changed, 13 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/dma/arm,dma-350.yaml b/Documentation/devicetree/bindings/dma/arm,dma-350.yaml
> index 429f682f15d8..43279878207c 100644
> --- a/Documentation/devicetree/bindings/dma/arm,dma-350.yaml
> +++ b/Documentation/devicetree/bindings/dma/arm,dma-350.yaml
> @@ -9,9 +9,6 @@ title: Arm CoreLink DMA-350 Controller
> maintainers:
> - Robin Murphy <robin.murphy@xxxxxxx>
>
> -allOf:
> - - $ref: dma-controller.yaml#
> -
> properties:
> compatible:
> const: arm,dma-350
Suppose you should add front compatible string and fall back to arm,dma-350
and use front compatible at if branch to restrict clocks and resets.
Frank
> @@ -36,9 +33,22 @@ properties:
> const: 1
> description: The cell is the trigger input number
>
> + clocks:
> + maxItems: 1
> + description:
> + Optional bus clock, where the integration gates the controller clock.
> +
> + resets:
> + maxItems: 1
> + description:
> + Optional reset line, where the integration exposes one.
> +
> required:
> - compatible
> - reg
> - interrupts
>
> +allOf:
> + - $ref: dma-controller.yaml#
> +
> unevaluatedProperties: false
> --
> 2.54.0
>