Hi Greg, > -----Original Message----- > From: Greg Kroah-Hartman [mailto:gregkh@xxxxxxxxxxxxxxxxxxx] > Sent: Monday, October 22, 2018 1:59 PM > To: Pankaj Bansal <pankaj.bansal@xxxxxxx> > Cc: Rob Herring <robh+dt@xxxxxxxxxx>; Mark Rutland > <mark.rutland@xxxxxxx>; Stephen Warren <swarren@xxxxxxxxxx>; Geert > Uytterhoeven <geert+renesas@xxxxxxxxx>; open list:OPEN FIRMWARE AND > FLATTENED DEVICE TREE BINDINGS <devicetree@xxxxxxxxxxxxxxx>; Varun Sethi > <V.Sethi@xxxxxxx>; Udit Kumar <udit.kumar@xxxxxxx>; Leo Li > <leoyang.li@xxxxxxx> > Subject: Re: using interrupt controller dt-bindings macros in Non GPL dts files > > On Mon, Oct 22, 2018 at 03:48:28AM +0000, Pankaj Bansal wrote: > > Hi All, > > > > I have a query about include/dt-bindings/interrupt-controller/irq.h and > include/dt-bindings/interrupt-controller/arm-gic.h files. > > I would like to use these header files in NON-GPL (X11 Licensed) dts/dtsi files, > to use the macros defined in these header files in our dts/dtsi files. > > > > 1. Does including the GPL header files for macros (NON executable code) in > NON-GPL files, causes the license of NON-GPL file to be contaminated with GPL > code? > > Why are you asking developers legal questions? Would you ask us medical > questions as well? :) > > Seriously, go talk to your corporate lawyers, they know the answers to this, it's > not very complex. My apologies. I will clear this question with our legal team. Meanwhile, can you (or copyright owner of irq.h, arm-gic.h (don't know who)) answer my second question? 2. Would it be possible for the copyright owners of these header files to make these files dual licensed, so that we are able to use these files in our dts/dtsi files? If some non-copyleft license can be added to these files, then I can happily use these files in our dts/dtsi > > thanks, > > greg k-h