diff mbox series

[BUG] build error due to AGILEX_NAND_X_CLK

Message ID 1597807371.5429.28.camel@mhfsdcap03 (mailing list archive)
State New, archived
Headers show
Series [BUG] build error due to AGILEX_NAND_X_CLK | expand

Commit Message

Chunfeng Yun (云春峰) Aug. 19, 2020, 3:22 a.m. UTC
Hi Dinh,

   There is build error for arm64:
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:313.15-16 syntax error
FATAL ERROR: Unable to parse input tree

it's introduced by patch:

commit d4ae4dd346cd49302d157b129ead2f60d3a82534
Author: Dinh Nguyen <dinguyen@kernel.org>
Date:   Tue Jun 30 13:44:37 2020 -0500

    arm64: dts: agilex: add nand clocks

    Add the clock properties for the NAND dts node.

    Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>

                };

Comments

Dinh Nguyen Aug. 19, 2020, 4:30 p.m. UTC | #1
Hi,

This is an old error and has been fixed in v5.9-rc1.

Dinh

On 8/18/20 10:22 PM, Chunfeng Yun wrote:
> tax error
> FATAL ERROR: Unable to parse input tree
> 
> it's introduced by patch:
> 
> commit d4ae4dd346cd49302d157b129ead2f60d3a82534
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
index e300330..ac1b242 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
@@ -309,6 +309,10 @@ 
                              <0xffb80000 0x1000>;
                        reg-names = "nand_data", "denali_reg";
                        interrupts = <0 97 4>;
+                       clocks = <&clkmgr AGILEX_NAND_CLK>,
+                                <&clkmgr AGILEX_NAND_X_CLK>,
+                                <&clkmgr AGILEX_NAND_ECC_CLK>;
+                       clock-names = "nand", "nand_x", "ecc";
                        resets = <&rst NAND_RESET>, <&rst
NAND_OCP_RESET>;
                        status = "disabled";