[PATCH 02/24] dt-bindings: media: Add bindings for Arm Mali-C720

Krzysztof Kozlowski krzk at kernel.org
Wed Nov 25 00:51:57 PST 2026


On 2026-11-24 17:07 +0000, Anthony McGivern wrote:
> From: Anthony McGivern <Anthony.McGivern at arm.com>
> 
> Add the device tree binding for the Arm Mali-C720 Image Signal
> Processor.
> 

A nit, subject: drop second/last, redundant "bindings". The
"dt-bindings" prefix is already stating that these are bindings.
See also:
https://elixir.bootlin.com/linux/v7.1-rc7/source/Documentation/devicetree/bindings/submitting-patches.rst#L23

> Signed-off-by: Anthony McGivern <Anthony.McGivern at arm.com>
> ---
>  .../devicetree/bindings/media/arm,mali-c720.yaml   | 134 +++++++++++++++++++++
>  1 file changed, 134 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/media/arm,mali-c720.yaml b/Documentation/devicetree/bindings/media/arm,mali-c720.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..3bd261bcefbe371b7b4610afdde8e556b2a2ae22
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/arm,mali-c720.yaml
> @@ -0,0 +1,134 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/media/arm,mali-c720.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ARM Mali-C720 Image Signal Processor
> +
> +maintainers:
> +  - Anthony McGivern <anthony.mcgivern at arm.com>
> +
> +properties:
> +  compatible:
> +    const: arm,mali-c720
> +
> +  reg:
> +    maxItems: 1
> +
> +  interrupts:
> +    minItems: 1

Why is this flexible?

> +    items:
> +      - description: ISP main interrupt
> +      - description: ISP fault interrupt
> +
> +  interrupt-names:
> +    minItems: 1
> +    items:
> +      - const: isp
> +      - const: fault
> +
> +  iommus:
> +    minItems: 1
> +    maxItems: 3

Same question. List items with description instead.

> +
> +  clocks:
> +    items:
> +      - description: ISP main processing clock
> +
> +  clock-names:
> +    items:
> +      - const: vclk
> +
> +  resets:
> +    items:
> +      - description: ISP main processing clock domain reset
> +
> +  reset-names:
> +    items:
> +      - const: reset

Drop names

> +
> +  memory-region:
> +    maxItems: 1
> +    description: Reserved memory pool for ISP DMA allocations.
> +
> +  power-domains:
> +    description: Power domain containing the ISP.

Drop description

> +    maxItems: 1
> +
> +  ports:
> +    $ref: /schemas/graph.yaml#/properties/ports
> +    description: Parallel video input ports.
> +
> +    properties:
> +      port at 0:
> +        $ref: /schemas/graph.yaml#/properties/port
> +        description: Input port 0
> +
> +        properties:
> +          reg:
> +            const: 0

Drop properties, should not be needed, same in places below.

> +
> +      port at 1:
> +        $ref: /schemas/graph.yaml#/properties/port
> +        description: Input port 1
> +
> +        properties:
> +          reg:
> +            const: 1
> +
> +      port at 2:
> +        $ref: /schemas/graph.yaml#/properties/port
> +        description: Input port 2
> +
> +        properties:
> +          reg:
> +            const: 2
> +
> +      port at 3:
> +        $ref: /schemas/graph.yaml#/properties/port
> +        description: Input port 3
> +
> +        properties:
> +          reg:
> +            const: 3
> +
> +required:
> +  - compatible
> +  - reg
> +  - interrupts
> +  - interrupt-names
> +  - clocks
> +  - clock-names
> +  - resets
> +  - reset-names
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    mali_c720: isp at 400000 {

Drop unused label

Best regards,
Krzysztof

-- 
Krzysztof Kozlowski <krzk at kernel.org>



More information about the linux-arm-kernel mailing list