Skip to contentSkip to conversation

dt-bindings status

DISCUSSION Alexander Shiyan 3 participants 4 messages Nov 6, 2013 – Nov 18, 2013 Arm (32-bit)

lore
Share & tools
lore
#1 lore raw

Hi Alexander,

Quoted 5 lines · Alexander Shiyan

Hello.

DTS files from the current kernel require "include/dt-bindings". Are there plans to add these parts of the kernel tree in the barebox? Thanks.

We should add this for barebox aswell once we need it. Right now I haven't missed it. If you need it feel free to add it.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
Quoted 9 lines · Sascha Hauer
Quoted 5 lines · Alexander Shiyan

Hello.

DTS files from the current kernel require "include/dt-bindings". Are there plans to add these parts of the kernel tree in the barebox? Thanks.

We should add this for barebox aswell once we need it. Right now I haven't missed it. If you need it feel free to add it.

I miss it! :)

I haven't found a way to tell dtc's cpp that those includes are in include/dt-bindings, but I didn't look very hard.

Currently, I have them in arch/arm/dts/dt-bindings which works but is not the right place, for sure.

I'd be happy if Alexander comes up with a patch.

Sebastian

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#3 lore raw
Quoted 8 lines · Sebastian Hesselbarth
Quoted 7 lines · Sascha Hauer
Quoted 5 lines · Alexander Shiyan

Hello.

DTS files from the current kernel require "include/dt-bindings". Are there plans to add these parts of the kernel tree in the barebox? Thanks.

Quoted 7 lines
Quoted 2 lines

We should add this for barebox aswell once we need it. Right now I haven't missed it. If you need it feel free to add it.

I miss it! :)

I haven't found a way to tell dtc's cpp that those includes are in include/dt-bindings, but I didn't look very hard.

I just found out:

From 3808314a4014c201e4047ddf44187fadcedaaebd Mon Sep 17 00:00:00 2001
From: Sascha Hauer <[email protected]>
Date: Mon, 18 Nov 2013 13:59:17 +0100
Subject: [PATCH] ARM: dtb: create dt-bindings link

For making #include <dt-bindings/...> work

We already have the necessary -I flag in dtc_cpp_flags, no nothing needs to be done here.

---
 arch/arm/dts/include/dt-bindings | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 arch/arm/dts/include/dt-bindings
arch/arm/dts/include/dt-bindings new file +1 -0
new file mode 120000
index 0000000..0cecb3d
@@ -0,0 +1 @@
+../../../../include/dt-bindings
\ No newline at end of file
Signature · 12 lines
1.8.4.2

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox