Build error caused by "arm64: dts: agilex: add nand clocks"

From: Markus Mayer
Date: Tue Aug 04 2020 - 14:48:48 EST


Hi,

I don't know if anybody else is seeing this, but for me the commit
"arm64: dts: agilex: add nand clocks"[1] is causing a build error
while generating DTS files for ARM64.

The error goes away when I drop the commit.

$ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make defconfig dtbs
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTLD scripts/kconfig/conf
*** Default configuration is based on 'defconfig'
[...]
DTC arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dtb
DTC arch/arm64/boot/dts/freescale/imx8mq-thor96.dtb
DTC arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb
DTC arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb
DTC arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dtb
DTC arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dtb
DTC arch/arm64/boot/dts/freescale/imx8qxp-mek.dtb
DTC arch/arm64/boot/dts/freescale/s32v234-evb.dtb
DTC arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dtb
DTC arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dtb
DTC arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dtb
DTC arch/arm64/boot/dts/hisilicon/hi6220-hikey.dtb
DTC arch/arm64/boot/dts/hisilicon/hip05-d02.dtb
DTC arch/arm64/boot/dts/hisilicon/hip06-d03.dtb
DTC arch/arm64/boot/dts/hisilicon/hip07-d05.dtb
DTC arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dtb
Error: arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:313.15-16 syntax error
FATAL ERROR: Unable to parse input tree
make[3]: *** [scripts/Makefile.lib:309:
arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dtb] Error 1
make[2]: *** [scripts/Makefile.build:497: arch/arm64/boot/dts/intel] Error 2
make[1]: *** [Makefile:1306: dtbs] Error 2
make: *** [Makefile:336: __build_one_by_one] Error 2

Regards,
-Markus

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4ae4dd346cd49302d157b129ead2f60d3a82534