From: Karsten Merker <merker-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
To: Maxime Ripard
<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
Siarhei Siamashka
<siarhei.siamashka-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
Karsten Merker <merker-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
Subject: [RFC PATCH V3] ARM: dts: sun6i: Add dts file for MSI Primo81 tablet
Date: Tue, 16 Jun 2015 21:11:08 +0200 [thread overview]
Message-ID: <1434481869-9432-1-git-send-email-merker@debian.org> (raw)
In-Reply-To: <20150616094026.GG11732@lukather>
In-Reply-To: <20150616094026.GG11732@lukather>
On Tue, Jun 16, 2015 at 11:40:27AM +0200, Maxime Ripard wrote:
> What I meant in my previous review was to use the syntax
>
> &uart0 {
> some-property;
> };
>
> Instead of duplicating the tree structure like you're doing
> here. We've converted all the DT to that, so you can look around and
> see how it's done in other boards (note that the nodes should be
> sorted by alphabetical order).
Ah, sorry, I had misunderstood your original email in this regard.
Following is a reworked version of the patch.
Changelog:
Version 1
=========
- Original patch by Siarhei Siamashka
Version 2
=========
- Use symbolic instead of numeric pinctrl values.
- Change the include syntax from /include/ to #include to make
the dts build with current kernels.
Version 3
=========
- Use labels for nodes with modifications in relation to the dtsi
instead of replicating the tree structure.
- Remove the FSF address from the license header as done in
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/340437.html
for the other dts files to remove a checkpatch warning.
- Add msi to the vendor prefix list.
- Remove earlyprintk from the default kernel commandline.
- Replace the console kernel commandline parameter by a
/chosen/stdout-path node and add an alias serial0 -> uart0.
I have tagged this patch RFC as I am unsure what to do with the
/chosen/stdout-path node. For now, I have set Siarhei's original
choice (first serial port), but I am unsure whether this is the
right thing to do as the Primo81 does by default not have a
user-accessible serial port. The only way to get a serial
console is to either break the case open and find some test
points that carry the RX/TX lines (which with the Primo81 case
poses a high risk of breaking the display glass), or to use an SD
card breakout board and change the pinmuxing for the SD card pins
to the "serial" function. The latter would not work without
modifying the dts, so the SD-breakout case doesn't really count
for setting the default stdout-path in the general use case.
On the other hand, setting stdout-path to the serial port does
not seem to influence getting a a boot console on the LCD when
booting from a simplefb-capable u-boot, so there is probably no
harm in doing it.
Comments welcome :-).
Regards,
Karsten
--
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2015-06-16 19:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-27 7:37 [PATCH 1/2] ARM: dts: sun6i: Add dts file for MSI Primo81 tablet Siarhei Siamashka
[not found] ` <1419665841-22629-1-git-send-email-siarhei.siamashka-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-12-27 7:37 ` [PATCH 2/2] ARM: dts: sun7i: Add dts file for MSI Primo73 tablet Siarhei Siamashka
2015-01-08 9:52 ` [PATCH 1/2] ARM: dts: sun6i: Add dts file for MSI Primo81 tablet Maxime Ripard
2015-06-14 18:55 ` [PATCH V2] " Karsten Merker
[not found] ` <1434308106-27704-1-git-send-email-merker-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2015-06-14 18:55 ` Karsten Merker
[not found] ` <1434308106-27704-2-git-send-email-merker-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2015-06-16 9:40 ` Maxime Ripard
2015-06-16 19:11 ` Karsten Merker [this message]
[not found] ` <1434481869-9432-1-git-send-email-merker-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2015-06-16 19:11 ` [RFC PATCH V3] " Karsten Merker
2015-06-18 11:58 ` Maxime Ripard
2015-06-23 17:02 ` [PATCH V4 0/2] MSI Primo 81 dts Karsten Merker
[not found] ` <1435078949-3383-1-git-send-email-merker-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2015-06-23 17:02 ` [PATCH V4 1/2] ARM: dts: sun6i: Add dts file for MSI Primo81 tablet Karsten Merker
[not found] ` <1435078949-3383-2-git-send-email-merker-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2015-06-25 10:44 ` Maxime Ripard
[not found] ` <20150625172219.GA1773@excalibur.cnev.de>
[not found] ` <20150625172219.GA1773-Hlt6eto4P0pdWf7zwHaZWbNAH6kLmebB@public.gmane.org>
2015-06-28 20:25 ` Maxime Ripard
2015-06-23 17:02 ` [PATCH V4 2/2] devicetree: Add msi to the vendor-prefix list Karsten Merker
[not found] ` <1435078949-3383-3-git-send-email-merker-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2015-06-25 10:42 ` Maxime Ripard
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=1434481869-9432-1-git-send-email-merker@debian.org \
--to=merker-8fiuurrzop0dnm+yrofe0a@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
--cc=siarhei.siamashka-Re5JQEeQqe8AvxtiuMwx3w@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).