All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Hunter <jon-hunter-l0cyMroinI0@public.gmane.org>
To: Padma Venkat <padma.kvr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
	<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
	Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Sylwester Nawrocki
	<s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Subject: Re: Regarding dtc+cpp support
Date: Thu, 18 Apr 2013 11:57:48 -0500	[thread overview]
Message-ID: <5170260C.4000700@ti.com> (raw)
In-Reply-To: <CAAgF-BefLWjRz3TXb6ESVQVA1Xno-z-WW2QVg6pNa+6_YW7AUg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


On 04/18/2013 11:21 AM, Padma Venkat wrote:
> Hi,
> 
> On Thu, Apr 18, 2013 at 8:19 PM, Jon Hunter <jon-hunter-l0cyMroinI0@public.gmane.org> wrote:
>>
>> On 04/18/2013 04:12 AM, Padma Venkat wrote:
>>> Hi Stephen,
>>>
>>> I am trying to add a header file for samsung audio subsystem clk
>>> definitions, which can be used in kernel and dt files.
>>> I applied following patches posted by you in my working tree.
>>>
>>>
>>> [1/7] kbuild: create an "include chroot" for DT bindings
>>> [2/7] kbuild: fixdep: support concatenated dep files
>>> [3/7] kbuild: cmd_dtc_cpp: extract deps from both gcc -E and dtc
>>> [4/7] kbuild: always run gcc -E on *.dts, remove cmd_dtc_cpp
>>> [5/7] ARM: dt: add header to define GPIO flags
>>> [6/7] ARM: dt: add header to define IRQ flags
>>> [7/7] ARM: dt: create a DT header for the GIC
>>>
>>> I created a header file in
>>> arch/arm/boot/dts/include/clk/samsung-audss-clk.h and I included this
>>> header in driver and dtsi files
>>>
>>> Please see the code snippet in dtsi below.
>>>
>>> #include <dt-bindings/clk/samsung-audss-clk.h>
>>> /include/ "skeleton.dtsi"
>>> /include/ "exynos5250-pinctrl.dtsi
>>
>> Try making all of the above "#include" ...
> 
> I haven't changed all dts files but I tried below with no success.

I should mentioned that you should also make any /include/ in the *.dtsi
above #include too.

Cheers
Jon

  parent reply	other threads:[~2013-04-18 16:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-18  9:12 Regarding dtc+cpp support Padma Venkat
     [not found] ` <CAAgF-BeFKxK4=myPjHHWt9VxsyYQFen8c5c_9mQkbPo3n1oqJw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-18 14:49   ` Jon Hunter
     [not found]     ` <517007F6.3010107-l0cyMroinI0@public.gmane.org>
2013-04-18 16:21       ` Padma Venkat
     [not found]         ` <CAAgF-BefLWjRz3TXb6ESVQVA1Xno-z-WW2QVg6pNa+6_YW7AUg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-18 16:57           ` Jon Hunter [this message]
     [not found]             ` <5170260C.4000700-l0cyMroinI0@public.gmane.org>
2013-04-19  5:56               ` Padma Venkat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5170260C.4000700@ti.com \
    --to=jon-hunter-l0cymroini0@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=padma.kvr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.