From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Lubomir Rintel <lkundrak-NGH9Lh4a5iE@public.gmane.org>
Cc: linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Eric Anholt <eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>,
Lee Jones <lee-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 3/3] ARM: bcm2835: dt: Add Raspberry Pi Model A+
Date: Tue, 20 Oct 2015 20:20:19 -0600 [thread overview]
Message-ID: <5626F663.1050609@wwwdotorg.org> (raw)
In-Reply-To: <1444592237-12433-3-git-send-email-lkundrak-NGH9Lh4a5iE@public.gmane.org>
On 10/11/2015 01:37 PM, Lubomir Rintel wrote:
> Essentially the same as B+.
(It'd be good practice to CC RPi patches to the ARM kernel mailing list too)
> diff --git a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
> + leds {
> + act {
> + gpios = <&gpio 47 0>;
> + };
> +
> + pwr {
> + label = "PWR";
> + gpios = <&gpio 35 0>;
> + default-state = "keep";
> + linux,default-trigger = "default-on";
> + };
> + };
Since the A+ and B+ are so similar, I wonder if it makes sense to
sometime create a shared "plus" .dtsi file for the shared parts?
Same for the I2S below.
Perhaps the DTs are so simple that it's a waste of complexity to do that
though.
Out of curiosity, are you planning on creating DT files for all the
possible options:
"bcm2835-rpi-a.dtb",
"bcm2835-rpi-a-plus.dtb",
"bcm2835-rpi-b.dtb",
"bcm2835-rpi-b-i2c0.dtb",
"bcm2835-rpi-b-plus.dtb",
"bcm2835-rpi-b-rev2.dtb",
"bcm2835-rpi-cm.dtb",
"bcm2836-rpi-2-b.dtb",
(list taken from U-Boot's board/raspberrypi/rpi/rpi.c)
--
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-10-21 2:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-11 19:37 [PATCH 1/3] ARM: bcm2835: dt: Raspberry Pi Model B had no I2S Lubomir Rintel
[not found] ` <1444592237-12433-1-git-send-email-lkundrak-NGH9Lh4a5iE@public.gmane.org>
2015-10-11 19:37 ` [PATCH 2/3] ARM: bcm2835: dt: Add Raspberry Pi Model B rev2 Lubomir Rintel
2015-10-11 19:37 ` [PATCH 3/3] ARM: bcm2835: dt: Add Raspberry Pi Model A+ Lubomir Rintel
[not found] ` <1444592237-12433-3-git-send-email-lkundrak-NGH9Lh4a5iE@public.gmane.org>
2015-10-21 2:20 ` Stephen Warren [this message]
2015-10-15 0:24 ` [PATCH 1/3] ARM: bcm2835: dt: Raspberry Pi Model B had no I2S Eric Anholt
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=5626F663.1050609@wwwdotorg.org \
--to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org \
--cc=lee-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=lkundrak-NGH9Lh4a5iE@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.