From mboxrd@z Thu Jan 1 00:00:00 1970 From: j.anaszewski@samsung.com (Jacek Anaszewski) Date: Thu, 28 Jul 2016 12:26:31 +0200 Subject: Sample led driver dts file In-Reply-To: References: Message-ID: <5799DDD7.8010103@samsung.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On 07/28/2016 12:03 PM, Raul Piper wrote: > Hi, > Can any one please send me the sample led driver dts file.I tried the > sample from the /documentation/devicetree/bindings/leds/ but These are documentation files. Have you tried to check the build instruction I mentioned in the previous reply? > I am getting some parsing error from the dtc compiler. > is "#" required while including the .dtsi file inside the dts while > referring any include files. Yes, it is. Please refer to the files in e.g. arch/arm/boot/dts. > Also can we dynamically buil teh dts file and push/copy it to kernel? > Reboot required? Please direct your DT related questions to devicetree at vger.kernel.org. -- Best regards, Jacek Anaszewski From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacek Anaszewski Subject: Re: Sample led driver dts file Date: Thu, 28 Jul 2016 12:26:31 +0200 Message-ID: <5799DDD7.8010103@samsung.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailout3.w1.samsung.com ([210.118.77.13]:44312 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752686AbcG1K0g (ORCPT ); Thu, 28 Jul 2016 06:26:36 -0400 In-reply-to: Sender: linux-leds-owner@vger.kernel.org List-Id: linux-leds@vger.kernel.org To: Raul Piper Cc: kernelnewbies , linux-leds@vger.kernel.org, "devicetree@vger.kernel.org" On 07/28/2016 12:03 PM, Raul Piper wrote: > Hi, > Can any one please send me the sample led driver dts file.I tried the > sample from the /documentation/devicetree/bindings/leds/ but These are documentation files. Have you tried to check the build instruction I mentioned in the previous reply? > I am getting some parsing error from the dtc compiler. > is "#" required while including the .dtsi file inside the dts while > referring any include files. Yes, it is. Please refer to the files in e.g. arch/arm/boot/dts. > Also can we dynamically buil teh dts file and push/copy it to kernel? > Reboot required? Please direct your DT related questions to devicetree@vger.kernel.org. -- Best regards, Jacek Anaszewski