From: afaerber@suse.de (Andreas Färber)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: dts: create an include directory for DT bindings
Date: Tue, 11 Nov 2014 15:51:14 +0100 [thread overview]
Message-ID: <54622262.2010200@suse.de> (raw)
In-Reply-To: <1415712108-11352-1-git-send-email-bintian.wang@huawei.com>
Hi,
Am 11.11.2014 um 14:21 schrieb Bintian Wang:
> Some header files may be used by both DT files and kernel, and we
> usually put them under <include/dt-bindings/>, and also include them
> in DT files just like:
> #include <dt-bindings/xxx/xxx.h>
> for exaple, some clock header files.
>
> On arm64 platform, the compiler will report an error and terminate
> when compiling DT files:
> dt-bindings/xxx/xxx.h: No such file or directory
>
> In order to fix the compile error, create an include directory and symlink
> dt-bindings from there to the actual location of include/dt-bindings/:
>
> arch/arm64/boot/dts/include/dt-bindings -> ../../../../../include/dt-bindings
>
> Signed-off-by: Bintian Wang <bintian.wang@huawei.com>
> ---
> arch/arm64/boot/dts/include/dt-bindings | 1 +
> 1 file changed, 1 insertion(+)
> create mode 120000 arch/arm64/boot/dts/include/dt-bindings
>
> diff --git a/arch/arm64/boot/dts/include/dt-bindings b/arch/arm64/boot/dts/include/dt-bindings
> new file mode 120000
> index 0000000..08c00e4
> --- /dev/null
> +++ b/arch/arm64/boot/dts/include/dt-bindings
> @@ -0,0 +1 @@
> +../../../../../include/dt-bindings
> \ No newline at end of file
Such a patch was already on the list for the Juno board.
Regards,
Andreas
--
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imend?rffer; HRB 21284 AG N?rnberg
WARNING: multiple messages have this Message-ID (diff)
From: "Andreas Färber" <afaerber-l3A5Bk7waGM@public.gmane.org>
To: Bintian Wang <bintian.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
pawel.moll-5wv7dgnIgG8@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org,
galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
catalin.marinas-5wv7dgnIgG8@public.gmane.org,
will.deacon-5wv7dgnIgG8@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
huxinwei-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
haojian.zhuang-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
Liviu Dudau <liviu.dudau-5wv7dgnIgG8@public.gmane.org>
Subject: Re: [PATCH] arm64: dts: create an include directory for DT bindings
Date: Tue, 11 Nov 2014 15:51:14 +0100 [thread overview]
Message-ID: <54622262.2010200@suse.de> (raw)
In-Reply-To: <1415712108-11352-1-git-send-email-bintian.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
Hi,
Am 11.11.2014 um 14:21 schrieb Bintian Wang:
> Some header files may be used by both DT files and kernel, and we
> usually put them under <include/dt-bindings/>, and also include them
> in DT files just like:
> #include <dt-bindings/xxx/xxx.h>
> for exaple, some clock header files.
>
> On arm64 platform, the compiler will report an error and terminate
> when compiling DT files:
> dt-bindings/xxx/xxx.h: No such file or directory
>
> In order to fix the compile error, create an include directory and symlink
> dt-bindings from there to the actual location of include/dt-bindings/:
>
> arch/arm64/boot/dts/include/dt-bindings -> ../../../../../include/dt-bindings
>
> Signed-off-by: Bintian Wang <bintian.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
> ---
> arch/arm64/boot/dts/include/dt-bindings | 1 +
> 1 file changed, 1 insertion(+)
> create mode 120000 arch/arm64/boot/dts/include/dt-bindings
>
> diff --git a/arch/arm64/boot/dts/include/dt-bindings b/arch/arm64/boot/dts/include/dt-bindings
> new file mode 120000
> index 0000000..08c00e4
> --- /dev/null
> +++ b/arch/arm64/boot/dts/include/dt-bindings
> @@ -0,0 +1 @@
> +../../../../../include/dt-bindings
> \ No newline at end of file
Such a patch was already on the list for the Juno board.
Regards,
Andreas
--
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 21284 AG Nürnberg
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-11-11 14:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-11 13:21 [PATCH] arm64: dts: create an include directory for DT bindings Bintian Wang
2014-11-11 13:21 ` Bintian Wang
2014-11-11 14:51 ` Andreas Färber [this message]
2014-11-11 14:51 ` Andreas Färber
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=54622262.2010200@suse.de \
--to=afaerber@suse.de \
--cc=linux-arm-kernel@lists.infradead.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.