[soc:sophgo/dt 1/1] arch/riscv/boot/dts/sophgo/sg2042.dtsi:7:10: fatal error: 'dt-bindings/clock/sophgo,sg2042-clkgen.h' file not found
Chen Wang
unicorn_wang at outlook.com
Wed Jul 10 16:09:48 PDT 2024
This build error is due to the changes about
"dt-bindings/clock/sophgo,sg2042-clkgen.h" are still on clk-next and
have not been merge in the master.
Thanks,
Chen
On 2024/7/10 18:56, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git sophgo/dt
> head: b1240a39511b9206293b82ac372c5114d6e15821
> commit: b1240a39511b9206293b82ac372c5114d6e15821 [1/1] riscv: dts: add clock generator for Sophgo SG2042 SoC
> config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20240710/202407101850.eIQyngoV-lkp@intel.com/config)
> compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project a0c6b8aef853eedaa0980f07c0a502a5a8a9740e)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240710/202407101850.eIQyngoV-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp at intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202407101850.eIQyngoV-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> In file included from arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts:6:
>>> arch/riscv/boot/dts/sophgo/sg2042.dtsi:7:10: fatal error: 'dt-bindings/clock/sophgo,sg2042-clkgen.h' file not found
> 7 | #include <dt-bindings/clock/sophgo,sg2042-clkgen.h>
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
>
>
> vim +7 arch/riscv/boot/dts/sophgo/sg2042.dtsi
>
> > 7 #include <dt-bindings/clock/sophgo,sg2042-clkgen.h>
> 8 #include <dt-bindings/clock/sophgo,sg2042-pll.h>
> 9 #include <dt-bindings/clock/sophgo,sg2042-rpgate.h>
> 10 #include <dt-bindings/interrupt-controller/irq.h>
> 11 #include <dt-bindings/reset/sophgo,sg2042-reset.h>
> 12
>
More information about the linux-arm-kernel
mailing list