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 4/4] ARM: bcm2835: Use pinctrl header
Date: Wed, 25 Feb 2015 14:22:23 +0000 [thread overview]
Message-ID: <20150225142222.GA4641@x1> (raw)
In-Reply-To: <1422555050-28509-5-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
On Thu, 29 Jan 2015, Stefan Wahren wrote:
> This patch converts all bcm2835 dts and dtsi files to use the pinctrl
> header file.
>
> Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
> ---
> arch/arm/boot/dts/bcm2835-rpi-b-plus.dts | 4 ++--
> arch/arm/boot/dts/bcm2835-rpi-b.dts | 4 ++--
> arch/arm/boot/dts/bcm2835-rpi.dtsi | 8 ++++----
> arch/arm/boot/dts/bcm2835.dtsi | 3 ++-
> 4 files changed, 10 insertions(+), 9 deletions(-)
Applied with Rob's Ack.
NB: And Stephen's for the set.
> diff --git a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
> index e479515..668442b 100644
> --- a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
> +++ b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
> @@ -1,5 +1,5 @@
> /dts-v1/;
> -/include/ "bcm2835-rpi.dtsi"
> +#include "bcm2835-rpi.dtsi"
>
> / {
> compatible = "raspberrypi,model-b-plus", "brcm,bcm2835";
> @@ -25,6 +25,6 @@
> /* I2S interface */
> i2s_alt0: i2s_alt0 {
> brcm,pins = <18 19 20 21>;
> - brcm,function = <4>; /* alt0 */
> + brcm,function = <BCM2835_FSEL_ALT0>;
> };
> };
> diff --git a/arch/arm/boot/dts/bcm2835-rpi-b.dts b/arch/arm/boot/dts/bcm2835-rpi-b.dts
> index bafa46f..ee89b79 100644
> --- a/arch/arm/boot/dts/bcm2835-rpi-b.dts
> +++ b/arch/arm/boot/dts/bcm2835-rpi-b.dts
> @@ -1,5 +1,5 @@
> /dts-v1/;
> -/include/ "bcm2835-rpi.dtsi"
> +#include "bcm2835-rpi.dtsi"
>
> / {
> compatible = "raspberrypi,model-b", "brcm,bcm2835";
> @@ -18,6 +18,6 @@
> /* I2S interface */
> i2s_alt2: i2s_alt2 {
> brcm,pins = <28 29 30 31>;
> - brcm,function = <6>; /* alt2 */
> + brcm,function = <BCM2835_FSEL_ALT2>;
> };
> };
> diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
> index c706448..46780bb 100644
> --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
> +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
> @@ -1,4 +1,4 @@
> -/include/ "bcm2835.dtsi"
> +#include "bcm2835.dtsi"
>
> / {
> memory {
> @@ -21,17 +21,17 @@
>
> gpioout: gpioout {
> brcm,pins = <6>;
> - brcm,function = <1>; /* GPIO out */
> + brcm,function = <BCM2835_FSEL_GPIO_OUT>;
> };
>
> alt0: alt0 {
> brcm,pins = <0 1 2 3 4 5 7 8 9 10 11 14 15 40 45>;
> - brcm,function = <4>; /* alt0 */
> + brcm,function = <BCM2835_FSEL_ALT0>;
> };
>
> alt3: alt3 {
> brcm,pins = <48 49 50 51 52 53>;
> - brcm,function = <7>; /* alt3 */
> + brcm,function = <BCM2835_FSEL_ALT3>;
> };
> };
>
> diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi
> index 3342cb1..be9c914 100644
> --- a/arch/arm/boot/dts/bcm2835.dtsi
> +++ b/arch/arm/boot/dts/bcm2835.dtsi
> @@ -1,4 +1,5 @@
> -/include/ "skeleton.dtsi"
> +#include <dt-bindings/pinctrl/bcm2835.h>
> +#include "skeleton.dtsi"
>
> / {
> compatible = "brcm,bcm2835";
--
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:22 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
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 [this message]
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=20150225142222.GA4641@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).