diff mbox

[4/4] RFT: irqchip: replace moxa with ftintc010

Message ID CACmBeS0BAUPgP7N1FMYvWK583kAOU2ogZ0PqE2hQA2sE5nBpUg@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jonas Jensen March 14, 2017, 2:58 p.m. UTC
On 13 March 2017 at 20:56, Linus Walleij <linus.walleij@linaro.org> wrote:
> Can you try the following patch? If it works I will queue
> this too.

Thanks! everything appear to work right with that patch (see log [1]),
however, DTC can no longer compile the dtb so the following is a patch
for that:


From 764619070a209f388d0b5eb43a81c62b45256a60 Mon Sep 17 00:00:00 2001
From: Jonas Jensen <jonas.jensen@gmail.com>
Date: Tue, 14 Mar 2017 15:05:04 +0100
Subject: [PATCH 1/2] DT: ARM: moxart: change the machine dts so it uses
 #include instead of /include/

dtb:s with #include don't compile on BPi Debian GNU/Linux 8 (jessie)..

DTC can't compile the dtb on nested #include from /include/

dtc -v
Version: DTC 1.4.0

make -j3 ARCH=arm bzImage dtbs
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  UPD     include/config/kernel.release
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
<stdin>:1325:2: warning: #warning syscall statx not implemented [-Wcpp]
  CHK     include/generated/compile.h
  CC      init/version.o
  CC      kernel/sys.o
  LD      init/built-in.o
  CHK     kernel/config_data.h
  DTC     arch/arm/boot/dts/moxart-uc7112lx.dtb
  LD      kernel/built-in.o
Error: arch/arm/boot/dts/moxart.dtsi:9.1-9 syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.lib:313: recipe for target
'arch/arm/boot/dts/moxart-uc7112lx.dtb' failed
make[1]: *** [arch/arm/boot/dts/moxart-uc7112lx.dtb] Error 1
arch/arm/Makefile:345: recipe for target 'dtbs' failed
make: *** [dtbs] Error 2
make: *** Waiting for unfinished jobs....

Signed-off-by: Jonas Jensen <jonas.jensen@gmail.com>
---
 arch/arm/boot/dts/moxart-uc7112lx.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij March 18, 2017, 4:32 p.m. UTC | #1
On Tue, Mar 14, 2017 at 3:58 PM, Jonas Jensen <jonas.jensen@gmail.com> wrote:

> Thanks! everything appear to work right with that patch (see log [1]),
> however, DTC can no longer compile the dtb so the following is a patch
> for that:

Thanks! I folded this into the patch and added your Tested-by.

I will send this separately to the ARM SoC maintainers so they
can prepare the ground by correcting the device tree.

Yours,
Linus Walleij
diff mbox

Patch

diff --git a/arch/arm/boot/dts/moxart-uc7112lx.dts
b/arch/arm/boot/dts/moxart-uc7112lx.dts
index 10d088df..4a962a2 100644
--- a/arch/arm/boot/dts/moxart-uc7112lx.dts
+++ b/arch/arm/boot/dts/moxart-uc7112lx.dts
@@ -6,7 +6,7 @@ 
  */

 /dts-v1/;
-/include/ "moxart.dtsi"
+#include "moxart.dtsi"

 / {
  model = "MOXA UC-7112-LX";