Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: gpu: arm,mali-gen5-am: interrupts listed before
  clocks
--

commit 8146e86e1cef7b5ce16835f2b37c463e5fa71384
Author: Karunika Choo <[email protected]>

dt-bindings: gpu: mali-gen5-am: Add Mali 5th-Gen AM schema

This commit adds a Device Tree binding schema for ARM Mali 5th-Gen AM GPUs
and updates MAINTAINERS.

> diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-gen5-am.yaml 
> b/Documentation/devicetree/bindings/gpu/arm,mali-gen5-am.yaml
> new file mode 100644
> index 0000000000000..d955476c99774
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/gpu/arm,mali-gen5-am.yaml
> @@ -0,0 +1,63 @@

[ ... ]

> +  reg:
> +    maxItems: 1
> +
> +  interrupts:
> +    items:
> +      - description: Job interrupt
> +      - description: MMU interrupt
> +      - description: GPU interrupt
> +
> +  interrupt-names:
> +    items:
> +      - const: job
> +      - const: mmu
> +      - const: gpu
> +
> +  clocks:
> +    maxItems: 1
> +
> +  dma-coherent: true
> +
> +required:
> +  - compatible
> +  - reg
> +  - interrupts
> +  - interrupt-names
> +  - clocks
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    #include <dt-bindings/interrupt-controller/irq.h>
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> +    gpu@100000 {
> +        compatible = "arm,zena-css-mali", "arm,mali-gen5-am";
> +        reg = <0x100000 0x480000>;
> +        interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
> +                     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
> +                     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
> +        interrupt-names = "job", "mmu", "gpu";
> +        clocks = <&gpu_clk>;
> +    };

[Severity: Low]
This isn't a bug, but in Device Tree binding schemas and example nodes the
canonical property order places clocks before interrupts and
interrupt-names (after reg), in properties, required, and the gpu@100000
example node.

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=8

Reply via email to