* [PATCH 2/4 V2] dt-bindings: Add root properties for Raspberry Pi @ 2015-01-19 11:00 Stefan Wahren [not found] ` <1421665231-28221-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Stefan Wahren @ 2015-01-19 11:00 UTC (permalink / raw) To: swarren-3lzwWm7+Weoh9ZMKESR00Q, lee-DgEjT+Ai2ygdnm+yROfE0A, linux-lFZ/pmaqli7XmaaqVzeoHQ, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r This patch adds root compatible properties for the following boards: - Raspberry Pi Model A - Raspberry Pi Model A+ - Raspberry Pi Model B - Raspberry Pi Model B (no P5) - Raspberry Pi Model B rev2 - Raspberry Pi Model B+ - Raspberry Pi Compute Module Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> --- Changes in V2: - add all currently known Raspberry Pi boards as suggested by Stephen Warren Documentation/devicetree/bindings/arm/bcm2835.txt | 31 +++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/bcm2835.txt b/Documentation/devicetree/bindings/arm/bcm2835.txt index ac68348..c78576b 100644 --- a/Documentation/devicetree/bindings/arm/bcm2835.txt +++ b/Documentation/devicetree/bindings/arm/bcm2835.txt @@ -1,8 +1,35 @@ Broadcom BCM2835 device tree bindings ------------------------------------------- -Boards with the BCM2835 SoC shall have the following properties: +Raspberry Pi Model A +Required root node properties: +compatible = "raspberrypi,model-a", "brcm,bcm2835"; -Required root node property: +Raspberry Pi Model A+ +Required root node properties: +compatible = "raspberrypi,model-a-plus", "brcm,bcm2835"; +Raspberry Pi Model B +Required root node properties: +compatible = "raspberrypi,model-b", "brcm,bcm2835"; + +Raspberry Pi Model B (no P5) +early model B with I2C0 rather than I2C1 routed to the expansion header +Required root node properties: +compatible = "raspberrypi,model-b-i2c0", "brcm,bcm2835"; + +Raspberry Pi Model B rev2 +Required root node properties: +compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835"; + +Raspberry Pi Model B+ +Required root node properties: +compatible = "raspberrypi,model-b-plus", "brcm,bcm2835"; + +Raspberry Pi Compute Module +Required root node properties: +compatible = "raspberrypi,compute-module", "brcm,bcm2835"; + +Generic BCM2835 board +Required root node properties: compatible = "brcm,bcm2835"; -- 1.7.9.5 -- 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 ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <1421665231-28221-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>]
* Re: [PATCH 2/4 V2] dt-bindings: Add root properties for Raspberry Pi [not found] ` <1421665231-28221-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org> @ 2015-01-19 17:13 ` Stephen Warren 2015-01-19 19:01 ` Stefan Wahren 0 siblings, 1 reply; 4+ messages in thread From: Stephen Warren @ 2015-01-19 17:13 UTC (permalink / raw) To: Stefan Wahren, lee-DgEjT+Ai2ygdnm+yROfE0A, linux-lFZ/pmaqli7XmaaqVzeoHQ, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On 01/19/2015 04:00 AM, Stefan Wahren wrote: > This patch adds root compatible properties for the following boards: > - Raspberry Pi Model A > - Raspberry Pi Model A+ > - Raspberry Pi Model B > - Raspberry Pi Model B (no P5) > - Raspberry Pi Model B rev2 > - Raspberry Pi Model B+ > - Raspberry Pi Compute Module Acked-by: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> This seems sane to me. One thing I should have asked: What compatible values does the RPi Foundation's downstream for all these cases? Aligning with that would be nice if possible. -- 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/4 V2] dt-bindings: Add root properties for Raspberry Pi 2015-01-19 17:13 ` Stephen Warren @ 2015-01-19 19:01 ` Stefan Wahren 2015-02-09 18:06 ` Stephen Warren 0 siblings, 1 reply; 4+ messages in thread From: Stefan Wahren @ 2015-01-19 19:01 UTC (permalink / raw) To: Stephen Warren Cc: linux-kernel, linux-rpi-kernel, devicetree, lee, pawel.moll, linux, robh+dt, ijc+devicetree, galak, mark.rutland Hi Stephen, > Stephen Warren <swarren@wwwdotorg.org> hat am 19. Januar 2015 um 18:13 > geschrieben: > > > On 01/19/2015 04:00 AM, Stefan Wahren wrote: > > This patch adds root compatible properties for the following boards: > > - Raspberry Pi Model A > > - Raspberry Pi Model A+ > > - Raspberry Pi Model B > > - Raspberry Pi Model B (no P5) > > - Raspberry Pi Model B rev2 > > - Raspberry Pi Model B+ > > - Raspberry Pi Compute Module > > Acked-by: Stephen Warren <swarren@wwwdotorg.org> > > This seems sane to me. One thing I should have asked: What compatible > values does the RPi Foundation's downstream for all these cases? good point. Unfortunately my patches to linux-rpi-kernel are held back because of too many recipients, so it's possible that someone complain later. I have looked at chapter 3.1 in [1], but didn't find the any other variants than B and B+: Here, the presence or absence of the "-plus" is the significant thing, not the "b" -- Model A's and A+'s will use the "b" and "b-plus" variants, respectively. Also in the newest branch [2]: bcm2835-rpi-b.dts -> model = Raspberry Pi Model B bcm2708-rpi-b.dts -> model = Raspberry Pi Model B bcm2708-rpi-b-plus.dts -> model = Raspberry Pi Model B+ Sorry, i don't have any experience with the downstream kernel. So please correct me if looked at the wrong places. [1] - https://github.com/raspberrypi/documentation/blob/master/configuration/device-tree.md [2] - https://github.com/raspberrypi/linux/tree/rpi-3.18.y/ > Aligning with that would be nice if possible. Stefan ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/4 V2] dt-bindings: Add root properties for Raspberry Pi 2015-01-19 19:01 ` Stefan Wahren @ 2015-02-09 18:06 ` Stephen Warren 0 siblings, 0 replies; 4+ messages in thread From: Stephen Warren @ 2015-02-09 18:06 UTC (permalink / raw) To: Stefan Wahren Cc: linux-kernel, linux-rpi-kernel, devicetree, lee, pawel.moll, linux, robh+dt, ijc+devicetree, galak, mark.rutland On 01/19/2015 12:01 PM, Stefan Wahren wrote: > Hi Stephen, > >> Stephen Warren <swarren@wwwdotorg.org> hat am 19. Januar 2015 um 18:13 >> geschrieben: >> >> >> On 01/19/2015 04:00 AM, Stefan Wahren wrote: >>> This patch adds root compatible properties for the following boards: >>> - Raspberry Pi Model A >>> - Raspberry Pi Model A+ >>> - Raspberry Pi Model B >>> - Raspberry Pi Model B (no P5) >>> - Raspberry Pi Model B rev2 >>> - Raspberry Pi Model B+ >>> - Raspberry Pi Compute Module >> >> Acked-by: Stephen Warren <swarren@wwwdotorg.org> >> >> This seems sane to me. One thing I should have asked: What compatible >> values does the RPi Foundation's downstream for all these cases? > > good point. Unfortunately my patches to linux-rpi-kernel are held back because > of too many recipients, so it's possible that someone complain later. > > I have looked at chapter 3.1 in [1], but didn't find the any other variants than > B and B+: > > Here, the presence or absence of the "-plus" is the significant thing, not the > "b" -- Model A's and A+'s will > use the "b" and "b-plus" variants, respectively. > > Also in the newest branch [2]: > > bcm2835-rpi-b.dts -> model = Raspberry Pi Model B > bcm2708-rpi-b.dts -> model = Raspberry Pi Model B > bcm2708-rpi-b-plus.dts -> model = Raspberry Pi Model B+ > > Sorry, i don't have any experience with the downstream kernel. So please correct > me if looked at the wrong places. > > [1] - > https://github.com/raspberrypi/documentation/blob/master/configuration/device-tree.md > [2] - https://github.com/raspberrypi/linux/tree/rpi-3.18.y/ This all matches what I found. I think differentiating between A/B and A+/B+ makes sense, so the compatible values in your patch should be fine; I'll reply to v2 in just a minute. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-02-09 18:06 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-01-19 11:00 [PATCH 2/4 V2] dt-bindings: Add root properties for Raspberry Pi Stefan Wahren [not found] ` <1421665231-28221-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org> 2015-01-19 17:13 ` Stephen Warren 2015-01-19 19:01 ` Stefan Wahren 2015-02-09 18:06 ` Stephen Warren
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).