From: Lee Jones <lee-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
Cc: swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH V2 RESEND 3/4] ARM: bcm2835: Add header file for pinctrl constants
Date: Wed, 25 Feb 2015 14:21:48 +0000 [thread overview]
Message-ID: <20150225142148.GM21323@x1> (raw)
In-Reply-To: <1422555050-28509-4-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
On Thu, 29 Jan 2015, Stefan Wahren wrote:
> This new header file defines pincontrol constants to use
> from bcm2835 DTS files for pincontrol properties option.
>
> Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
> ---
> include/dt-bindings/pinctrl/bcm2835.h | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
> create mode 100644 include/dt-bindings/pinctrl/bcm2835.h
Applied with Rob's Ack.
NB: And Stephen's for the set.
> diff --git a/include/dt-bindings/pinctrl/bcm2835.h b/include/dt-bindings/pinctrl/bcm2835.h
> new file mode 100644
> index 0000000..6f0bc37
> --- /dev/null
> +++ b/include/dt-bindings/pinctrl/bcm2835.h
> @@ -0,0 +1,27 @@
> +/*
> + * Header providing constants for bcm2835 pinctrl bindings.
> + *
> + * Copyright (C) 2015 Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
> + *
> + * The code contained herein is licensed under the GNU General Public
> + * License. You may obtain a copy of the GNU General Public License
> + * Version 2 at the following locations:
> + *
> + * http://www.opensource.org/licenses/gpl-license.html
> + * http://www.gnu.org/copyleft/gpl.html
> + */
> +
> +#ifndef __DT_BINDINGS_PINCTRL_BCM2835_H__
> +#define __DT_BINDINGS_PINCTRL_BCM2835_H__
> +
> +/* brcm,function property */
> +#define BCM2835_FSEL_GPIO_IN 0
> +#define BCM2835_FSEL_GPIO_OUT 1
> +#define BCM2835_FSEL_ALT5 2
> +#define BCM2835_FSEL_ALT4 3
> +#define BCM2835_FSEL_ALT0 4
> +#define BCM2835_FSEL_ALT1 5
> +#define BCM2835_FSEL_ALT2 6
> +#define BCM2835_FSEL_ALT3 7
> +
> +#endif /* __DT_BINDINGS_PINCTRL_BCM2835_H__ */
--
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:[~2015-02-25 14:21 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-29 18:10 [PATCH V2 RESEND 0/4] ARM: bcm2835: DT improvements Stefan Wahren
[not found] ` <1422555050-28509-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2015-01-29 18:10 ` [PATCH V2 RESEND 1/4] dt-bindings: Add vendor prefix for Raspberry Pi Stefan Wahren
[not found] ` <1422555050-28509-2-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2015-02-25 14:20 ` Lee Jones
2015-01-29 18:10 ` [PATCH V2 RESEND 2/4] dt-bindings: Add root properties " Stefan Wahren
[not found] ` <1422555050-28509-3-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2015-02-25 14:20 ` Lee Jones
2015-01-29 18:10 ` [PATCH V2 RESEND 3/4] ARM: bcm2835: Add header file for pinctrl constants Stefan Wahren
[not found] ` <1422555050-28509-4-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2015-02-25 14:21 ` Lee Jones [this message]
2015-01-29 18:10 ` [PATCH V2 RESEND 4/4] ARM: bcm2835: Use pinctrl header Stefan Wahren
[not found] ` <1422555050-28509-5-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2015-02-09 18:09 ` Stephen Warren
[not found] ` <54D8F7EE.2060607-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-02-21 11:39 ` Stefan Wahren
[not found] ` <570054632.932648.1424518777174.JavaMail.open-xchange-h4m1HHXQYNFuz1KIG1bTI8gmgJlYmuWJ@public.gmane.org>
2015-02-23 19:09 ` Stephen Warren
[not found] ` <54EB7AF3.7030004-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-02-25 14:17 ` Lee Jones
2015-02-25 14:22 ` Lee Jones
2015-02-04 2:47 ` [PATCH V2 RESEND 0/4] ARM: bcm2835: DT improvements Rob Herring
[not found] ` <CAL_JsqJubTomhUPbBck_cBJoiL2tuDRv++tANoLtBidmSdxUYQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-04 7:27 ` Stefan Wahren
2015-02-04 16:51 ` Stephen Warren
2015-04-21 23:20 ` Rob Herring
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=20150225142148.GM21323@x1 \
--to=lee-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=stefan.wahren-eS4NqCHxEME@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).