From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 22 Oct 2018 09:29:06 +0100 From: Greg Kroah-Hartman Subject: Re: using interrupt controller dt-bindings macros in Non GPL dts files Message-ID: <20181022082906.GE7068@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: Pankaj Bansal Cc: Rob Herring , Mark Rutland , Stephen Warren , Geert Uytterhoeven , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Varun Sethi , Udit Kumar , Leo Li List-ID: 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. thanks, greg k-h