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

Anthony McGivern anthony.mcgivern at arm.com
Thu Nov 26 06:55:40 PST 2026


Hi, thanks for the review.

On 25/11/2026 08:51, Krzysztof Kozlowski wrote:
> 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
> 

Yeah my mistake, I will update this in a V2 series.

>> 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?

The ISP has two interrupts - Main and fault. Currently the driver only
uses the main interrupt, though we may wish to enable the fault
interrupt in the future to detect errors on HW side. I will update
this in V2 to use descriptions for each interrupt.

> 
>> +    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.

The ISP has three AXI masters which may be connected to different
IOMMU ports. Initially I made this flexible since those masters
could be merged onto the same port, but better to be explicit here
and just define all three. In V2 I will remove the flexibility and
add a description for each port.

> 
>> +
>> +  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

Will do

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

Same here

> 
>> +    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.

Ditto

> 
>> +
>> +      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

Ditto

> 
> Best regards,
> Krzysztof
> 

Thanks,
Anthony




More information about the linux-arm-kernel mailing list