Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] riscv: dts: spacemit: build failure from missing
  spacemit,k1-power.h header
--

commit efc5334efe329206674ea5227e542cbbf6e41d33
Author: Iker Pedrosa <[email protected]>

riscv: dts: spacemit: k1: add PowerVR GPU device node

This commit adds the PowerVR Rogue GPU device tree node for the SpacemiT
K1 SoC and enables it by default.

> diff --git a/arch/riscv/boot/dts/spacemit/k1.dtsi 
> b/arch/riscv/boot/dts/spacemit/k1.dtsi
> index 5d5f7f8a393d3..15bee2137e14e 100644
> --- a/arch/riscv/boot/dts/spacemit/k1.dtsi
> +++ b/arch/riscv/boot/dts/spacemit/k1.dtsi
> @@ -5,6 +5,7 @@
>  
>  #include <dt-bindings/clock/spacemit,k1-syscon.h>
>  #include <dt-bindings/phy/phy.h>
> +#include <dt-bindings/power/spacemit,k1-power.h>
>  
>  #include "k1-pdma.h"
>  
> @@ -1119,6 +1120,16 @@ multimedia-bus {
>                       #size-cells = <2>;
>                       dma-ranges = <0x0 0x00000000 0x0 0x00000000 0x0 
> 0x80000000>,
>                                    <0x0 0x80000000 0x1 0x00000000 0x3 
> 0x80000000>;
> +
> +                     gpu: gpu@cac00000 {
> +                             compatible = "spacemit,k1-gpu", 
> "img,img-bxe-2-32", "img,img-rogue";
> +                             reg = <0x0 0xcac00000 0x0 0x80000>;
> +                             interrupts = <75>;
> +                             clocks = <&syscon_apmu CLK_GPU>;
> +                             clock-names = "core";
> +                             resets = <&syscon_apmu RESET_GPU>;
> +                             power-domains = <&syscon_apmu K1_PMDOMAIN_GPU>;
> +                     };
>               };
>  
>               network-bus {

[Severity: High]
Does this break the DTB build when CONFIG_ARCH_SPACEMIT is enabled?
Neither include/dt-bindings/power/spacemit,k1-power.h nor K1_PMDOMAIN_GPU
is present in the tree yet, so preprocessing any SpacemiT K1 board DTS
that includes k1.dtsi fails until the prerequisite power-domain series is
applied.

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

Reply via email to